1
Python / Installing App In Qtopia
« on: April 12, 2005, 11:42:18 am »
I expected to be able to do what you described. To be precise, I put the name of the script in the Exec= line, and I put the script in /home/QtPalmtop/bin. However, when I tested this configuration from the command prompt, it would freeze, and from the icon it would fail. I did some more testing this morning and figured out that the problem arises when I specify the environment variable. That is, the program will run (from the command line) when the first line is:
#! /usr/bin/env python
but not when it is:
#! /usr/bin/env PYTHONPATH=/home/zaurus/lib/python python
For now, I will stick with the solution that works for me, but I would still be interested in any insights into what is going wrong here.
There is still an advantage to the configuration that I described (geojeff did, actually) in that one can specify redirection using that technique to capture output from your script.
#! /usr/bin/env python
but not when it is:
#! /usr/bin/env PYTHONPATH=/home/zaurus/lib/python python
For now, I will stick with the solution that works for me, but I would still be interested in any insights into what is going wrong here.
There is still an advantage to the configuration that I described (geojeff did, actually) in that one can specify redirection using that technique to capture output from your script.