[Pythonmac-SIG] Need help debugging Python documentation install

Tony Lownds tony@lownds.com
Thu, 29 Aug 2002 09:10:58 -0700


>- cvs update
>- make frameworkinstall

This step failed for me; the error I get is below. This bug may be 
manifesting itself because I build in a separate tree from the 
source. I did remove the existing 
/Library/Frameworks/Python.framework and /Applications/Python/ first.

-Tony

/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Contents/MacOS/python 
../python/dist/src/Mac/scripts/BuildApplet.py \
         --output 
/Library/Frameworks/../../Applications/Python/BuildApplet.app \
         ../python/dist/src/Mac/scripts/BuildApplet.py
Traceback (most recent call last):
   File "../python/dist/src/Mac/scripts/BuildApplet.py", line 127, in ?
     main()
   File "../python/dist/src/Mac/scripts/BuildApplet.py", line 22, in main
     buildapplet()
   File "../python/dist/src/Mac/scripts/BuildApplet.py", line 94, in buildapplet
     rsrcname=rsrcfilename, others=extras, raw=raw, progress=verbose)
   File 
"/Library/Frameworks/Python.framework/Versions/2.3/Mac/Lib/buildtools.py", 
line 119, in process
     copy_codefragment, raw, others)
   File 
"/Library/Frameworks/Python.framework/Versions/2.3/Mac/Lib/buildtools.py", 
line 144, in process_common
     is_update, raw, others)
   File 
"/Library/Frameworks/Python.framework/Versions/2.3/Mac/Lib/buildtools.py", 
line 300, in process_common_macho
     copyapptree(template, destname, exceptlist, progress)
   File 
"/Library/Frameworks/Python.framework/Versions/2.3/Mac/Lib/buildtools.py", 
line 521, in copyapptree
     shutil.copy2(srcpath, dstpath)
   File 
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/shutil.py", 
line 73, in copy2
     copyfile(src, dst)
   File 
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/shutil.py", 
line 28, in copyfile
     fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 
'/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Contents/Resources/English.lproj/Documentation'