[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Eric4 on Ubuntu - file opening issue (FIXED)
From: Detlev Offenbach <detlev () die-offenbachs ! de>
Date: 2008-04-25 20:17:57
Message-ID: 200804252217.57915.detlev () die-offenbachs ! de
[Download RAW message or body]
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
detlev@die-offenbachs.de
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic