pychess crash with OperationalError and RuntimeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pychess (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
pychess
Version: 0.8.2-1
Ubuntu Jaunty
uname -a: Linux [...] 2.6.28-11-generic #40-Ubuntu SMP Fri Apr 3 17:39:51 UTC 2009 i686 GNU/Linux
..@...: ~$ pychess
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
con = sqlite.
OperationalError: unable to open database file
/usr/lib/
import os, md5, imp
(pychess:6187): libglade-WARNING **: could not find glade file '/usr/lib/
Traceback (most recent call last):
File "/usr/games/
import pychess.Main
File "/usr/lib/
from pychess.widgets import tipOfTheDay
File "/usr/lib/
widgets = GladeWidgets(
File "/usr/lib/
self.widgets = gtk.glade.
RuntimeError: could not create GladeXML object
description: | updated |
I checked my Gentoo box and there "tipoftheday.glade" is located in:
games-board/ pychess- 0.8.2 (/usr/share/ games/pychess/ glade/tipofthed ay.glade)
Then I checked this Ubuntu 9.04RC box and found that all the PyChess files are on the box in:
/usr/share/ games/pychess/ glade/
..but none of these files are found (not just tipoftheday.glade, that is just the first file tried).
SOLUTION (not recommended or supported, probably, but it _works_):
# mkdir /usr/lib/ python2. 6/glade/ games/pychess/ glade/* /usr/lib/ python2. 6/glade/
# cp -v /usr/share/
..and now I get to play PyChess again. I have very little experience with .deb packages, my only Ubuntu use is that I put it on giveaway-to-n00b boxes. I assume it is just some guile path issue of some sort which makes it look for pychess in the wrong place. Above cp "fix" works and lets me play, the real solution is to adjust some file to look in the right path.