[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
Wed Sep 22 11:14:33 CEST 2010


Glen,
There is some unresolved dependency on directory:

python-pygtk-gtk-2.16.0-3.i686 obsoleted by python-pygtk-gtk-2.16.0-4.i686
  greedy upgrade python-pygtk-glade-2.16.0-3.i686 to 2.16.0-4.i686 (unresolved python-pygtk-gtk = 2:2.16.0-3)
   python-pygtk-glade-2.16.0-3.i686 obsoleted by python-pygtk-glade-2.16.0-4.i686
error: python-pygtk-glade-2.16.0-4.i686: req /usr/lib/python2.7/site-packages/gtk-2.0/gtk not found
python-pygtk-gtk-2.16.0-4.i686 marks python-pygtk-atk-2.16.0-4.i686 (cap python-pygtk-atk = 2:2.16.0-4)
 python-pygtk-atk-2.16.0-3.i686 obsoleted by python-pygtk-atk-2.16.0-4.i686
python-pygtk-gtk-2.16.0-4.i686 marks python-pygtk-pango-2.16.0-4.i686 (cap python-pygtk-pango = 2:2.16.0-4)
 python-pygtk-pango-2.16.0-3.i686 obsoleted by python-pygtk-pango-2.16.0-4.i686
There are 4 packages to install (3 marked by dependencies), 4 to remove:

But poldek shows that this directory is already provided:

poldek:/all-avail> desc -f python-pygtk-gtk-2.16.0-4.i686 
Package:        python-pygtk-gtk-2.16.0-4.i686
/usr/lib/python2.7/site-packages/gtk-2.0:  gtkunixprint.so
/usr/lib/python2.7/site-packages/gtk-2.0/gtk:  __init__.pyc, __init__.pyo, _gtk.so, _lazyutils.pyc, _lazyutils.pyo, compat.pyc, compat.pyo, 
    deprecation.pyc, deprecation.pyo, keysyms.pyc, keysyms.pyo

Any thoughts about this?

-- 
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: Confirmed
Status in Fedora: Unknown
Status in PLD Linux Distribution: Fix Committed

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