gir1.2-grip isn't usable in python
Bug #861596 reported by
Kiwinote
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libgrip |
Fix Released
|
Medium
|
Stephen M. Webb |
Bug Description
Steps to reproduce:
- install gir1.2-grip from oneiric
- uninstall python-grip (as it has it's own bug)
- start python and type 'from gi.repository import Grip'
>>> from gi.repository import Grip
ERROR:root:Could not find any typelib for Grip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name Grip
Workaround:
It seems that copying /usr/lib/
Related branches
lp:~bregma/libgrip/lp-861596
- Chase Douglas (community): Approve
-
Diff: 146 lines (+34/-23)5 files modifiedexamples/rectangle-mover/Makefile.am (+1/-1)
examples/rectangle-mover/gesture.c (+4/-2)
src/Makefile.am (+13/-12)
src/gripinputdevice.c (+4/-4)
src/gripinputdevice.h (+12/-4)
Changed in libgrip: | |
status: | Triaged → In Progress |
assignee: | nobody → Stephen M. Webb (bregma) |
milestone: | none → 0.3.3 |
Changed in libgrip: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Indeed, the girepository requires versioning built into its file names.
Solving this will require either an expert in GIR or a learning curve, whichever comes first.