I'm trying to make a python script run on PAMP, I installed the latest version yesterday on my N95 8GB.
The script should fetch the positioning data and output it either in JSON or XML.
My test code looks like this:
Running on the server produces this output:
from mod_python import apache, util
req.content_type = 'text/plain'
req.encoding = "UTF-8"
request_data = util.FieldStorage(req)
req.write( positioning.modules() )
I have browsed through a lot of documentation, but without getting the help I need, so I hope someone in here might help me out. I guess the application has to be signed, but how do I do that with a python script on PAMP?
Mod_python error: "PythonHandler test"
Traceback (most recent call last):
File "c:\resource\mod_python\apache.py", line 395, in HandlerDispatch
result = object(req)
File "E:/data/apache/htdocs/PAMP/test.py", line 16, in handler
File "c:\resource\positioning.py", line 74, in set_requestors
SymbianError: [Errno -46] KErrPermissionDenied