Bug#590680: ImportError: cannot import name GObject

Emilio Pozuelo Monfort pochu at debian.org
Wed Jul 28 14:10:33 UTC 2010


reassign 590680 python-gi
thanks

On 28/07/10 15:44, Torquil Macdonald Sørensen wrote:
> 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?

python-gi should depend on everything it needs. Reassigning.

Regards,
Emilio






More information about the pkg-gnome-maintainers mailing list