According to my system gobject should be also fixed:
AttributeError: 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". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183
So I converted it too:
- import gobject
+ try:
+ from gi.repository import GObject as gobject
+ except ImportError:
+ import gobject
Thanks for the patch Carlo,
According to my system gobject should be also fixed:
AttributeError: 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". See: https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 709183
So I converted it too:
- import gobject
+ try:
+ from gi.repository import GObject as gobject
+ except ImportError:
+ import gobject