Bug#760946: ImportError: could not import gobject (could not find _PyGObject_API object)
Olivier Berger
olivier.berger at telecom-sudparis.eu
Tue Sep 9 11:37:04 UTC 2014
Package: python-gconf
Version: 2.28.1+dfsg-1
Severity: normal
Dear Maintainer,
I've been unable to start pysshmenu, which uses the following code :
#!/usr/bin/python
'''
...
'''
from gi.repository import Gtk, Gdk
import copy
import re
import subprocess
import os
import yaml
import shutil
import gconf
import glib
import webbrowser
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.
This looks very much like something that appeared in #725665 for nautilus a while ago.
Thanks in advance.
Best regards,
-- System Information:
Debian Release: jessie/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-gconf depends on:
ii libc6 2.19-10
ii libgconf2-4 3.2.6-3
ii libglib2.0-0 2.40.0-5
ii python 2.7.8-1
ii python-gobject-2 2.28.6-12+b1
ii python2.7 2.7.8-6
python-gconf recommends no packages.
Versions of packages python-gconf suggests:
pn python-gnome2-doc <none>
-- debconf-show failed
More information about the pkg-gnome-maintainers
mailing list