[FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

Mirko Lindner mirko at openmoko.com
Mon Feb 9 16:59:37 CET 2009


Arigead wrote:

> Got python-edbus installed but still hitting problems with running
> paroli on MS5. My Python is not good enough for my looking at the code
> to have any point but if I get a chance later I'll try find the source
> of the problem. If anybody has any ideas in the mean time that would be
> great.
> root at om-gta02:~/paroli/paroli-scripts# DISPLAY=:0; python paroli-launcher
> Traceback (most recent call last):
>   File "paroli-launcher", line 58, in <module>
>     import tichy
>   File "../paroli-core/tichy/__init__.py", line 42, in <module>
>     import gui_paroli as gui
>   File "../paroli-core/tichy/gui_paroli/__init__.py", line 27, in <module>
>     import ecore.x
>   File "/usr/lib/python2.6/site-packages/ecore/x/__init__.py", line 266,
> in <module>
>     init()
>   File "ecore.x.c_ecore_x.pyx", line 38, in ecore.x.c_ecore_x.init
> (ecore/x/ecore.x.c_ecore_x.c:2034)
>   File "ecore.x.c_ecore_x_events.pxi", line 657, in
> ecore.x.c_ecore_x.x_events_register (ecore/x/ecore.x.c_ecore_x.c:12557)
>   File "ecore.c_ecore_events.pxi", line 27, in
> ecore.c_ecore._event_mapping_register (ecore/ecore.c_ecore.c:7245)
> ValueError: event type '0' already registered.

Yepp, it is an error in the python bindings of ecore.x. The easiest way 
to get around this error is to remove the import call in 
../paroli-core/tichy/gui_paroli/__init__.py", line 27. We don't use the 
module currently. I will also remove it in the git.

Not sure since when the module is broken, in the version of MS5 that I 
have all is still working even when importing that module.


More information about the community mailing list