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 633351 - crash in Sudoku: AttributeError: 'NoneType' object has no attribute 'possible_values'
crash in Sudoku: AttributeError: 'NoneType' object has no attribute 'possible...
Status: RESOLVED FIXED
Product: gnome-sudoku
Classification: Applications
Component: general
git master
Other All
: Normal critical
: ---
Assigned To: Michael Catanzaro
gnome-sudoku-maint
: 633647 645191 648746 649810 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-10-28 14:00 UTC by Jürgen Rienäcker
Modified: 2014-06-01 00:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32


Attachments
Do not update hints if grid is null (793 bytes, patch)
2014-06-01 00:36 UTC, Michael Catanzaro
committed Details | Review

Description Jürgen Rienäcker 2010-10-28 14:00:02 UTC
Version: 2.32.0

What were you doing when the application crashed?
Spiel verwerfen


Distribution: openSUSE 11.1 (i586)
Gnome Release: 2.32.0 (null) (SUSE)
BugBuddy Version: 2.32.0

System: Linux 2.6.27.48-0.3 #1 Wed Sep 29 17:01:42 CEST 2010 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10502000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome
GTK+ Modules: gnomesegvhandler

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 "/usr/lib/python2.6/site-packages/gnome_sudoku/main.py", line 877 in selection_changed_cb
    self.main_ui.gsd.update_all_hints()
  • File "/usr/lib/python2.6/site-packages/gnome_sudoku/gsudoku.py", line 442 in update_all_hints
    self.show_hint_for_entry(e)
  • File "/usr/lib/python2.6/site-packages/gnome_sudoku/gsudoku.py", line 240 in show_hint_for_entry
    vals = self.grid.possible_values(entry.x, entry.y)
AttributeError: 'NoneType' object has no attribute 'possible_values'


----------- .xsession-errors (6 sec old) ---------------------
Warnung der Fensterverwaltung:Ungültiges WM_TRANSIENT_FOR-Fenster 0x3a00008 festgelegt für 0x3a0031c (Kaffeine P).
Warnung der Fensterverwaltung:Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3a00008 (100921Alex)
Warnung der Fensterverwaltung:meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Saved epg data : 2194 events (435 msecs)
/usr/lib/python2.6/site-packages/gnome_sudoku/gtk_goodies/dialog_extras.py:151: DeprecationWarning: use set_markup() instead
  self.label.set_markup(label)
Traceback (most recent call last):
  • File "/usr/lib/python2.6/site-packages/gnome_sudoku/main.py", line 877 in selection_changed_cb
    self.main_ui.gsd.update_all_hints()
  • File "/usr/lib/python2.6/site-packages/gnome_sudoku/gsudoku.py", line 442 in update_all_hints
    self.show_hint_for_entry(e)
  • File "/usr/lib/python2.6/site-packages/gnome_sudoku/gsudoku.py", line 240 in show_hint_for_entry
    vals = self.grid.possible_values(entry.x, entry.y)
AttributeError: 'NoneType' object has no attribute 'possible_values'
--------------------------------------------------
Comment 1 Felipe Besoaín Pino 2010-10-28 22:54:22 UTC
Thanks for taking the time to report this bug.
This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read http://bugzilla.gnome.org/bug-HOWTO.html and add a more useful description to this bug.
Comment 2 Felipe Besoaín Pino 2010-11-01 01:32:33 UTC
*** Bug 633647 has been marked as a duplicate of this bug. ***
Comment 3 Akhil Laddha 2011-03-19 07:05:27 UTC
*** Bug 645191 has been marked as a duplicate of this bug. ***
Comment 4 Akhil Laddha 2011-04-27 11:50:07 UTC
*** Bug 648746 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2011-05-09 17:03:38 UTC
*** Bug 649810 has been marked as a duplicate of this bug. ***
Comment 6 Michael Catanzaro 2014-06-01 00:36:30 UTC
I haven't been able to reproduce this, but this should do the trick.

The following fix has been pushed:
a943080 Do not update hints if grid is null
Comment 7 Michael Catanzaro 2014-06-01 00:36:34 UTC
Created attachment 277651 [details] [review]
Do not update hints if grid is null