[maemo-developers] [maemo-developers] python question
From: Ian vern at riseup.netDate: Wed Apr 26 22:21:19 EEST 2006
- Previous message: [maemo-developers] gstreamer launcher (proper video sink?)
- Next message: [maemo-developers] python question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ola, I am playing around with python.I have an app teemu wrote (http://www.teemuharju.net/2006/01/26/coding-for-nokia-770-using-python-part-1/) which seems to work on scratchbox. My .desktop file looks like: [Desktop Entry] Encoding=UTF-8 Version=1.0 Name=Python on the 770 Comment=Python Exec=/usr/lib/python2.4 uitest.py Icon=qgn_list_gene_default_app Terminal=false Type=Application X-HildonDesk-ShowInToolbar=true Not sure of what to put in the Exec part of this file. The file itself (uitest.py) is in /home/user/uitest.py I found out my python path using: Python 2.4.2 (#2, Jan 16 2006, 11:34:59) [GCC 3.3.4 (Debian)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.path ['', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/gtk-2.0', '/usr/lib/site-python'] when i click the app it bums out with: [sbox-SDK_PC: ~] > maemo_af_desktop[27364]: Failed to execute /usr/lib/python2.4 uitest.py: Failed to execute child process "/usr/lib/python2.4 uitest.py" (No such file or directory) Any ideas?? []'s Ian -- .''`. : :' : `. `'` `- Orgulhoso ser MetaRecicleiro
- Previous message: [maemo-developers] gstreamer launcher (proper video sink?)
- Next message: [maemo-developers] python question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]