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'
============
xiando, python2. 6/threading. py", line 525, in __bootstrap_inner python2. 6/dist- packages/ pychess/ System/ tsqlite. py", line 34, in run connect( self.path)
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/
self.run()
File "/usr/lib/
con = sqlite.
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:
========= bin/pychess" , line 46, in <module> Main.run( sys.argv[ 1:]) python2. 6/dist- packages/ pychess/ Main.py" , line 490, in run python2. 6/dist- packages/ pychess/ widgets/ Background. py", line 281, in startClicked difCombo. active) python2. 6/dist- packages/ pychess/ Main.py" , line 384, in on_newGameTaske r_started generalStart( gamemodel, player0tup, player1tup) python2. 6/dist- packages/ pychess/ widgets/ ionest. py", line 54, in generalStart execute( ) python2. 6/dist- packages/ pychess/ System/ GtkWorker. py", line 156, in execute python2. 6/dist- packages/ pychess/ System/ ThreadPool. py", line 103, in start start(self. run) python2. 6/dist- packages/ pychess/ System/ GtkWorker. py", line 159, in run python2. 6/dist- packages/ pychess/ widgets/ ionest. py", line 33, in <lambda> python2. 6/dist- packages/ pychess/ widgets/ ionest. py", line 57, in workfunc GameWidget( gamemodel) python2. 6/dist- packages/ pychess/ widgets/ gamewidget. py", line 285, in __init__ OSError' > [Errno 2] No such file or directory: '/usr/lib/ python2. 6/sidepanel'
File "/usr/local/
pychess.
File "/usr/lib/
gtk.main()
File "/usr/lib/
self.
File "/usr/lib/
ionest.
File "/usr/lib/
worker.
File "/usr/lib/
self.start()
File "/usr/lib/
pool.
File "/usr/lib/
self.result = self.func(self)
File "/usr/lib/
workfunc(w, gamemodel, player0tup, player1tup, loaddata))
File "/usr/lib/
gmwidg = gamewidget.
File "/usr/lib/
panels = [f[:-3] for f in os.listdir(path) if f.endswith(pf)]
<type 'exceptions.
============