PyGtk applications crash with ImportError: /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/_gtk.so: undefined symbol: gtk_item_factory_get_widget_by_action
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygtk (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Every PyGtk application that I've tried to run started crashing after the last update with exception like this:
Traceback (most recent call last):
File "/usr/bin/sonata", line 126, in <module>
import gtk
File "/usr/lib/
from gtk import _gtk
ImportError: /usr/lib/
ImportError is the same for all of them.
I checked sonata, indicator-weather, indicator-
$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
$ apt-cache policy libgtk2.0-0
libgtk2.0-0:
Installed: 2.24.10-0ubuntu6
Candidate: 2.24.10-0ubuntu6
Version table:
*** 2.24.10-0ubuntu6 0
500 http://
500 http://
100 /var/lib/
$ apt-cache policy python-gtk2
python-gtk2:
Installed: 2.24.0-3
Candidate: 2.24.0-3
Version table:
*** 2.24.0-3 0
500 http://
500 http://
100 /var/lib/
$ apt-cache policy sonata
sonata:
Installed: 1.6.2.1-5
Candidate: 1.6.2.1-5
Version table:
*** 1.6.2.1-5 0
500 http://
500 http://
100 /var/lib/
Changed in pygtk (Ubuntu): | |
status: | Incomplete → New |
Thank you for your bug report, could you run "ldd /usr/lib/ python2. 7/dist- packages/ gtk-2.0/ gtk/_gtk. so" and add that to the bug? The issue is likely a /usr/local/ something installation