You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing this pgn with python-chess gives this error:
File "/usr/local/lib/python3.10/dist-packages/chess/pgn.py", line 1685, in read_game
move = visitor.parse_san(board_stack[-1], token)
File "/usr/local/lib/python3.10/dist-packages/chess/pgn.py", line 1059, in parse_san
return board.parse_san(san)
File "/usr/local/lib/python3.10/dist-packages/chess/__init__.py", line 3057, in parse_san
raise AmbiguousMoveError(f"ambiguous san: {san!r} in {self.fen()}")
chess.AmbiguousMoveError: ambiguous san: 'Nec3' in 8/8/6K1/4k3/4N3/p4r2/N3N3/8 w - - 3 82
Original source of game 1 has error ambiguous san: 'Nec3' in 8/8/6K1/4k3/4N3/p4r2/N3N3/8 w - - 3 82.
The text was updated successfully, but these errors were encountered:
I guess once fixed the following FEN could be a useful test case, with checks whether each knight moving to c3 is encoded correctly in SAN: 8/8/6K1/4k3/N3N3/p4r2/N3N3/8 w - - 3 82. (Together with the original FEN with just 3 knights possibly moving to c3).
This game was part of a pgn created by fastchess on fishtest. I assume the culprit is in chess-library.
Parsing this pgn with python-chess gives this error:
The text was updated successfully, but these errors were encountered: