gir1.2-grip isn't usable in python

Bug #861596 reported by Kiwinote
6
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/girepository-1.0/Grip.typelib to eg .../Grip-1.0.typelib solves this issue - this may indicate that we require typelib versioning in python.

Related branches

Revision history for this message
Stephen M. Webb (bregma) wrote :

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.

Changed in libgrip:
status: New → Triaged
importance: Undecided → Medium
Stephen M. Webb (bregma)
Changed in libgrip:
status: Triaged → In Progress
assignee: nobody → Stephen M. Webb (bregma)
milestone: none → 0.3.3
Stephen M. Webb (bregma)
Changed in libgrip:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.