lucaschessR2 icon indicating copy to clipboard operation
lucaschessR2 copied to clipboard

Trying to run engine tournament but my local rodent 4 keeps ending or something

Open texium opened this issue 9 months ago • 9 comments

2025-02-26 01:31:20.190464 Traceback (most recent call last): File "LucasChessR\bin\LucasR.py", line 45, in File "LucasChessR\bin\Code\Tournaments\RunTournament.py", line 30, in run File "D:\Downloads\Lucas\LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 307, in looking_for_work self.procesa_game() File "D:\Downloads\Lucas\LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 394, in procesa_game while self.state == ST_PAUSE or self.play_next_move(): File "D:\Downloads\Lucas\LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 602, in play_next_move mrm = xrival.play_time_tourney(self.game, time_pending_white, time_pending_black, self.seconds_per_move) File "LucasChessR\bin\Code\Engines\EngineManager.py", line 222, in play_time_tourney File "LucasChessR\bin\Code\Engines\EngineRun.py", line 611, in bestmove_time File "LucasChessR\bin\Code\Engines\EngineRun.py", line 441, in seek_bestmove_time File "LucasChessR\bin\Code\Engines\EngineRun.py", line 374, in work_bestmove File "LucasChessR\bin\Code\Engines\EngineRun.py", line 334, in wait_mrm File "LucasChessR\bin\Code\Engines\EngineRun.py", line 306, in dispatch File "D:\Downloads\Lucas\LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 703, in gui_dispatch self.show_pv(rm.pv, 1) File "D:\Downloads\Lucas\LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 566, in show_pv self.board.show_arrow_mov(pv[:2], pv[2:4], tipo, opacity=opacity / 100) File "LucasChessR\bin\Code\Board\Board.py", line 2004, in show_arrow_mov File "LucasChessR\bin\Code\Board\Board.py", line 1693, in buscaPieza IndexError: string index out of range

texium avatar Feb 26 '25 08:02 texium

The buggy version is not the latest.

lukasmonk avatar Mar 13 '25 16:03 lukasmonk

i updated. every engine tourney returns this in bug after crashing: 2025-03-26 07:19:04.214045 Traceback (most recent call last): File "LucasChessR\bin\LucasR.py", line 44, in File "LucasChessR\bin\Code\Tournaments\RunTournament.py", line 30, in run File "D:\Downloads\Lucas\LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 307, in looking_for_work self.procesa_game() File "D:\Downloads\Lucas\LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 394, in procesa_game while self.state == ST_PAUSE or self.play_next_move(): File "D:\Downloads\Lucas\LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 634, in play_next_move self.move_the_pieces(move.liMovs) File "D:\Downloads\Lucas\LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 833, in move_the_pieces self.board.borraPieza(movim[1]) AttributeError: 'Board' object has no attribute 'borraPieza'

texium avatar Mar 26 '25 14:03 texium

I have not been able to replicate it. I also see from the line numbers that the version you are using is not the latest one.

lukasmonk avatar Mar 26 '25 14:03 lukasmonk

I updated it? I opened, updates to 2.19i then tested and got this

On Wed, Mar 26, 2025, 7:44 AM Lucas @.***> wrote:

I have not been able to replicate it. I also see from the line numbers that the version you are using is not the latest one.

— Reply to this email directly, view it on GitHub https://github.com/lukasmonk/lucaschessR2/issues/186#issuecomment-2754685299, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3MPYSEDDHP4ZGSSZ43YVUL2WKVKJAVCNFSM6AAAAABX4TVGNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJUGY4DKMRZHE . You are receiving this because you authored the thread.Message ID: @.***> [image: lukasmonk]lukasmonk left a comment (lukasmonk/lucaschessR2#186) https://github.com/lukasmonk/lucaschessR2/issues/186#issuecomment-2754685299

I have not been able to replicate it. I also see from the line numbers that the version you are using is not the latest one.

— Reply to this email directly, view it on GitHub https://github.com/lukasmonk/lucaschessR2/issues/186#issuecomment-2754685299, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3MPYSEDDHP4ZGSSZ43YVUL2WKVKJAVCNFSM6AAAAABX4TVGNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJUGY4DKMRZHE . You are receiving this because you authored the thread.Message ID: @.***>

texium avatar Mar 26 '25 17:03 texium

This is current code. I had changed (I don´t know the version), borraPieza->remove_piece

Image

lukasmonk avatar Mar 26 '25 18:03 lukasmonk

hmm maybe updating isnt updating all files changed properly?

texium avatar Mar 27 '25 05:03 texium

Maybe. But WTournamentRun.pyc with current code is included in the latest update.

lukasmonk avatar Mar 27 '25 05:03 lukasmonk

manually replaced all my files with the update file, and things run, however, when using nodes limit in engine tourney: Traceback (most recent call last): File "LucasChessR\bin\LucasR.py", line 44, in File "LucasChessR\bin\Code\Tournaments\RunTournament.py", line 30, in run File "LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 308, in looking_for_work File "LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 402, in procesa_game File "LucasChessR\bin\Code\Tournaments\WTournamentRun.py", line 610, in play_next_move File "LucasChessR\bin\Code\Engines\EngineManager.py", line 261, in play_fixed_tourney TypeError: bestmove_nodes_game() missing 1 required positional argument: 'nodes'

texium avatar Apr 05 '25 01:04 texium

Thanks. Fixed in my development code.

lukasmonk avatar Apr 05 '25 04:04 lukasmonk