Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240562 - gnome-extra/gnome-games-2.22.3 (especially gnome-sudoku) needs pygtk with numeric python support
Summary: gnome-extra/gnome-games-2.22.3 (especially gnome-sudoku) needs pygtk with num...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 185692
Blocks:
  Show dependency tree
 
Reported: 2008-10-08 19:06 UTC by Łukasz Holetzke
Modified: 2009-05-31 09:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info,3.92 KB, text/plain)
2008-10-08 19:07 UTC, Łukasz Holetzke
Details
emerge -vp pygtk numpy gnome-games python (emerge_-vp_pygtk_numpy_gnome-games_python,630 bytes, text/plain)
2008-10-08 19:08 UTC, Łukasz Holetzke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Holetzke 2008-10-08 19:06:47 UTC
Wanted to add a tracker in gnome-sudoku - it ended in "Bug buddy"

Reproducible: Always

Steps to Reproduce:
1. Start gnome-sudoku
2. Select any level
3. Tools -> Track additions
4. Add Tracker

Actual Results:  
RuntimeError.

Expected Results:  
Create a tracker

----------- .xsession-errors ---------------------
Writing to  /home/goldie/.gnome2/gnome-sudoku/puzzles/easy
done writing...
Writing to  /home/goldie/.gnome2/gnome-sudoku/puzzles/easy
done writing...
Writing to  /home/goldie/.gnome2/gnome-sudoku/puzzles/easy
done writing...
Writing t/usr/lib/python2.5/site-packages/gnome_sudoku/main.py:1042: GtkWarning: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  gtk.main()
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/gnome_sudoku/main.py", line 965, in add_tracker
    self.main_ui.gsd.get_tracker_color(tracker_id),
  File "/usr/lib/python2.5/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
--------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/gnome_sudoku/main.py", line 965, in add_tracker
    self.main_ui.gsd.get_tracker_color(tracker_id),
  File "/usr/lib/python2.5/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 Łukasz Holetzke 2008-10-08 19:07:25 UTC
Created attachment 167650 [details]
emerge --info
Comment 2 Łukasz Holetzke 2008-10-08 19:08:33 UTC
Created attachment 167652 [details]
emerge -vp pygtk numpy gnome-games python
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-08 20:33:01 UTC
could you try installing numeric in place of numpy and see if it fixes your problem ?
Comment 4 Łukasz Holetzke 2008-10-08 23:21:12 UTC
I have it too:
dev-python/numeric-24.2-r6  USE="-doc -lapack"

should I unmerge numpy?
Comment 5 Harris Landgarten 2009-04-14 23:08:07 UTC
After installing python-2.6 and running python-updater I am having this issue when trying to play gnome-sudoku. The game loads but as soon as I press add tracker, bug buddy launches with detail:

Distribution: Gentoo Base System release 2.0.0
Gnome Release: 2.24.3 2009-01-14 (Gentoo)
BugBuddy Version: 2.24.2

System: Linux 2.6.29-gentoo-r1 #1 SMP PREEMPT Tue Apr 7 19:44:37 EDT 2009 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10503000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Tango

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 (42231 sec old) ---------------------
(acroread:31940): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'
(acroread:31940): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'
(acroread:31940): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(acroread:31940): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'
(acroread:31940): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'
(acroread:31940): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(acroread:31940): GLib-GObject-WARNING **: invalid uni
...Too much output, ignoring rest...
--------------------------------------------------
Traceback (most recent call last):
  File "//usr/lib64/python2.6/site-packages/gnome_sudoku/main.py", line 981, in add_tracker
    self.main_ui.gsd.get_tracker_color(tracker_id),
  File "//usr/lib64/python2.6/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


I have PyGTK, numpy and numeric installed.


System info follows:


System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 14 Apr 2009 22:00:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/portage/local/layman/gentoo-china /usr/portage/local/layman/vmware /usr/local/overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa nv fbdev nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-04-15 13:45:13 UTC
It's working fine with python 2.6 for me.  I have unmerged python 2.5 and I don't have numpy, just numeric.  Could you try unmerging numpy, and/or unmerging pythong-2.5 and cleaning up the results?
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-31 09:27:48 UTC
please get back to us