| Reply | « Previous Thread | Next Thread » |
|
location.gsm_location() fails during (and a few seconds after) an internet connection or a telephone call in 3G/UMTS-network, if using Series60 3rd edition phone.
Test environment:
Code:
import location, urllib, e32
print location.gsm_location()
urllib.urlretrieve("http://www.google.com", "D:/temp.html")
for i in range(20):
loc=location.gsm_location()
print "%d Loc: %s"%(i,loc)
if loc is not None:
print "got gsm-location"
break
e32.ao_sleep(1.0)
NOTES:
This problem does not occur in 2nd edition phones or in GMS-cells. If someone can confirm this bug, I'll send a bug report to sourceforge. |
|
Hi aaaaapo,
I'm not sure that will help but try with Try with Code:
urllib.urlretrieve("http://www.google.com", "D:\\temp.html")
LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
I have noticed the same problem with N80 and E60 phones. Even though Python has been signed with devcert it sometimes gives None for location.
- Teemu |
|
Hi aaaaapo,
i experienced the same problem during standard use of the gsm_location()-module on the N73. From time to time it just gives back "a none-array", which was causing my application to crash. ![]() |
|
Quote:
Quote:
|
|
Quote:
http://www.forum.nokia.com/document/...work_usage.htm (PyS60 uses the mentioned "CTelephony" internally) If this is the case, we most probably have to wait for the firmware update. |
|
Quote:
|
|
I can confirm it.
Mine is even worse: I always get "None". ![]() Equipment: Nokia N80. Python: 1.4.4 (3rdEd). Network: phone shows "vodafone P" (Portugal). |
|
Quote:
welcome to forum nokia pys60 dibo hav you signed your script shell with location capabilities. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| J2ME download fails on UK Orange network | shaneporter | Digital Rights Management & Content Downloading | 1 | 2002-11-15 18:11 |