xboard polyglot error

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

smatovic
Posts: 3795
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

xboard polyglot error

Post by smatovic »

Recently my xboard on Ubuntu Linux 14.04 throws an error when starting an UCI engine via polyglot.

Tried version 4.7.3 from repository and 4.8.0 self compile, testwise removed .xboardrc and xboard.conf and reinstalled, no luck.

Code: Select all

xboard: Error: first chess program (polyglot -noini -ec "/home/srdja/Projects/chess/bin/stockfish7" -ed "/home/srdja/Projects/chess/bin/" -uci NalimovCache=4) exited unexpectedly
When starting polyglot itself, it looks alright...

Code: Select all

polyglot -noini -ec "/home/srdja/Projects/chess/bin/stockfish7" -ed "/home/srdja/Projects/chess/bin/" -uci NalimovCache=4,PolyGlot 1.4.67b by Fabien Letouzey.
uci
id name Stockfish 7 64
id author T. Romstad, M. Costalba, J. Kiiski, G. Linscott
option name Write Debug Log type check default false
...
I surely installed some updates recently, not sure which could have such an effect...any suggestions?

--
Srdja
User avatar
hgm
Posts: 28515
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: xboard polyglot error

Post by hgm »

This is weird. XBoard prints this message when it can no longer communicate with the engine through the pipes. Usually Polyglot would pop up its own error message (through "telluser") when it thinks it necessary to exit.

That you can startup Polyglot from the command line is not completely conclusive, as Polyglot could have terminated at a later stage of the startup hand-shake. (XBoard did not say: "failed to start engine ...".) It would be important to know exactly where, then perhaps that is reproducible from the command line. Can you run XBoard wih the extra option -debug, and then post the xboard.debug file that is produced here?
smatovic
Posts: 3795
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: xboard polyglot error

Post by smatovic »

This is weird.

Code: Select all

StartChildProcess (dir="/home/srdja/Projects/books/book.bin") polyglot -noini -ec "/home/srdja/Projects/chess/bin/stockfish7" -ed "." -uci NalimovCache=4
Ah, thanks, i took a look into the debug file and found that i messed up the polyglot directory,
i mixed up the xboard params "-polyglotBook" and "-polyglotDir"....it works fine again :)

--
Srdja