Joe Heafner wrote:
> Can anyone see something in this script, which was installed with the
> visual-py25 package, that would prevent Platypus from running it? I'm
> absolutely positive that X11.app is already running. Using top from a
> Terminal, I see that the python2.5 process starts but abruptly
> terminates and IDLE never starts. I have tried everything I can think
> of including manually typing the script into Platypus' script editor
> and manually specifying environment variables in Platypus. Platypus'
> developer isn't responding to emails. Thus far, the only scripts I can
> get to work with Platypus are the ones that come with it. I'd
> appreciate any help.
>
> =====begin script
> #! /bin/sh
> # Variables determined by configure.
> PYTHON=/sw/bin/python2.5
>
> prefix=/sw
> [ -d ~/.idlerc ] || mkdir ~/.idlerc
> [ -r ~/.idlerc/config-main.cfg ] || cp
> /sw/share/doc/visual-py25/config-main.cfg ~/.idlerc/
> export BROWSER=${BROWSER:-open}
>
> visualexampledir=${prefix}/lib/python2.5/site-packages/visual/examples
> IDLE=/sw/bin/idle2.5
> PYTHONPATH=$PYTHONPATH
> export PYTHONPATH
>
> case "$1" in
> '-h') echo "USAGE: $0 [file]"
> echo "Default is to start in the examples directory: $visualexampledir"
> exit 1
> ;;
> '--help') echo "USAGE: $0 [file]"
> echo "Default is to start in the examples directory: $visualexampledir"
> exit 1
> ;;
> '')
> cd $visualexampledir
> $PYTHON $IDLE
> ;;
> *) $PYTHON $IDLE "$*"
> ;;
> esac
> =====end script
>
>
What happens if you run it manually in an X terminal?
--
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users