[Pythonmac-SIG] Packagemanager in new install

Jan de Leeuw deleeuw at stat.ucla.edu
Wed Jul 2 16:32:11 EDT 2003


This was from the new binary installer. Just to make sure, I renamed
my old framework, and did a fresh install. Same problem. With the
additional print command

print(execdir,executable,sys.argv[0],sys.prefix)

I get


('/Applications/MacPython-2.3/PackageManager.app/Contents/MacOS',  
'/Applications/MacPython-2.3/PackageManager.app/Contents/MacOS/ 
python.exe',  
'/Applications/MacPython-2.3/PackageManager.app/Contents/MacOS/ 
PackageManager', '/Library/Frameworks/Python.framework/Versions/2.3')
Traceback (most recent call last):
   File  
"/Applications/MacPython-2.3/PackageManager.app/Contents/MacOS/ 
PackageManager", line 18, in ?
     os.execve(executable, sys.argv, os.environ)
OSError: [Errno 2] No such file or directory


On Wednesday, Jul 2, 2003, at 15:06 US/Pacific, Jack Jansen wrote:

>
> On woensdag, jul 2, 2003, at 18:52 Europe/Amsterdam, Jan de Leeuw  
> wrote:
>
>> Does less than before (when it choked on wxPython). Now
>>
>> Traceback (most recent call last):
>>   File  
>> "/Users/deleeuw/Applications/Programming/MacPython-2.3/ 
>> PackageManager.app/Contents/MacOS/PackageManager", line 17, in ?
>>     os.execve(executable, sys.argv, os.environ)
>> OSError: [Errno 2] No such file or directory
>>
>> Does it need to be in /Applications ?
>
> Hmm, strange. Did you move the applet after building it (or installing  
> it from a binary
> installer)? Even so, the applets should be robust against this. The  
> only thing you
> should not move is the Python.framework. Did you do so by any chance?  
> If you did we
> should warn against this in the documentation...
>
> To debug this, could you edit the file mentioned in the traceback  
> (it's a Python script
> that is used as the bootstrap in the applet) and just before the  
> failing os.execve()
> print execdir, executable, sys.argv[0] and sys.prefix?
>
> --
> - Jack Jansen        <Jack.Jansen at oratrix.com>         
> http://www.cwi.nl/~jack -
> - If I can't dance I don't want to be part of your revolution -- Emma  
> Goldman -
>
>
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au
   
------------------------------------------------------------------------ 
-------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2707 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20030702/f617603f/attachment.bin


More information about the Pythonmac-SIG mailing list