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
'move' referenced before assignment #382
Comments
Another error triggered when Stockfish played (it seems that a white move is tried with a board set for black to move). Note that many games are ok, and exceptions are raised in 1/10th of them.
|
I do thank you for your work, which eases a lot chess development. I don't give up. When running games between engines, ponder is off for both engines. |
Small update: I set up a script to run test games, but so far I have failed to reproduce #382 (comment). Surprising, because UciProtocol is the simpler of the two implementations, and there are not many paths it could take. Any other information that could help reproducing this? A script that triggers it, even after many games, would be great. I'll keep trying either way ... |
I will run games UCI vs xboard 24/7 (on a Raspberry Pi). So far, no more crashes. I set a method to be able to reproduce a scenario in case an error occurs again. |
I set some code to get the context of the game in case of a crash, but I played 200 games with no crash, so I close this issue until I encounter another problem. |
I got that error :
In the code below :
I wonder why after a ValueError in move, PlayResult is still called, given that move is not assigned.
The text was updated successfully, but these errors were encountered: