This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author slavi
Recipients ronaldoussoren, slavi
Date 2009-09-17.17:46:14
SpamBayes Score 6.077041e-08
Marked as misclassified No
Message-id <1253209576.62.0.0516947954037.issue6934@psf.upfronthosting.co.za>
In-reply-to
Content
postflight.framework fails during installation:

. . .
Sep 17 17:36:53 mcfro Installer[1613]: run postflight script for Python 
Framework
Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: /Volumes/Python 
3.1.1/Python.mpkg/Contents/Packages/PythonFramework-
3.1.pkg/Contents/Resources/postflight: line 9: 
/Library/Frameworks/Python.framework/Versions/3.1/bin/python: No such 
file or directory
Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: 
Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: /Volumes/Python 
3.1.1/Python.mpkg/Contents/Packages/PythonFramework-
3.1.pkg/Contents/Resources/postflight: line 14: 
/Library/Frameworks/Python.framework/Versions/3.1/bin/python: No such 
file or directory
Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: /Volumes/Python 
3.1.1/Python.mpkg/Contents/Packages/PythonFramework-
3.1.pkg/Contents/Resources/postflight: line 19: 
/Library/Frameworks/Python.framework/Versions/3.1/bin/python: No such 
file or directory
Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: 
Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: /Volumes/Python 
3.1.1/Python.mpkg/Contents/Packages/PythonFramework-
3.1.pkg/Contents/Resources/postflight: line 24: 
/Library/Frameworks/Python.framework/Versions/3.1/bin/python: No such 
file or directory
Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: 
Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: chown: admin: 
Invalid argument
Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: 

The first problem is that in 
/Library/Frameworks/Python.framework/Versions/3.1/bin there is no 
executable 'python' anymore - there is 'python3.1', etc.

Also chown at the end should set the group to 'admin', not the owner.

I've attached a patch that fixes these issues. (the problem with chown 
is also present in the installer for 2.6.x ).
History
Date User Action Args
2009-09-17 17:46:17slavisetrecipients: + slavi, ronaldoussoren
2009-09-17 17:46:16slavisetmessageid: <1253209576.62.0.0516947954037.issue6934@psf.upfronthosting.co.za>
2009-09-17 17:46:15slavilinkissue6934 messages
2009-09-17 17:46:14slavicreate