Confirmed that it's fixed upstream. Test case:
$ python -c 'from gi.repository import GObject, Gtk; print GObject.property(type=Gtk.TextIter)' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/gi/_gobject/propertyhelper.py", line 111, in __init__ self.type = self._type_from_python(type) File "/usr/lib/python2.7/dist-packages/gi/_gobject/propertyhelper.py", line 202, in _type_from_python raise TypeError("Unsupported type: %r" % (type_,)) TypeError: Unsupported type: <class 'gi.overrides.Gtk.TextIter'>
$ jhbuild run python -c 'from gi.repository import GObject, Gtk; print GObject.property(type=Gtk.TextIter)' Gtk-Message: Failed to load module "canberra-gtk-module" Gtk-Message: Failed to load module "canberra-gtk-module" <gobject property (uninitialized) (GtkTextIter)>
Comment 4 points to the actual fix, we should also get http://git.gnome.org/browse/pygobject/commit/?id=bef8d385 for the corresponding test case.
Confirmed that it's fixed upstream. Test case:
$ python -c 'from gi.repository import GObject, Gtk; print GObject. property( type=Gtk. TextIter) ' python2. 7/dist- packages/ gi/_gobject/ propertyhelper. py", line 111, in __init__ from_python( type) python2. 7/dist- packages/ gi/_gobject/ propertyhelper. py", line 202, in _type_from_python "Unsupported type: %r" % (type_,)) Gtk.TextIter' >
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
self.type = self._type_
File "/usr/lib/
raise TypeError(
TypeError: Unsupported type: <class 'gi.overrides.
$ jhbuild run python -c 'from gi.repository import GObject, Gtk; print GObject. property( type=Gtk. TextIter) ' gtk-module" gtk-module"
Gtk-Message: Failed to load module "canberra-
Gtk-Message: Failed to load module "canberra-
<gobject property (uninitialized) (GtkTextIter)>
Comment 4 points to the actual fix, we should also get http:// git.gnome. org/browse/ pygobject/ commit/ ?id=bef8d385 for the corresponding test case.