[Bug 356553] Re: pychess crash with OperationalError and RuntimeError
grofaty
grofaty at hotmail.com
Thu Apr 23 21:52:24 UTC 2009
xiando,
I have tried your instruction on Ubuntu 9.04 final release (installing pychess from repository: sudo apt-get install pychess) and PyChess started up, but reported several messages:
=========
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/dist-packages/pychess/System/tsqlite.py", line 34, in run
con = sqlite.connect(self.path)
OperationalError: unable to open database file
/usr/lib/python2.6/dist-packages/pychess/Players/engineNest.py:3: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import os, md5, imp
==========
Then when I clicked on "Start Game" button to play chess PyChess returned the following errors into terminal:
=========
File "/usr/local/bin/pychess", line 46, in <module>
pychess.Main.run(sys.argv[1:])
File "/usr/lib/python2.6/dist-packages/pychess/Main.py", line 490, in run
gtk.main()
File "/usr/lib/python2.6/dist-packages/pychess/widgets/Background.py", line 281, in startClicked
self.difCombo.active)
File "/usr/lib/python2.6/dist-packages/pychess/Main.py", line 384, in on_newGameTasker_started
ionest.generalStart(gamemodel, player0tup, player1tup)
File "/usr/lib/python2.6/dist-packages/pychess/widgets/ionest.py", line 54, in generalStart
worker.execute()
File "/usr/lib/python2.6/dist-packages/pychess/System/GtkWorker.py", line 156, in execute
self.start()
File "/usr/lib/python2.6/dist-packages/pychess/System/ThreadPool.py", line 103, in start
pool.start(self.run)
File "/usr/lib/python2.6/dist-packages/pychess/System/GtkWorker.py", line 159, in run
self.result = self.func(self)
File "/usr/lib/python2.6/dist-packages/pychess/widgets/ionest.py", line 33, in <lambda>
workfunc(w, gamemodel, player0tup, player1tup, loaddata))
File "/usr/lib/python2.6/dist-packages/pychess/widgets/ionest.py", line 57, in workfunc
gmwidg = gamewidget.GameWidget(gamemodel)
File "/usr/lib/python2.6/dist-packages/pychess/widgets/gamewidget.py", line 285, in __init__
panels = [f[:-3] for f in os.listdir(path) if f.endswith(pf)]
<type 'exceptions.OSError'> [Errno 2] No such file or directory: '/usr/lib/python2.6/sidepanel'
============
--
pychess crash with OperationalError and RuntimeError
https://bugs.launchpad.net/bugs/356553
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list