Massa, Harald Armin wrote, On 11/16/2010 12:20 AM:
> all over the place. However, when running the executable, it crunches
> away for about 2 seconds, then opens the Visual Studio debugger. It
> states that an unhandled exception occurred. If I open the debugger,
> the only useful information I get is this:
> Unhandled exception at 0x00402053 in ABC.exe: 0xC0000005: Access
> violation writing location 0xea250f1f.
> Any ideas as to why this is happening? I have spent many hours
> Googling for help, and so far nothing I have tried has made any
> please check the py2exe output concerning DLLs which get "crunched"
> into the loader.
> A reason for this crash may be some dlls wrongfully included within
> the .exe; likely candidates are OCI.dlls and similiar.
Thanks for the help. It appears that the only DLLs included are the
necessary ones: python26, pythoncom26, pywintypes26, QtCore4, QtQui4,
and MSVCP90. I have tracked the problem down to what I use for the
'bundle_files' option. In Python 2.5 I was using 1 to lump everything
into the .exe. Now if I use 1 or 2, I get the crash. But if I use 3,
the executable works properly. So it appears that this option is no
longer working correctly in Python 2.6 and PyExe 0.6.9. I have found
links to others with similar problems, but no solutions.
I have also found PyInstaller. I think I will try that next.
Dan Hensley, P.E.