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 560972 - crash in Chess: This is now a bug which ...
crash in Chess: This is now a bug which ...
Status: RESOLVED DUPLICATE of bug 523076
Product: gnome-games-superseded
Classification: Deprecated
Component: glchess
unspecified
Other All
: High critical
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-15 22:32 UTC by Clay1039
Modified: 2008-11-16 19:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Clay1039 2008-11-15 22:32:39 UTC
Version: 2.22.1.1

What were you doing when the application crashed?
This is now a bug which I have experienced twice in exactly the same manner.  I just finished a game of GNU chess.  It was me vs. the computer on easy difficulty and I had checkmated the computer.  I then hit the X in the upper right corner to close the program and it crashed.


Distribution: Ubuntu 8.04 (hardy)
Gnome Release: 2.22.3 2008-07-09 (Ubuntu)
BugBuddy Version: 2.22.0

System: Linux 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Human
Icon Theme: Human

Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0
CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0

Traceback (most recent call last):
  • File "/var/lib/python-support/python2.5/glchess/gtkui/gtkui.py", line 973 in _on_close_window
    self.feedback.onQuit()
  • File "/var/lib/python-support/python2.5/glchess/main.py", line 396 in onQuit
    self.application.quit()
  • File "/var/lib/python-support/python2.5/glchess/main.py", line 715 in quit
    self.__game.save()
  • File "/var/lib/python-support/python2.5/glchess/main.py", line 299 in save
    self.application.history.save(pgnGame, self.fileName)
  • File "/var/lib/python-support/python2.5/glchess/history.py", line 107 in save
    f = file(fileName, 'w')
TypeError: coercing to Unicode: need string or buffer, NoneType found

Comment 1 André Klapper 2008-11-16 19:13:23 UTC
This is fixed in 2.22.2. Please ask your distribution to provide an update.


*** This bug has been marked as a duplicate of 523076 ***