LinkAnJarad / OpenChess-Insights

An open-source chess analysis web app runnable in your local machine powered by Stockfish 16 NNUE.
MIT License
43 stars 13 forks source link

I keep getting an error while analyzing my game. #4

Open MuhekoNikolas opened 8 months ago

MuhekoNikolas commented 8 months ago

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

DrCapaldi007 commented 7 months ago

Ahh I see. So you keep getting an error?

PSkubi commented 5 months ago

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