colbyga / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

empty board on start game #287

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes the figures doesn't appear on the board when i want to start a
new game.

Original issue reported on code.google.com by gbtami on 6 Jan 2008 at 8:04

Attachments:

GoogleCodeExporter commented 9 years ago
Well, this is a feature. The board appears before the players are loaded, to 
help not
freeze the ui - se: http://code.google.com/p/pychess/issues/detail?id=243
This can sometimes take a few secs.

However if you mean that they never appear, it is a larger problem. Seemingly 
because
the engines don't start up.

Original comment by lobais on 6 Jan 2008 at 8:51

GoogleCodeExporter commented 9 years ago
Most of the time this new feature works fine. This bug appears from time to 
time, but
rarely. As you can see in the attached log the engines started ok at 21:00:33 
and i
stopped the empty board at 21:02:40. 

Original comment by gbtami on 7 Jan 2008 at 7:30

GoogleCodeExporter commented 9 years ago
Hm I see.
Could you inset in line 51 ionest.py, just after "def onDone (worker, (gmwidg,
game)):" the line "print 'onDone'".
It should show us if the problem is at the engine level, or at the gui level.

You might also try out if the problem is actually in the GtkWorker class. If 
you just
"cd lib/pychess/System; python GtkWorker.py" it should contain a small demo. It 
won't
test on multiple threads though.

Original comment by lobais on 10 Jan 2008 at 6:15

GoogleCodeExporter commented 9 years ago
Hmm. The small demo in GtkWorker.py is OK, and now i can't reproduce this bug 
again.

Original comment by gbtami on 11 Jan 2008 at 7:12

GoogleCodeExporter commented 9 years ago
I think it's over.

Original comment by gbtami on 16 Jan 2008 at 5:20