On 11/15/2015 03:51 AM, Peter Koellner wrote: > Hi! > > I am using enlightenment on a current debian laptop where I already have > thrown out all the gnome-3 stuff. Yesterday I had to prepare for using the > broadband connector, so I was wondering how to configure it. > Now the thing is: econnman just does not work. I just updated from efl > 1.15.2/elementary 1.19.2 to efl 1.16.0/elementary 1.19.3, but it stays broken. > > The first error message I got: > > $ econnman-bin > Traceback (most recent call last): > File "/usr/local/bin/econnman-bin", line 45, in <module> > import elementary as elm > File "/usr/local/lib/python2.7/dist-packages/elementary/__init__.py", > line 2, in <module> > from efl.elementary.actionslider import * > File "efl/elementary/actionslider.pyx", line 219, in init > efl.elementary.actionslider (efl/elementary/actionslider.c:4000) > File "efl.eo.pyx", line 102, in efl.eo._object_mapping_register > (efl/eo/efl.eo.c:1445) > ValueError: Object type name 'Elm_Actionslider' already registered. > > ... was a trap, since there were some old python packages in > /usr/local/lib/python2.7/dist-packages that never got removed when the > structure changed some time ago. > > After some probing around, I found that the imports for efl.* in econnman-bin > are closed in a try block, with the catchall-except block starting with an > "import elementary" statement, which by chance still existed and imported old > crap. > > So I just changed the 'except:' to 'except ImportError:' to see what type of > exception really happens: > > $ econnman-bin > Traceback (most recent call last): > File "/usr/local/bin/econnman-bin", line 25, in <module> > from efl.elementary.window import Window, ELM_WIN_BASIC, \ > File "efl/elementary/window.pyx", line 1, in init efl.elementary.window > (efl/elementary/window.c:21839) > File "efl/elementary/object_item.pxd", line 73, in init > efl.elementary.object (efl/elementary/object.c:24613) > File "efl/elementary/object_item.pyx", line 1, in init > efl.elementary.object_item (efl/elementary/object_item.c:11094) > File "efl/elementary/general.pyx", line 416, in init > efl.elementary.general (efl/elementary/general.c:9201) > File "efl/ecore/efl.ecore_events.pxi", line 23, in > efl.ecore.__init__._event_mapping_register (efl/ecore/__init__.c:13128) > ValueError: event type '55' already registered. > > I have cleaned up the python dist-packages directory, reconfigured and > recompiled efl, elementary and then removed the build dir from python-efl > sources, rebuild and reinstalled that, but still the same error: > > Traceback (most recent call last): > File "/usr/local/bin/econnman-bin", line 25, in <module> > from efl.elementary.window import Window, ELM_WIN_BASIC, \ > File "efl/elementary/window.pyx", line 1, in init efl.elementary.window > (efl/elementary/window.c:21839) > File "efl/elementary/object_item.pxd", line 73, in init > efl.elementary.object (efl/elementary/object.c:24613) > File "efl/elementary/object_item.pyx", line 1, in init > efl.elementary.object_item (efl/elementary/object_item.c:11094) > File "efl/elementary/general.pyx", line 416, in init > efl.elementary.general (efl/elementary/general.c:9201) > File "efl.ecore_events.pxi", line 23, in > efl.ecore._event_mapping_register (efl/ecore/efl.ecore.c:13214) > ValueError: event type '55' already registered. > > > After quite some searching I found the file in > python-efl-1.15.0/efl/ecore/efl.ecore_events.pxi but the real problem seems > to be in the (generated?) file efl/elementary/window.c, which has a timestamp > from may 4th 2015 and comes with the tar archive (checked with a fresh copy). > > Sooooo.... Shouldn't there be an update of python-efl for efl 1.16.0? Anybody > working on that and/or econnman? > > Also, python developers, please narrow down except statements like this one > in econnman-bin.in to ONLY catch those exceptions the except block is planned > for, they can be quite the waste of time when looking what is going wrong. > > My workaround for now will be manual configuration of the network setup like > in the olden days ;-) > > regards > There is a python-efl for 1.16 in the works. Should be officially around in a day or too if you would like to test it, its currently sitting in https://download.enlightenment.org/pre-releases/
As for econnman no one is actively maintaining it as far as i'm aware but if you submit patches with arc / phab i'm sure someone can be found to review them. Cheers Simon ------------------------------------------------------------------------------ _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
