Comment 1 for bug 829186

Martin Pitt (pitti) wrote :

$ /usr/share/oneconf/oneconf-service
Traceback (most recent call last):
  File "/usr/share/oneconf/oneconf-service", line 102, in <module>
    myservice = DbusHostsService(loop)
  File "/usr/share/oneconf/oneconf/dbusconnect.py", line 55, in __init__
    from oneconf.hosts import Hosts, HostError
  File "/usr/share/oneconf/oneconf/hosts.py", line 26, in <module>
    from gi.repository import Gio
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 23, in <module>
    from ._gi import _API, Repository
ImportError: could not import gobject (error was: ImportError('When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".',))