Hello,
I was playing with both mod_python and PSP and I found that every script I make (.py or .psp) which tries to use the appuifw module fails returning the following error:
"ImportError: No module named _appuifw"
I even tried to write a very small script which first import all the modules described in the Python for S60 documentation and then just takes a picture via the camera.take_photo function: it works as long as I add to the import list the appuifw module, then it gives me:
BTW the test script goes like:Code:Mod_python error: "PythonHandler mod_python.psp" Traceback (most recent call last): File "E:\system\libs\mod_python\apache.py", line 303, in HandlerDispatch result = object(req) File "E:\system\libs\mod_python\psp.py", line 331, in handler p.run() File "E:\system\libs\mod_python\psp.py", line 237, in run exec code in global_scope File "E:/data/apache/mod_python/psp/ciccia.psp", line 2, in ? import appuifw File "E:\system\libs\appuifw.py", line 14, in ? import _appuifw ImportError: No module named _appuifw
Are there some issues with appuifw module and mod_python/PSP?Code:<% import appuifw import camera import audio import graphics import messaging import calendar import contacts import e32 import e32db import e32dbm import inbox import keycapture import socket import sysinfo import telephone import thread import topwindow import location image = camera.take_photo(size = (160,120)) filename=u'e:\\camera.jpg' image.save(filename) %>
Thanks,
Ernesto Ferrari




