New submission from Svetoslav Agafonkin :
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 ).
--
assignee: ronaldoussoren
components: Installation, Macintosh
files: postflight.framework.patch
keywords: patch
messages: 92786
nosy: ronaldoussoren, slavi
severity: normal
status: open
title: postflight.framework script (from the Mac OS X .dmg installer) fails
(patch given).
type: compile error
versions: Python 3.0, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file14916/postflight.framework.patch
___
Python tracker
<http://bugs.python.org/issue6934>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com