lucaschessR2 icon indicating copy to clipboard operation
lucaschessR2 copied to clipboard

Mass analysis stop working, first observed in version 2.21-FP-R

Open ne0zer0 opened this issue 1 month ago • 3 comments

First observed in version Lucas Chess 2.21-FP-R, we can no more do mass analysis.

The following error is in ./bin/bug.log:

Traceback (most recent call last):
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Databases/WDB_Games.py", line 1144, in tw_utilities
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Databases/WDB_Games.py", line 1306, in tw_massive_analysis
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Databases/WDB_Games.py", line 1310, in tw_massive_analysis_n_workers
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Analysis/RunAnalysisControl.py", line 212, in run
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Analysis/RunAnalysisControl.py", line 256, in __init__
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Analysis/RunAnalysisControl.py", line 298, in icon_pause_continue
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/QT/Iconos.py", line 4353, in PauseColor
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/QT/IconosBase.py", line 48, in get
KeyError: 'PauseColor'

ne0zer0 avatar Oct 12 '25 07:10 ne0zer0

You must completely reinstall the application.

lukasmonk avatar Oct 12 '25 09:10 lukasmonk

I have already tried reinstalling the app and using the portable version, but it still doesn’t work.

I’ve noticed that the problem occurs when all threads are active. If I limit the thread count to 1, the mass analysis stalls at 1 / (total number of games) and shows Moves 1 %.

Image

ne0zer0 avatar Oct 12 '25 10:10 ne0zer0

I’ve fixed the permission, but the issue still persists. The mass analysis no longer gets stuck, yet it only registers two moves per game before stopping—as if the analysis were finished—while the games themselves remain unanalyzed.

Traceback (most recent call last):
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/MainWindow/WBase.py", line 400, in run_action
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/ManagerGame.py", line 179, in run_action
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/ManagerGame.py", line 323, in utilities_gs
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Manager.py", line 1967, in utilities
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Manager.py", line 1267, in analizar
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Analysis/AnalysisGame.py", line 635, in analysis_game
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Analysis/AnalysisGame.py", line 489, in xprocesa
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Engines/EngineManager.py", line 358, in analyzes_move_game
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Engines/EngineManager.py", line 175, in check_engine
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Engines/EngineRun.py", line 71, in __init__
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Engines/EngineRun.py", line 255, in start
  File "/home/lucas/pyLCR2/genlinux/LucasChessR/bin/Code/Engines/EngineRun.py", line 238, in start_engine
  File "subprocess.py", line 858, in __init__
  File "subprocess.py", line 1720, in _execute_child
PermissionError: [Errno 13] Permission denied: './stockfish-17.1-64'

ne0zer0 avatar Oct 12 '25 12:10 ne0zer0