E2 + Python "AttributeError"

  • I am trying to upgrade the Enigma2 from 2009.10.17 and i have tried to change the enigma2 & enigma2.sh files in the \usr\bin directory only.
    I tried both 2.6 and 2.7 and in both cases the error below is reported on the console.


    Traceback (most recent call last):
    File "/usr/lib/enigma2/python/mytest.py", line 3, in <module>
    import enigma
    File "/usr/lib/enigma2/python/enigma.py", line 1281, in <module>
    class eGauge (eWidget):
    File "/usr/lib/enigma2/python/enigma.py", line 1286, in eGauge
    __swig_destroy__=_enigma.delete_eGauge
    AttributeError: 'module' object has no attribute 'delete_eGauge'


    If i change them back to the files that came with the image, the error is no longer there.
    I note that Nab Hyperspace uses a later enigma2 version, but doesn't have a problem (i suspect because the functionality of the information page with the gauges has been removed).


    any ideas?