[wxPython-users] Re: wxPython on Mac crashes
Robin Dunn
robin at alldunn.com
Fri May 25 12:20:20 PDT 2007
Dominique wrote:
> Hello,
>
> First thanks to all for the swift replys.
>
> Having upgraded both Python and wxPython to the latest versions,
> now drPython runs, but unfortunately only half.... which is
> better than nothing I agree.
>
> The problem is that it refuses to run any program,
> claiming in its shell that execvp, which is a python function,
> failed with error 2.
> No matter what the program I want to run is, it is the only answer.
>
> Example of shell:
> Applications/MacPython 2.5/IDLE.app/Contents/MacOS/Python
> -u "/Volumes/Macintosh HD/Users/ag/Desktop/COMPTAS/ECV/nbtest.py"
> execvp(/Applications/MacPython, 2.5/IDLE.app/Contents/MacOS/Python, -u,
> /Volumes/Macintosh HD/Users/ag/Desktop/COMPTAS/ECV
> /nbtest.py) failed with error 2!
>
> If you have good ideas to solve this...
First, why are you using the Python in the IDLE.app bundle? Second,
since the pathname of the executable has a space in it then you probably
need to enclose it in quotes too.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list