[Bug 636372] Re: pygtk-2.16.0 causes python-2.7 to segfault if warning settings are changed from default to "error"

Lukasz Kies 636372 at bugs.launchpad.net
Sun Sep 12 15:41:03 CEST 2010


After PyGTK is rebuilded it makes RuntimeError for all packages requires python-pygtk:
[kiesiu at beth packages]$ gimp
(gimp:19344): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 801, in _run
  File "/usr/lib/gimp/2.0/plug-ins/python-console.py", line 33, in do_console
    import sys, gobject, gtk, gimpenums, gimpshelf, gimpui, pyconsole
  File "/usr/lib/gimp/2.0/python/gimpui.py", line 36, in <module>
RuntimeError: could not find _PyGtk_API object

Thus all packages require python-pygtk need to be rebuilded with new pygtk. For Th and python-pygtk-gtk there are:
poldek:/all-avail> what-requires python-pygtk-gtk
accerciser-1.10.1-3.noarch
apport-gtk-0.108.2-3.noarch
avant-window-navigator-0.3.2-5.i686
billreminder-0.3.2-3.i686
blueman-1.21-4.i686
bzr-gtk-0.95.0-7.i686
cankiri-0.2-2.noarch
ccsm-0.8.4-3.noarch
childsplay-1.5.1-3.noarch
compiz-fusion-icon-interface-gtk-0.1.0-0.080712git.4.noarch
d-feet-0.1.10-4.noarch
deluge-1.2.3-6.i686
dia-0.97.1-2.i686
driconf-0.9.1-4.i686
emesene-1.6.3-1.i686
firstboot-1.99-5.i686
gazpacho-0.7.2-3.noarch
gedit-plugins-2.30.0-2.i686
gimp-2.6.10-2.i686
git-core-gitview-1.7.2.3-1.i686
git-core-gitview-1.7.2.2-1.i686
gnofract4d-3.11-4.i686
gnome-desktop-2.30.2-1.i686
gnumeric-plugin-python-1.10.10-2.i686
gnumeric-plugin-python-1.10.9-1.i686
griffith-0.11-1.noarch
hotwire-0.721-4.noarch
mtp-lastfm-0.83-4.noarch
museek+-murmur-0.2-4.i686
nautilus-python-0.6.1-3.i686
neatx-0.1-0.r59.1.i686
nmap-zenmap-5.21-5.i686
ocfs2-tools-gtk-1.4.4-1.i686
pitivi-0.13.3-2.i686
postr-0.12.4-2.i686
python-decorator-3.0.1-2.noarch
python-gaphas-0.3.6-4.noarch
python-gnome-canvas-2.28.1-2.i686
python-gnome-desktop-libwnck-2.30.2-5.i686
python-gnome-desktop-totem-2.30.2-5.i686
python-gnome-extras-gda-2.25.3-20.i686
python-gnome-extras-gda-2.25.3-19.i686
python-gnome-extras-gtkspell-2.25.3-20.i686
python-gnome-extras-gtkspell-2.25.3-19.i686
python-gnome-extras-libgksu-2.25.3-20.i686
python-gnome-extras-libgksu-2.25.3-19.i686
python-gnome-extras-mozilla-2.25.3-20.i686
python-gnome-extras-mozilla-2.25.3-19.i686
python-gnome-packagekit-2.29.3-3.i686
python-kiwi-1.9.26-4.noarch
python-pygtk-devel-2.16.0-3.i686
python-pygtk-devel-2.16.0-2.i686
python-pygtk-glade-2.16.0-3.i686
python-pygtk-glade-2.16.0-2.i686
python-pynotify-0.1.1-6.i686
python-pynotify-0.1.1-5.i686
python-sexy-0.1.9-4.i686
python-vte-0.24.3-1.i686
quodlibet-2.2.1-4.i686
radiotray-0.6-2.noarch
sabayon-2.22.1-4.i686
smart-gui-0.52-6.i686
solfege-3.14.9-3.i686
sonata-1.6.2-3.i686
synce-gnome-0.11-4.noarch
system-config-users-1.2.80-3.noarch
tint2-0.11-1.i686
tint2-0.9-1.i686
totem-2.30.2-3.i686
wicd-1.7.0-2.i686
wifi-radar-2.0.s02-1.noarch
71 package(s) found.

** Bug watch added: Red Hat Bugzilla #621887
   https://bugzilla.redhat.com/show_bug.cgi?id=621887

** Also affects: fedora via
   https://bugzilla.redhat.com/show_bug.cgi?id=621887
   Importance: Unknown
       Status: Unknown

** Bug watch added: GNOME Bug Tracker #623965
   https://bugzilla.gnome.org/show_bug.cgi?id=623965

** Also affects: pygtk via
   https://bugzilla.gnome.org/show_bug.cgi?id=623965
   Importance: Unknown
       Status: Unknown

-- 
pygtk-2.16.0 causes python-2.7 to segfault if warning settings are changed from default to "error"
https://bugs.launchpad.net/bugs/636372
You received this bug notification because you are subscribed to PLD
Linux.

Status in PyGTK: GTK+ for Python: Unknown
Status in Fedora: Unknown
Status in PLD Linux Distribution: New

Bug description:
python-pygtk-2.16.0 causes python-2.7 to segfault if warning settings are changed from default to "error".
Because PyGTK-2.10+ throws only warnings applications which use PyGTK change warning settings to catch an exception while importing gtk module and X display is not available.

[kiesiu at beth ~]$ python -c "import warnings; warnings.filterwarnings('error', module='gtk'); import gtk"
python: Objects/dictobject.c:759: PyDict_SetItem: Assertion `value' failed.
Aborted

[kiesiu at beth ~]$ rpm -q python-pygtk-gtk
python-pygtk-gtk-2.16.0-2.i686

It's a known bug for upstream (https://bugzilla.gnome.org/show_bug.cgi?id=623965) and downstream (https://bugzilla.redhat.com/show_bug.cgi?id=621887).




More information about the pld-bugs mailing list