You are not logged in.

#1 2014-04-12 06:47:59

dbbolton
Member
Registered: 2008-10-08
Posts: 41

[SOLVED] pychess can't find PyChess.py and freezes

Using find, I do have the file

file /usr/lib/python2.7/site-packages/pychess/Players/PyChess.py                
/usr/lib/python2.7/site-packages/pychess/Players/PyChess.py: Python script, ASCII text executable

But when I start pychess, it finds gnuchess only. There is a spinner for a moment while it is "looking" for PyChess.py, then it freezes.

There doesn't seem to be any useful output on the command line:

** Message: pygobject_register_sinkfunc is deprecated (GstObject)
/usr/lib/python2.7/site-packages/pychess/Main.py:240: GtkWarning: IA__gtk_widget_set_events: assertion '!gtk_widget_get_realized (widget)' failed
  widgets["menubar1"].set_events(widgets["menubar1"].get_events() | gtk.gdk.DRAG_STATUS)
/usr/lib/python2.7/site-packages/pychess/Main.py:241: GtkWarning: IA__gtk_widget_set_events: assertion '!gtk_widget_get_realized (widget)' failed
  widgets["Background"].set_events(widgets["Background"].get_events() | gtk.gdk.DRAG_STATUS)
02:41:59 ('Gnuchess', '02:04:59.395') Warning: Chan closed for 'nopost'
02:41:59 ('Gnuchess', '02:04:59.395') Warning: Chan closed for '\n'

I tried launching it with the --thread-debug flag but the output was the same.

Last edited by dbbolton (2014-04-13 03:28:48)

Offline

#2 2014-04-12 14:02:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] pychess can't find PyChess.py and freezes

pychess works correctly on my 32-bit Arch. I defaults to pychess, but I can pick gnuchess if it's installed.

Offline

#3 2014-04-12 22:24:51

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 711

Re: [SOLVED] pychess can't find PyChess.py and freezes

FYI, it runs fine on my 64 bit installation. Starting it from the command line, I get that first message line like you, but not the 2nd and later lines.

I have gnuchess and a couple of other engines installed, e.g. crafty and stockfish. All of them, including pychess, are presented in pychess.

Online

#4 2014-04-13 03:28:27

dbbolton
Member
Registered: 2008-10-08
Posts: 41

Re: [SOLVED] pychess can't find PyChess.py and freezes

I solved this by removing ~/.config/pychess.

Offline

Board footer

Powered by FluxBB