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.
- PythonForS60_1_3_21_3rdEd_unsigned_freedevcert.SIS (signed with Ensymble and devcert with full caps)
- PythonScriptShell_1_3_21_3rdEd_unsigned_freedevcert.SIS (signed with Ensymble and devcert with full caps)
- Nokia E70 (firmware 2 and 3, tested both), fails in E65 too
- Elisa and Sonera 3G network in Helsinki, Finland
- A minimal test program:
Usually 10th gsm_location() gives me expected result (mcc,mnc,lac,cell), first 9 results none.
import location, urllib, e32
for i in range(20):
print "%d Loc: %s"%(i,loc)
if loc is not None:
print "got gsm-location"
- Your Python and script shell must be signed with at least Location capability
- Python must(?) be saved into phone's memory
- You have to be in 3G network (small 3G icon in phone's left top corner)
- Save code above as a file into C:/python/locbug.py
- Execute python and Run script "locbug.py"
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.