Hi Guys
When I make a test script directly in Python, fetching the cellId with gsm_location(), it works perfectly with the following code sample :
import location
gsmInfo = location.gsm_location()
print "" + gsmInfo
But when I use it in combination with a Mobile Web Server in the request handler method, the method location.gsm_location() returns None. Why is that?
def handler(req):
from mod_python import apache
import positioning, e32, location
gsmInfo = location.gsm_location()
cellId = unicode(gsmInfo [2])
I'm using the following :
PythonScript_shell 1_4_1 signed with my own dev cert
PythonForS60_1_4_1
Mobile Web Server beta 11
Nokia N95
Thanks in advance,
Alju




