New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in Microsoft.VC90.CRT.manifest file generates side by side issue #6509
Comments
To clarify, the manifest above is called Any chance of getting steps for reproduction? I.e., what package(s) are you using in your program that end up pulling in vc90 runtime? |
Correct. The manifest file, along with the corresponding .dll were all collected into de dist folder. I am using a library called Chilkat2, which has de dependency on the VC90 redistributables. |
Hmm, I can get the same But the problematic part is that this manifest originally (well, after XML pretty print) looks like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<noInheritable />
<assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.30729.9625" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b" />
<file name="msvcr90.dll" hashalg="SHA1" hash="eef12dbbab4ecda26049e1d6849ced68f7b4ac86">
<asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>arBitwn4UalXZoX+BBD/nxpK9nA=</dsig:DigestValue>
</asmv2:hash>
</file>
<file name="msvcp90.dll" hashalg="SHA1" hash="ec70c91e674b133ae9cc5bdb9b49e00f2e8157f9">
<asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>z7CohkSBVf2XpMLs1pJI5Sxktns=</dsig:DigestValue>
</asmv2:hash>
</file>
<file name="msvcm90.dll" hashalg="SHA1" hash="765a622b71c5c616e9fa8cbee3e914d85a07214c">
<asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>nwlj3u1TD7e0iuyfo7sCrvs+HUI=</dsig:DigestValue>
</asmv2:hash>
</file>
</assembly> Which means that it is probably being processed by our manifest parser/write combo, which ends up stripping away the parts the parser does not understand (e.g., the digest), and appends both |
I've been reading a lot about this on SO. Most issues with this side by side message are related to the C++ Redistributables. In my case, what made it work was removing the "application" section. |
Description of the issue
After generating the exe file, a manifest file was included on the .\dist folder. Running the .exe generated a side-by-side error. Below is the Windows event log message:
Activation context generation failed for "C:\Path\library.pyd".Error in manifest or policy file "C:\Path\Microsoft.VC90.CRT.MANIFEST" on line 17. The application element is not allowed in component manifest.
The content of the manifest file is:
As you can see by the end of the file, there is an "application" section. Removing this solved the issue.
Context information (for bug reports)
pyinstaller --version
: 4.7The text was updated successfully, but these errors were encountered: