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 416249 - Crash when pygtk was not compiled with Numeric Python support
Crash when pygtk was not compiled with Numeric Python support
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: gnome-sudoku
2.22.x
Other All
: High critical
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
: 423173 438158 461400 472686 473299 497153 516858 527057 527058 527598 532533 549845 551197 555917 562765 568393 571195 571255 576149 585677 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-03-08 22:12 UTC by Gabor Kelemen
Modified: 2009-06-13 21:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Replace code that required numpy (2.96 KB, patch)
2009-03-03 15:10 UTC, Thomas Andersen
committed Details | Review

Description Gabor Kelemen 2007-03-08 22:12:09 UTC
What were you doing when the application crashed?
Clicked on the Add tracker button


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.17.92 2007-02-28 (JHBuild)
BugBuddy Version: 2.17.5

System: Linux 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70101000
Selinux: No
Accessibility: Enabled
GTK+ Theme: Crux
Icon Theme: gnome

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 ---------------------
RuntimeError: pygtk was not compiled with Numeric Python support
GTK Accessibility Module initialized
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Bonobo accessibility support initialized
Traceback (most recent call last):
  • File "/opt/gnome2/lib/python2.4/site-packages/gnome_sudoku/gnome_sudoku.py", line 899 in add_tracker
    self.main_ui.gsd.get_tracker_color(tracker_id),
  • File "/opt/gnome2/lib/python2.4/site-packages/gnome_sudoku/gtk_goodies/image_extras.py", line 48 in pixbuf_transform_color
    arr = pb.get_pixels_array()
RuntimeError: pygtk was not compiled with Numeric Python support
GTK Accessibility Module initialized
Bonobo accessibility support initialized
--------------------------------------------------
Traceback (most recent call last):
  • File "/opt/gnome2/lib/python2.4/site-packages/gnome_sudoku/gnome_sudoku.py", line 899 in add_tracker
    self.main_ui.gsd.get_tracker_color(tracker_id),
  • File "/opt/gnome2/lib/python2.4/site-packages/gnome_sudoku/gtk_goodies/image_extras.py", line 48 in pixbuf_transform_color
    arr = pb.get_pixels_array()
RuntimeError: pygtk was not compiled with Numeric Python support

Comment 1 Robert Ancell 2007-03-16 03:48:43 UTC
Does this imply that Sudoku required Numerical Python support? Sounds like an Ubuntu bug then...
Comment 2 Christian Lohmaier 2007-03-25 17:05:20 UTC
Not an ubuntu bug. I'm having the same problem, and I don't use ubuntu, and compiled gnome-games myself

Sudoku requires Numeric python support when trying to use a track marker. Regular gaming, including hints, etc. don't require numeric python.

Fine if the tracking feature will not work without that package, but gnome-sudoku should not crash...

So the important part is:

* crahses when trying to add a tracker-mark
Comment 3 Damien Durand 2007-03-27 18:27:52 UTC
*** Bug 423173 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Røsdal 2007-07-29 07:15:48 UTC
*** Bug 461400 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Andersen 2007-08-30 00:01:45 UTC
*** Bug 438158 has been marked as a duplicate of this bug. ***
Comment 6 Thomas Andersen 2007-09-01 22:46:16 UTC
*** Bug 472686 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Andersen 2007-09-03 21:46:18 UTC
*** Bug 473299 has been marked as a duplicate of this bug. ***
Comment 8 palfrey 2007-11-16 13:36:35 UTC
*** Bug 497153 has been marked as a duplicate of this bug. ***
Comment 9 Gianluca Borello 2008-02-16 17:49:20 UTC
*** Bug 516858 has been marked as a duplicate of this bug. ***
Comment 10 Thomas Andersen 2008-04-09 02:25:44 UTC
*** Bug 527057 has been marked as a duplicate of this bug. ***
Comment 11 Gianluca Borello 2008-04-09 11:27:31 UTC
*** Bug 527058 has been marked as a duplicate of this bug. ***
Comment 12 Gianluca Borello 2008-04-12 00:32:22 UTC
*** Bug 527598 has been marked as a duplicate of this bug. ***
Comment 13 Gianluca Borello 2008-05-11 09:10:39 UTC
*** Bug 532533 has been marked as a duplicate of this bug. ***
Comment 14 Joshua James Thom 2008-06-27 19:55:11 UTC
(In reply to comment #9)
> *** Bug 516858 has been marked as a duplicate of this bug. ***

but we scintests need to work on that internet explrer cannot display this webpage (412538) that has been marked as a duplicate of this bug. :D.
Comment 15 Susana 2008-09-05 20:40:40 UTC
*** Bug 549845 has been marked as a duplicate of this bug. ***
Comment 16 Gianluca Borello 2008-10-11 18:07:37 UTC
*** Bug 551197 has been marked as a duplicate of this bug. ***
Comment 17 Gianluca Borello 2008-10-11 18:07:45 UTC
*** Bug 555917 has been marked as a duplicate of this bug. ***
Comment 18 palfrey 2008-12-01 01:05:03 UTC
*** Bug 562765 has been marked as a duplicate of this bug. ***
Comment 19 palfrey 2009-01-20 16:48:52 UTC
*** Bug 568393 has been marked as a duplicate of this bug. ***
Comment 20 gnome-sudoku 2009-02-11 02:54:04 UTC
*** Bug 571255 has been marked as a duplicate of this bug. ***
Comment 21 palfrey 2009-02-11 13:46:33 UTC
*** Bug 571195 has been marked as a duplicate of this bug. ***
Comment 22 Thomas Andersen 2009-03-03 15:10:45 UTC
Created attachment 129945 [details] [review]
Replace code that required numpy

Numpy code was only used to change color in a pixbuf. Actually this is gtk.gdk.Pixbuf.get_pixels_array so not specific to sudoku but whatever. Patch gets the pixbuf as a string and works on that instead.
Comment 23 Thomas Andersen 2009-03-03 22:24:39 UTC
Fixed in r8801:
http://svn.gnome.org/viewvc/gnome-games?view=revision&revision=8801

Fix will be included in 2.26.0
Comment 24 Susana 2009-03-21 18:10:09 UTC
*** Bug 576149 has been marked as a duplicate of this bug. ***
Comment 25 Fabio Durán Verdugo 2009-06-13 21:29:02 UTC
*** Bug 585677 has been marked as a duplicate of this bug. ***