Comment 4 for bug 448665

Revision history for this message
datenteiler (datenteiler) wrote :

Hi,

same problem here in Karmic. I know that ensymble needs Python 2.5. Karmic is shipped with Python 2.6 but also contains 2.5. So I tried to start ensymble with Python 2.5 but it failed, too:

$ python2.5 /usr/bin/ensymble
Traceback (most recent call last):
  File "/usr/bin/ensymble", line 5, in <module>
    if imp.get_magic()!='\xd1\xf2\r\n':raise RuntimeError,s
RuntimeError: requires python 2.6.2+ or bytecode compatible

That's my workaround:

I've downloaded ensymble_python2.5-0.28.py

wget http://ensymble.googlecode.com/files/ensymble_python2.5-0.28.py

and copied it to ~/bin

Now I can start it with:

$ python2.5 ensymble_python2.5-0.28.py

Ensymble developer utilities for Symbian OS

usage: ensymble_python2.5-0.28.py command [command options]...

Commands:
    altere32 Alter the IDs and capabilities of e32image files (EXEs, DLLs)
    genuid Generate a new test-range UID from a name
    infoe32 Show the IDs and capabilities of e32image files (EXEs, DLLs)
    mergesis Merge several SIS packages into one
    py2sis Create a SIS package for a "Python for S60" application
    signsis Sign a SIS package
    simplesis Create a SIS package from a directory structure
    version Print Ensymble version

Use 'ensymble_python2.5-0.28.py command --help' to get command specific help.

Regards
Christian