| Reply | « Previous Thread | Next Thread » |
|
Hi
I am using Python 1.4 version, I am getting Python crash and Kernel-EXEC:0 message when calling telephone module function within the thread. The code is somewhat like this def tel_MO_call(string): print string time.sleep(5) telephone.dial('9952510187') e32.ao_sleep(2) telephone.hangup() def createthread(): thread.start_new_thread(tel_MO_call,("thread1",)) e32.ao_yield() createthread() If i remove the functions telephone.dial('9952510187') and telephone.hangup(). the code will work without problem thanks sobin |
| sobinonline |
| View Public Profile |
| Find all posts by sobinonline |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
welcome to forum nokia Python discussion boards. ![]() I am not sure but the problem may be the telephone module might be using any GUI component thats why its causing the Python to crash. Enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Hi
I think there is problem in threads in Python S60 1.4 edition, i.e there is issue when calling mudule functions inside the threads. ![]() |
| sobinonline |
| View Public Profile |
| Find all posts by sobinonline |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
As such there is no problem with the thread module but as i have already said you cant use the UI components with the module. Moreover as suggested by some of my good freinds you can have a look at the threading module in the new Python 1.9.2. Hope this helps you Enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Quote:
. So , just sit & think of an alternative logic. If u r not able to make any other logic , then ask here with more details of ur program. We will surely help u in making another logic . .Else test it on python 1.9.2 . Hope it helps u..Best Regards, SajiSoft "The purpose of software engineering is to control complexity, not to create it." --§ajid Ali Anjum-- http://sajisoft.wordpress.com/ |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| regarding building Qt on S60 | prajna123 | Qt for Symbian | 14 | 2008-12-12 09:12 |
| Problems withSDK emulator | kassinen | Symbian Tools & SDKs | 4 | 2008-12-01 13:30 |
| Help debugging Keypress module crashing with python 1.4.0 and 1.4.1 - S60v3 | xraimon | Python | 2 | 2007-10-18 01:02 |
| Prevent python getting closed by kernel | prashanth_ym | Python | 2 | 2007-05-21 11:30 |
| calling python function from C | vipul.mobiance | Python | 1 | 2005-12-12 14:18 |