[gedit-list] python gedit plugin error



Hello. I start to make gedit plugin on python/gtk. I make it with help
of leadership gedit plugin how to. For example i have:

import gedit
class ExamplePyPlugin(gedit.Plugin):
    def activate(self, window):
        pass
    def deactivate(self, window):
        pass
    def update_ui(self, window):
        pass

but after python __init.py__ I see:

Traceback (most recent call last):
  File "__init__.py", line 23, in <module>
    import gedit
  File "/home/shk/gedit-2.22.0/plugins/zoom/gedit.py", line 28, in <module>
    import pyatspi
  File "/usr/lib/python2.5/site-packages/pyatspi/__init__.py", line
44, in <module>
    reg = bonobo.activation.activate_from_id(REGISTRY_IID, 0, 0)
Bonobo.GeneralError


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]