Detlev Offenbach
Fri, 25 Apr 2008 13:19:35 -0700
On Mittwoch, 23. April 2008, Neil Wallace wrote: > Hi all, > > This may be unique to my setup, but maybe this will be of use to others, > so I'll share. > I found that Eric4 was baulking when I tried to open a file such as > "/home/neil/prog/my\ gui.py", whether via a launcher or from the command > line i.e. $eric4 /home/neil/prog/my\ gui.py > > The problem was that the arguments got hashed up, and Eric assumed I was > to edit 2 files "/home/neil/prog/my" and "gui.py" , neither of which > exist of course. > > Anyway, the problem was in the shell script /usr/local/bin/eric4 > I changed the following line > exec "/usr/bin/python" "/usr/lib/python2.5/site-packages/eric4/eric4.py" $* > to > exec "/usr/bin/python" "/usr/lib/python2.5/site-packages/eric4/eric4.py" > "$*" The correct fix is exec "/usr/bin/python" "/usr/lib/python2.5/site-packages/eric4/eric4.py" "$@" Detlev > > (quotes around $*) > > Regards > > Neil. > > > > _________________________________________________________________ > Be a superhero and win! Play the Iron Man Mashup Game > http://www.ironmanmashup.co.uk -- Detlev Offenbach [EMAIL PROTECTED] _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt