Moderator: Andres Valverde
H.G.Muller wrote:..there is NO, repeat NO problem whatsoever with polyglot..
With 1.4.39b I get the following error messages (2 windows):
1) Error writing to first chess program: Die Pipe wurde beendet.
2) Error: first chess program (polyglot C:\X\\polyglot_1st.ini) exited unexpecedly.
Michel wrote:Ok I noticed what the problem is.
Polyglot_1st contains
BookFile =
My new parsing algorithm does not accept empty values since they are redundant
But since it is WB who writes these files I assume I will have to adapt PG. I need to think how to best do this.
F.Huber wrote:But there has also to be changed something in WB of course, because as it is now the user has no influence on what WB writes into Polyglot_1st.ini (I'm talking about these Book, BookFile, Hash, Nalimov ... entries).
Well, "not accept" should of course not mean that PG crashes. :wink:
H.G.Muller wrote:You can set all that stuff in the Options -> Global Settings menu.
So an empty string is a kind of natural choice.
Michel wrote:Well if you execute polyglot on the command line you see that it exits cleanly.
./polyglot polyglot_1st.ini
PolyGlot 1.4.39b by Fabien Letouzey.
ini_parse(): Syntax error in "polyglot_1st.ini": line 5
WB does not relay this message to the user. Sadly PG would also not log this since
before knowing if logging is enabled it has to to parse the configfile first....
"tellusererror " in WB protocol.
Michel wrote:...
I have adapted the parser so that if ignores empty values.
...
StartChildProcess (dir="/home/volker/schach/polyglot") ./polyglot spike.ini
10147 >second: xboard
protover 2
10148 <second: PolyGlot 1.4.39b by Fabien Letouzey.
10148 <second: ini_parse(): Syntax error in "spike.ini": line 21
xboard: Error: second chess program (./polyglot spike.ini) exited unexpectedly
GameEnds(37, Error: second chess program (./polyglot spike.ini) exited unexpectedly, 2)
10148 >first : quit
10151 >second: quit
Achdukacke!
[PolyGlot]
EngineName = Spike 1.2 Turin
EngineDir = /home/volker/schach/spike
EngineCommand = ./spike
Log = false
LogFile = spike.log
Resign = true
ResignMoves = 3
ResignScore = 800
Book = true
BookFile = /home/volker/schach/polyglot/performance.bin
[Engine]
Hash = 64
MultiPV = 1
Hash = 64
Learn Positions = false
Learn Filename = learnfile ############this is line 21 in the original
NalimovPath /media/GB/nalimov/
NalimovCache = 32
UCI_Chess960 = false
Threads = 1
NalimovPath /media/GB/nalimov/
Michel wrote:...
I am sorry but there is an equality sign missing in that line.
Michel wrote:...How should PG be able to distinguish the value from the name without equality signs?
This is only possible if Polyglot does use these actual values in the feature commands it sends (from the polyglot.ini, and only if it was not set there, use its own or the engine default).
Return to Winboard and related Topics
Users browsing this forum: No registered users and 10 guests