I created a SIS of my application in order to distribuite it.
When I install it on a E61 phone in the Phone Memory (same as Python Runtime) the application works fine.
But when I install it on a E65 in the Memory Card (same as Python Runtime) I cannot able to display the image.
I got this error:
I used PyS60 Application Packager with following settings:Code:File "ext\amaretto\graphics\src\graphics.py", line 85, in open ... KErrPathNotFound
- Script directory: mydir
- Additional options: --extrasdir=extras
Where mydir has following subdirectories tree (including mydir):
mydir\extras\data\python
In "python" folder I put the scripts to import
In "mydir" folder I put "default.py" and the image "logo.gif".
In "default.py" I have following code:
Can anybody help me?Code:sys.path.append("e:\\data\\python") sys.path.append("e:\\sys\\bin") import graphics ... self.logo_img = graphics.Image.open("logo.gif")
Thank you
Giovanni

Reply With Quote


