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 rlinscheer
Recipients rlinscheer
Date 2012-10-10.15:06:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349881591.31.0.873714475408.issue16188@psf.upfronthosting.co.za>
In-reply-to
Content
When installing python-2.7.3.amd64.msi or python-2.7.3.msi and selecting for single-user (as opposed to for all users), an incorrect version of the microsoft C runtime library (msvcr90.dll) seems to be placed into the top-level directory along side the python executable.  This results in the message:

The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

The event log shows the error too:

Activation context generation failed for "C:\python_rob_32\pythonw.exe".Error in manifest or policy file "C:\python_rob_32\Microsoft.VC90.CRT.MANIFEST" on line 4. Component identity found in manifest does not match the identity of the component requested. Reference is Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". Definition is Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.1". Please use sxstrace.exe for detailed diagnosis.

Running the sxstrace tool shows the following:

INFO: Parsing Manifest File C:\python_rob_32\Microsoft.VC90.CRT.MANIFEST.
	INFO: Manifest Definition Identity is Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.1".
	ERROR: Component identity found in manifest does not match the identity of the component requested. Reference is Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". Definition is Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.1".
ERROR: Activation Context generation failed.

This would seem to be the relevant section of the trace, though I have attached the full output of the sxstrace if desired.

This leads me to the conclusion that a newer version of the C runtime library is being shipped with the python executable that was built with an older version.

This problem was mentioned with less detail in issue 14608, but closed without resolution as far as I can tell.
History
Date User Action Args
2012-10-10 15:06:31rlinscheersetrecipients: + rlinscheer
2012-10-10 15:06:31rlinscheersetmessageid: <1349881591.31.0.873714475408.issue16188@psf.upfronthosting.co.za>
2012-10-10 15:06:31rlinscheerlinkissue16188 messages
2012-10-10 15:06:30rlinscheercreate