[Pythonmac-SIG] Need help debugging Python documentation install

bill fancher bfancher@mac.com
Thu, 29 Aug 2002 13:33:09 -0700


On Thursday, August 29, 2002, at 09:10 AM, Tony Lownds wrote:

>> - 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.

Same here, but I was just doing an "out of the box" build. (Just saw  
announcement of fix, will give it a try.)

Another problem I had is, I think, Jaguar related: if you run things a  
second time, it's unable to replace info.plist and PkgInfo files in the  
previously installed apps (no write permission, even for owner). So a  
second try at installing doesn't even get as far as the first.

The only workaround I've seen suggested (by Scott Tooker from Apple) is  
a shell script build phase to fix permissions. Seems like there should  
be a better way. Haven't had a chance to investigate.

--
bill

>
> -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'
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>