Hi,
i've experienced different situations when Python stops
responding when active objects are in use. Here's two
example scripts that I can reproduce on pys60 1.3.1 on
N70. The first one hangs in sound.Sound.play() and the
second one in select.select(), both when e32.ao_sleep()
has been called simultaneously.
First example:
1. run aolocktest.py on phone
2. press joystick => nokia tune will play
3. wait until title says "unlocked"
4. press joystick => nokia tune again
5. press joystick again while title says "locked"
6. title changes to "play()" and Python hangs
Second example:
1. run sleepbug.py on phone
2. press joystick => text changes to "pressed..."
3. wait until title says "unlocked"
4. press joystick => text changes again
5. press joystick again while title says "locked"
6. text changes to "waiting..." and Python hangs
Jarno
Jukka Laurila
e32
v1.3.1
Public
|
Date: 2007-06-12 18:47
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2007-06-12 18:47 | jplauril |
| close_date | - | 2007-06-12 18:47 | jplauril |
| assigned_to | vbartoni | 2007-06-12 18:47 | jplauril |
| resolution_id | None | 2007-06-12 18:47 | jplauril |
| priority | 5 | 2007-02-19 17:44 | jplauril |
| assigned_to | nobody | 2007-02-19 16:29 | jplauril |
| category_id | None | 2007-02-19 16:29 | jplauril |
| File Added | 191572: sleepbug.py | 2006-09-01 09:41 | jams |
| File Added | 191571: aolocktest.py | 2006-09-01 09:41 | jams |