Possibly (untested):

if 'gi.repository' in sys.modules:
    from gi.repository import GObject
else:
    try:
        import gobject as GObject
    except:
        from gi.repository import GObject

?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028640

Title:
  session-installer crashed with TypeError in _on_property_changed():
  could not convert type dbus.Array to PyObject required for parameter 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1028640/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to