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 429351 - Crash restoring corrupted game
Crash restoring corrupted game
Status: RESOLVED DUPLICATE of bug 419388
Product: gnome-games-superseded
Classification: Deprecated
Component: gnome-sudoku
unspecified
Other All
: High critical
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-13 13:36 UTC by bug
Modified: 2007-05-10 22:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description bug 2007-04-13 13:36:57 UTC
What were you doing when the application crashed?
I was trying to play a saved game. I then clicked play to bring up the old game. CRASH!!! LInux....crash different.


Distribution: Ubuntu 7.04 (feisty)
Gnome Release: 2.18.0 2007-03-13 (Ubuntu)
BugBuddy Version: 2.18.0

System: Linux 2.6.20-12-generic #2 SMP Wed Mar 21 20:55:46 UTC 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70200000
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



----------- .xsession-errors ---------------------
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
--------------------------------------------------
Traceback (most recent call last):
  • File "/usr/lib/python2.5/site-packages/gnome_sudoku/gnome_sudoku.py", line 64 in _
    fun(ui,*args,**kwargs)
  • File "/usr/lib/python2.5/site-packages/gnome_sudoku/gnome_sudoku.py", line 573 in open_game
    saver.open_game(self,puzzl)
  • File "/usr/lib/python2.5/site-packages/gnome_sudoku/saver.py", line 46 in open_game
    ui.gsd.load_game(jar['game'])
  • File "/usr/lib/python2.5/site-packages/gnome_sudoku/gsudoku.py", line 1020 in load_game
    values = [int(c) for c in in_prog.split()]
ValueError: invalid literal for int() with base 10: 'None'

Comment 1 Robert Ancell 2007-04-15 02:38:54 UTC
This is a corrupt save file. Can you provide your copy of ~/.gnome2/gnome-sudoku/games_in_progress?

Saved games are stored in a string like:

'7 0 0 0 9 2 6 5 0 8 0 0 4 0 1 0 0 0 0 5 9 3 7 0 1 0 0 4 9 0 0 0 8 0 0 0 1 6 3 0 0 0 8 2 5 0 0 0 6 0 0 0 9 4 0 0 2 0 3 5 4 1 0 
0 0 0 1 0 4 0 0 2 0 1 4 2 8 0 0 0 7\n7 0 0 0 9 2 6 5 0 8 0 0 4 0 1 0 0 0 0 5 9 3 7 0 1 0 0 4 9 0 5 0 8 0 0 0 1 6 3 0 4 0 8 2 5 0
 0 0 6 0 3 0 9 4 0 0 2 0 3 5 4 1 0 0 0 0 1 0 4 0 0 2 0 1 4 2 8 0 0 0 7'

in this case the game has been saved incorrectly as a 'None' has been inserted.
Comment 2 Thomas Andersen 2007-05-10 22:05:34 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


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