OpenChess-Insights
OpenChess-Insights copied to clipboard
I keep getting an error while analyzing my game.
Here is part of the error:
"
File "C:\Users\13nik\Documents\vscode\chessAnylysisV3\Python\Dependecies\OpenChess\chess_review.py", line 1393, in review_move
if move_captures_higher_piece(board, move):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\13nik\Documents\vscode\chessAnylysisV3\Python\Dependecies\OpenChess\chess_review.py", line 1038, in move_captures_higher_piece
if board.piece_type_at(move.from_square) < board.piece_type_at(move.to_square):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'int' and 'NoneType'
"
Ahh I see. So you keep getting an error?
I'm getting the same error. Any way to fix it?