Package: gir1.2-granite-1.0
Version: 5.1.0-1
I'm trying to use libgranite gtk widgets from python and running into
the following problem on debian sid:
$ sudo apt-get install libgranite-dev gir1.2-granite
$ python3 -c 'from gi.repository import Granite;
Granite.WidgetsSourceList()'
-c:1: PyGIWarning: Granite was imported without specifying a version first. Use
gi.require_version('Granite', '1.0') before import to ensure that the right
version gets
loaded./usr/lib/python3/dist-packages/gi/overrides/__init__.py:326: Warning:
cannot retrieve class for invalid (unclassed) type 'void' return
super_init_func(self, **new_kwargs)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line
326, in new_init return super_init_func(self, **new_kwargs)
TypeError: could not get a reference to type class
I suspect there's a bug with how these bindings were built, in
particular /usr/share/gir-1.0/Granite-1.0.gir is missing shared-library=
entry which seems wrong.
--
Ivan