cutechess and libQtCore.so.4

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

Moderator: Ras

User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: cutechess and libQtCore.so.4

Post by ilari »

Daniel Shawul wrote:Still no change.

Code: Select all

$ ./cutechess-cli.sh -fcp cmd=./scorpio -scp cmd=./scorpio -both tc=40/5
Started game 1 of 1
Warning: Cannot start engine "./scorpio"
Warning: QObject::connect: Cannot connect (null)::debugMessage(const QString&) to GameManager::debugMessage(const QString&)
Warning: Cannot start engine "./scorpio"
Warning: QObject::connect: Cannot connect (null)::debugMessage(const QString&) to GameManager::debugMessage(const QString&)
./cutechess-cli.sh: line 13: 27516 Segmentation fault      $dirname/$appname "$@"
Looks like another stupid bug. Cutechess-cli doesn't find Scorpio because the working directory is wrong. It seems to work if you set "dir=." however:

Code: Select all

./cutechess-cli.sh -fcp cmd=./scorpio dir=. -scp cmd=./scorpio dir=. -both tc=40/5
Started game 1 of 1 
Game 1 ended: 1-0 {Black resigns}
Scorpio_2.4 JA wins the game as white
Score of Scorpio_2.4 JA vs Scorpio_2.4 JA: 1 - 0 - 0
Finished match 
I'll fix these bugs soon.
Daniel Shawul
Posts: 4186
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: cutechess and libQtCore.so.4

Post by Daniel Shawul »

Thank you guys ! Now it works. I fired up multiple instances of it and it finished bullet matches on all of them without problems. Now i need to write a script which does pairing (gauntlet / round robin and may be KO), collect results, and do stat analysis with bayeselo.
BTW is there a way I can get the result of a mathc out of cutechess ,including the white/black win information. Because i think i might need to pass that to bayeselo when i hack it.

thanks
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: cutechess and libQtCore.so.4

Post by ilari »

Daniel Shawul wrote:Thank you guys ! Now it works. I fired up multiple instances of it and it finished bullet matches on all of them without problems. Now i need to write a script which does pairing (gauntlet / round robin and may be KO), collect results, and do stat analysis with bayeselo.
BTW is there a way I can get the result of a mathc out of cutechess ,including the white/black win information. Because i think i might need to pass that to bayeselo when i hack it.

thanks
You could always parse the second to last line of cutechess-cli's output, but it could be more convenient. I could implement some kind of silent mode that would only output the end result as an easy-to-parse string.
Daniel Shawul
Posts: 4186
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: cutechess and libQtCore.so.4

Post by Daniel Shawul »

Code: Select all

You could always parse the second to last line of cutechess-cli's output,
That is good enough for me.