After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 399520 - Error running glChess
Error running glChess
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: glchess
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-22 20:01 UTC by Andreas Røsdal
Modified: 2007-01-23 22:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Røsdal 2007-01-22 20:01:51 UTC
I get this error when running glChess. By the way, there is no /root/.glchess/autosave.pgn file.

Auto-loading from /root/.glchess/autosave.pgn...
Traceback (most recent call last):
  • File "/usr/local/bin/glchess", line 12 in <module>
    start_game()
  • File "/usr/local/lib/python2.5/site-packages/glchess/glchess.py", line 4 in start_game
    app.start()
  • File "/usr/local/lib/python2.5/site-packages/glchess/main.py", line 919 in start
    self.__autoload()
  • File "/usr/local/lib/python2.5/site-packages/glchess/main.py", line 980 in __autoload
    print 'Invalid autoload file ' + path + ': ' + str(e)
  • File "/usr/local/lib/python2.5/site-packages/glchess/chess/pgn.py", line 64 in __str__
    string += description
NameError: global name 'description' is not defined

Comment 1 Robert Ancell 2007-01-23 09:44:19 UTC
typo... fixed
Comment 2 Andreas Røsdal 2007-01-23 22:01:43 UTC
This bug has already been reported in Ubuntu:
https://launchpad.net/ubuntu/+source/gnome-games/+bug/81064

Since this bug means that glChess will not be runnable, 
I think we should consider releasing a new version of gnome-games (2.17.91 or whatever) today, so that a runnable glChess is included in the latest release of gnome-games. This is important to get the new games properly tested.

Anyway, this really emphasizes the need for a automated unit-testing framework for gnome-games.