python-grip isn't usable in python

Bug #861599 reported by Kiwinote
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stephen M. Webb

Bug Description

Steps to reproduce:
- fix gir1.2-grip in python as per the workaround in the other bug (bug 861596)
- ensure python-grip is installed from oneiric
- start python and type 'from gi.repository import Grip'
>>> from gi.repository import Grip
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/gi/", line 76, in load_module
  File "/usr/lib/python2.7/dist-packages/gi/", line 224, in _load
    overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
  File "/usr/lib/python2.7/dist-packages/gi/overrides/", line 29, in <module>
    Grip = modules['Grip'].introspection_module
  File "/usr/lib/python2.7/dist-packages/gi/", line 243, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib/python2.7/dist-packages/gi/", line 105, in __getattr__
    self.__name__, name))
AttributeError: 'gi.repository.Grip' object has no attribute 'introspection_module'

change 'Grip = modules['Grip'].introspection_module ' to 'Grip = modules['Grip']._introspection_module' in the source code at bindings/python/

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

Simple fix seems simple.

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  Edit
Everyone can see this information.

Other bug subscribers