Dan Ross wrote:
I'm having trouble with py2app all of a sudden. It stopped working with 2.5 so I installed 2.6 today, hoping that may work.

well, I don't think any changes have been made for 26, so it's actually less likely to work!

I'm attaching the text from when the error begins.

> DistutilsFileError: can't copy > '/Library/Frameworks/Python.framework/Versions/2.6/Resources/version.plist': doesn't exist or not a regular file

well, indeed, it doesn't look like that file exists. There is one in my 2.5 distro:


$ cat /Library/Frameworks/Python.framework/Versions/2.5/Resources/version.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>BuildVersion</key>
        <string>1</string>
        <key>CFBundleShortVersionString</key>
        <string>2.5alpha0</string>
        <key>CFBundleVersion</key>
        <string>2.5alpha0</string>
        <key>ProjectName</key>
        <string>Python</string>
        <key>ReleaseStatus</key>
        <string>alfa</string>
        <key>SourceVersion</key>
        <string>2.4a0</string>
</dict>
</plist>


I don't know where it came from, what it is used for, or why it is listing the version as "2.5alpha0", but you could try making a copy, changing "2.5" to "2.6", and putting it in your 2.6 distro.

I think you'll have better luck with 2.5, though.

-Chris



--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to