Peter a écrit : > On Tue, Oct 20, 2009 at 11:39 PM, Thomas Vander Stichele > <[email protected]> wrote: >> Replying to myself here. After trying the example plugin in my moovida >> 1.0.7 as updated by my moovida 1.0.6 rpm, loading of one of them fails: >> Traceback (most recent call last): >> File >> "/usr/lib/python2.6/site-packages/twisted/internet/gtk2reactor.py", line >> 225, in simulate >> self.runUntilCurrent() >> File "/usr/lib/python2.6/site-packages/twisted/internet/base.py", line >> 757, in runUntilCurrent >> call.func(*call.args, **call.kw) >> File "/usr/lib/python2.6/site-packages/twisted/internet/task.py", line >> 251, in _tick >> result = iterator.next() >> File >> "/home/thomas/.moovida/plugins/elisa-1.0.7.egg/elisa/core/manager.py", >> line 101, in load_components_iter >> >> --- <exception caught here> --- >> File >> "/home/thomas/.moovida/plugins/elisa-1.0.7.egg/elisa/core/plugin_registry.py", >> line 1106, in create_component >> >> File "/usr/lib/python2.6/site-packages/twisted/python/reflect.py", >> line 456, in namedAny >> topLevelPackage = _importAndCheckStack(trialname) >> File >> "/home/thomas/flu/moovida/elisa-plugin-example/elisa/plugins/example/api_menu.py", >> line 57, in <module> >> from elisa.plugins.poblesec.actions import >> OpenControllerActionWithItem >> exceptions.ImportError: cannot import name OpenControllerActionWithItem >> >> It seems OpenControllerActionWithItem was added after 1.0.7 > > I had the same thing using the latest Moovida from bzr, > http://www.moovida.com/forums/viewtopic.php?id=1353 > > I haven't filed a bug on this yet as suggested (I've been too busy). > > Peter
The OpenControllerActionWithItem class was introduced with revision 1517 in the master branch (lp:elisa), and is part of the 1.0.7 release. I'll investigate the issue. Cheers, Olivier
