Open clach04 opened 11 months ago
C:\code\py\EncScite\puren_tonbo>dist\prog\testimport_cli.exe
Traceback (most recent call last):
File "testimport_cli.py", line 3, in <module>
from pywin.mfc import dialog # pywin32
File "pywin\mfc\dialog.pyc", line 7, in <module>
File "win32ui.pyc", line 12, in <module>
File "win32ui.pyc", line 10, in __load
ImportError: DLL load failed: 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.
ImportError: DLL load failed: 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.
from Event Viewer:
Activation context generation failed for "C:\code\py\EncScite\puren_tonbo\dist\lib\win32ui.pyd". Dependent Assembly Microsoft.VC90.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
Activation context generation failed for "C:\code\py\EncScite\puren_tonbo\dist\lib\win32ui.pyd". Dependent Assembly Microsoft.VC90.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
Copying:
mfc90.dll
mfc90u.dll
mfcm90.dll
mfcm90u.dll
from virtualenv did NOT change behavior at all
Nor did copying:
msvcr90.dll
from python app dir.
Cannot see pywin in py2exe lib....
Adding pywin to setup.exe include package then fails on pywin.Demos dir, hack workaround,
delete virtualenv\\Lib\site-packages\pythonwin\pywin\Demo
but still get same error in the event viewer,
tried copying Microsoft.VC90.MFC.manifest, same issue
if coming back to this, start with 77fab82545314a07d912061f60cd572e61ec31f4 as a starting point. For now using EasyDialogs.
Instead get:
pdb will stop (just before call to win32_getpassword() but cannot list code.