OpenChess-Insights icon indicating copy to clipboard operation
OpenChess-Insights copied to clipboard

I keep getting an error while analyzing my game.

Open MuhekoNikolas opened this issue 1 year ago • 2 comments

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' "

MuhekoNikolas avatar Mar 10 '24 17:03 MuhekoNikolas

Ahh I see. So you keep getting an error?

DrCapaldi007 avatar Apr 10 '24 08:04 DrCapaldi007

I'm getting the same error. Any way to fix it?

PSkubi avatar Jun 22 '24 15:06 PSkubi