Bug#590680: ImportError: cannot import name GObject

Torquil Macdonald Sørensen torquil at gmail.com
Wed Jul 28 13:44:16 UTC 2010


On 28/07/10 14:31, Emilio Pozuelo Monfort wrote:
> reassign 590680 gir1.0-glib-2.0
> thanks
>
> On 28/07/10 14:07, Torquil Macdonald Sørensen wrote:
>> from gtk import _gtk
>> Traceback (most recent call last):
>> File "/usr/lib/pymodules/python2.6/gtk-2.0/gi/__init__.py", line 27, in<module>
>> from gi.repository import GObject
>> ImportError: cannot import name GObject
>
> that's not from python-gobject but from gir1.0-glib-2.0 I think. Do you have
> that package installed? If not, does installing it solve the issue?
>
> Regards,
> Emilio

Ah, thats might interesting and helpful! I did not have it installed, but now I 
do. Now my "exaile" is working again :-) , and reportbug doesn't print as many 
error messages on startup. Now it is only:

** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)

which I will live with without reporting it since it will probably be fixed some 
time later.

Should I just close this report, or should some package depend on the 
gir1.2-glib package?

Thanks again Emilio!
Torquil Sørensen






More information about the pkg-gnome-maintainers mailing list