On Mon, 2011-01-10 at 03:30 -0800, Stefan Fruehwirth wrote:
> Hi,
> 
> when running a standalone executable using arbitrary code like this
> line:
> 
> ---
> print "confusing cat..."
> ---
> 
> I get a dialog box "Microsoft Visual C++ Runtime Library" with the
> following text content:
> 
> ---
> Runtime Error!
> Program: [path-to-program]
> R6034
> An application has made an attempt to load the C runtime library
> incorrectly.
> Please contact the application's support team for more information.
> ---
> 
> The code execution resumes, output is correct. However, I tried to
> narrow it down and found out that the error disappears when I put a
> "progName.exe.manifest" file with following content in the same
> directory:
> 
> ---
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-
> com:asm.v1">
>   <assemblyIdentity name="progName" processorArchitecture="x86"
> type="win32" version="1.0.0.0"/>
>   <dependency>
>     <dependentAssembly>
>       <assemblyIdentity name="Microsoft.VC90.CRT"
> processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"
> type="win32" version="9.0.21022.8"/>
>     </dependentAssembly>
>   </dependency>
> </assembly>
> ---
> 
> Any Ideas? Bug? Send to trac?

Obviously this works for most people, so it has to be something specific
to your system. Nonetheless, it's still a bug that we need some help to
sort out.

Does it work in one-dir mode? And in one-file mode? What Python version
are you using? What operating system are you running on?

Can you please send:

 * The full output of Build.py
 * A list of all files bundled in one-dir mode

Thanks!
-- 
Giovanni Bajo   ::  [email protected]
Develer S.r.l.  ::  http://www.develer.com

My Blog: http://giovanni.bajo.it
Last post: Compile-time Function Execution in D

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to