Welcome to Certabo forum

Both posts in italian and in english are accepted on the forum to help everybody to provide contribution irrespective to geographical location. Object of the forum is to provide technical information on various items and help developer and users to personalise software for Certabo chessboards. User explicitly accepts the conditions of use of this forum here reported.

A brief introduction of user is always appreciated in section Welcome to….

Benvenuti nel forum di Certabo

Sul forum possono essere postati articoli sia in lingua italiana che inglese per permettere a tutti di dare il proprio contributo da diversi luoghi geografici. Il forum ha come scopo fornire informazioni tecniche in generale e aiutare gli sviluppatori ed utenti a personalizzare software per le scacchiere Certabo. L’utente accetta esplicitamente le condizioni del presente forum consultabili qui.

Un breve saluto del nuovo utente è sempre gradito nella sezione Benvenuti a….

Please or Register to create posts and topics.

Analyze with Stockfish doesn´t work

Hi, I just noticed, that in my Certabo Software (4.5 avatar and also the new mod) analyzing with Stockfish doesn´t work. The terminal shows following message:

2022-06-12 11:14:53,050:proactor_events:Using proactor: IocpProactor
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 932, in _bootstrap_inner
File "threading.py", line 870, in run
File "utils\analysis_engine.py", line 126, in analysis_thread
File "chess\engine.py", line 2772, in analysis
File "concurrent\futures\_base.py", line 437, in result
concurrent.futures._base.CancelledError

LC0 works.

 

BTW: is there an option to use the newest SF 15 version for analyze ? Can I (if it works again) only copy the newest 15er version as stockfish.exe in engines folder ?

 

Thanks

Tobias

Hi Tobias

Can you please double check is Stockfish.exe in engines folder has capital letter or not? And change it.

Yes you should be able to use latest 15 just rename it as stockfish.exe

Let us know

All the best

Pietro

 

 

 

Hi Pietro,

 

changing the capital letter didn't change anything. But I think, the problem is the mod-version. I deleted all log- and setting-files from the app data/local/certabo/GUI folder and restarted the original version. It worked fine again.

Than I started the mod-version and stockfish doesn't run correct. It also crashes, if I choose it as the game-engine.

@tobias

I can reproduce this bug in the compiled version, but not when I run software from sources. To fix this right now you can run main.exe as Administrator or, alternatively, put my modded distribution outside of C:\Program Files folder. I'll investigate what exactly causes this and why it doesn't happen on the official software.

Edit: I can reproduce it in Certabo 4.1 and Certabo 4.5 and my modded version. Running any version as administrator fixes this for me.

Edit 2: I know the reason of this behavior. To avoid this, edit game_settings.json and change this:

"_game_engine": {

...

"Debug Log File":"C:\\ProgramData\\stockfish.log"

},

"_analysis_engine": {

"Debug Log File:"C:\\ProgramData\\analysis-stockfish.log"

}

I will remove this parameter from the future distribution so it doesn't cause any more trouble 😉

The reason of this behavior was that stockfish.exe tried to create a log file inside C:\Program Files folder, which is prohibited in Windows, unless the program is being runnin with admin privileges.

tobias has reacted to this post.
tobias

Ah, great. Works fine again. Thank you Elia.