Hi PyS60 community,
I can't use e32.start_service() on the emulator.
Even the most simple invocation results in a User 42 Panic that shuts down the Python interpreter.
The most simple code that I tried is this:
simplestarter.py:
import e32
e32.start_server(u"c:\\python\\simpleserver.py")
simpleserver.py:
print "i am a simple server"
I start simplestarter.py via the "Run Script" Menu Option. Needless to say that I double checked if simpleserver.py is in the directory (as supposed to be I get a KErrNotFound error if I alter the location so simplestarter is finding the script).
At this basic point I'm not sure how to do debugging. I believe that the Python installation works all right - I can run more complicated scripts (with UI and Sockets and so on) just fine. As long as I don't invoke e32.start_server().
Can somebody point me to the obvious thing I am doing wrong please? :-)
Thanks for your time.
Valentin
PS: I'm using the PyS60 1.4.2 distribution compiled from source on Windows XP Professional SP2