Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ambiguous san #3

Open
Czsaro opened this issue May 12, 2021 · 0 comments
Open

ambiguous san #3

Czsaro opened this issue May 12, 2021 · 0 comments

Comments

@Czsaro
Copy link

Czsaro commented May 12, 2021

It works for a few moves then throws an error about parsing. (xubuntu 20.04)

NOUVELLE PARTIE
fsck86 (854) contre Dusseldorv (997) (5 min)
Non classé
Dusseldorv is black
error during pgn parsing
Traceback (most recent call last):
File "/home/digdog/.local/lib/python3.8/site-packages/chess/pgn.py", line 1651, in read_game
move = visitor.parse_san(board_stack[-1], token)
File "/home/digdog/.local/lib/python3.8/site-packages/chess/pgn.py", line 1032, in parse_san
return board.parse_san(san)
File "/home/digdog/.local/lib/python3.8/site-packages/chess/init.py", line 2986, in parse_san
raise ValueError(f"ambiguous san: {san!r} in {self.fen()}")
ValueError: ambiguous san: 'xd4' in rnbqkbnr/pp1p2pp/5p2/2p1p3/2PPP3/5P2/PP4PP/RNBQKBNR b KQkq - 0 4
error during pgn parsing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant