Bug#760946: ImportError: could not import gobject (could not find _PyGObject_API object)

Olivier Berger olivier.berger at telecom-sudparis.eu
Wed Sep 24 08:24:13 UTC 2014


Hi.

On Tue, Sep 09, 2014 at 01:37:04PM +0200, Olivier Berger wrote:
> 
> I've been unable to start pysshmenu, which uses the following code :
> 
...
> 
> which results in :
> $ /usr/bin/pysshmenu
> 
> ** (pysshmenu:23359): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
> Traceback (most recent call last):
>   File "/usr/bin/pysshmenu", line 32, in <module>
>     import gconf
> ImportError: could not import gobject (could not find _PyGObject_API object)
> 
> I don't understand what's happening, since there's no problem in importing gconf without the preceding imports.
> 

AFAIU, this is not related to gconf itself, but more to the fact that it has been deprecated and replaced by GSettings, which applications using GTK+3 should now be using instead.

Maybe this should be closed, then... but ideally, there should be some deprecation message instead of an import error, IMHO...

I'd appreciated some confirmation of my analysis by someone more connected to Gnome/Gtk3 changes.

Hope this helps.

Best regards,

-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)




More information about the pkg-gnome-maintainers mailing list