classification
Title: 3.2 Mac OS X installer may fail if documentation was previously installed
Type: behavior Stage: resolved
Components: Installation Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ned.deily Nosy List: ned.deily, rhettinger
Priority: normal Keywords: 3.2regression

Created on 2011-02-21 06:36 by rhettinger, last changed 2011-02-21 21:50 by rhettinger. This issue is now closed.

Files
File name Uploaded Description Edit
issue11268_installer_doc_abort.patch ned.deily, 2011-02-21 11:15
Messages (5)
msg128942 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2011-02-21 06:36
The 3.2.0 install failed at the documentation step.  I believe this happened because I had already install the release candidate beforehand, so it looks like on of the steps is not checking for existing files.
msg128949 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-02-21 09:47
If a version of Python 3.2 has been previously installed, a subsequent re-install of Python 3.2 may fail attempting to install the Documentation package.  On Mac OS X 10.6, the message reported by the installer is:

"The following installation step failed: run postflight script for Python Documentation.  Contact the software manufacturer for assistance."

Avoid the problem by dragging the folder /Library/Frameworks/Python/Versions/3.2/share to the Trash (you may be asked to enter an administrator password to do so) or, equivalently, run the following from a command line shell:

  sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.2/share

Then re-run the installer to ensure that all installation steps have been completed.
msg128954 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-02-21 11:15
The attached patch corrects the problem in the installer.  I'll apply it after py3k is re-opened.
msg128995 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-02-21 21:04
Applied in py3k (r88475), 32 (r88477) for 3.2.1, and 27 (r88479) unreleased.
msg129000 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2011-02-21 21:50
Thanks Ned :-)
History
Date User Action Args
2011-02-21 21:50:47rhettingersetmessages: + msg129000
2011-02-21 21:04:27ned.deilysetstatus: open -> closed
messages: + msg128995

keywords: + 3.2regression, - patch
resolution: fixed
stage: commit review -> resolved
2011-02-21 11:15:36ned.deilysetfiles: + issue11268_installer_doc_abort.patch
versions: + Python 2.7
messages: + msg128954

keywords: + patch
stage: needs patch -> commit review
2011-02-21 09:47:31ned.deilysettitle: Mac OS/X installer fails if documentation was previously installed. -> 3.2 Mac OS X installer may fail if documentation was previously installed
messages: + msg128949
stage: needs patch
2011-02-21 06:36:01rhettingercreate