Hello everyone!
I coded a python application that uses threads to get data via urllib from external data servers while displaying graphics simultaneously.
But this app doesn't work as expected since my phone (E51) reboots one or two seconds after starting my app via PythonShell. PythonShell seems to be correctly signed. Access to network, bluetooth via locationrequestor and local files seems to be no problem. The problem seems to be caused by starting a thread via python "thread" module. It takes a about two or three seconds before my phone reboots if using python 1.4.4. Python 1.9.7 does not crash/reboot the whole phone but python hangs for some time and quits after 30 seconds by itself (in rare conditions it hangs forever and cannot be stopped/killed by red hangup button).
My thread does some I/O operations to local filesystem and tries to get data via urllib. On first HTTP connection this thread asks to select an accesspoint (WLAN, GPRS).
Even disabling network access within the thread doesn't solve this problem.
Is there something I missed? How can I track this problem down?
Thanks!

Reply With Quote



