Red Hat Bugzilla – Bug 596392
ImportError message for module gi when importing gtk
Last modified: 2010-05-28 01:22:38 EDT
Description of problem:
On rawhide just trying to import gtk shows some error messages
[tasaka1@localhost ~]$ python
Python 2.6.5 (r265:79063, May 25 2010, 16:22:37)
[GCC 4.4.4 20100518 (Red Hat 4.4.4-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:40: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
from gtk import _gtk
ImportError: No module named gi
Version-Release number of selected component (if applicable):
[tasaka1@localhost ~]$ rpm -q python gtk2 pygtk2
*** Bug 596572 has been marked as a duplicate of this bug. ***
Shoudl be resolved by http://koji.fedoraproject.org/koji/taskinfo?taskID=2213015
https://bugzilla.redhat.com/show_bug.cgi?id=596571 is probably a duplicate of this bug, too.
The update to pygobject2-2.21.1-9.fc14.i686 from koji, solved the problem. Specifically Bug 596572 which was marked as a duplicate of this bug.
This update also resolved https://bugzilla.redhat.com/show_bug.cgi?id=596571. How do I get that nice lined out "Bug nnnnn" instead of the link? :)
*** Bug 596571 has been marked as a duplicate of this bug. ***
Works for me, thanks. Closing for now.