Andrea Gavana wrote:
> ...If I run it from a Python
> script, the icon overlay works fine but every time I open a file
> dialog from one of my applications I get this nice error in the
> app.exe.log file created by py2exe:
> 
> pythoncom error: PythonCOM Server - The 'win32com.server.policy'
> module could not be loaded.
> 
> <type 'exceptions.ImportError'>: No module named server.policy
> pythoncom error: CPyFactory::CreateInstance failed to create instance.
> (80004005)

My guess is that you've fallen foul of the magic which win32com
does with the path. Probably a case of specifying that module
as a specific inclusion in the py2exe dict in setup.py. But I'm not
really up on py2exe. Worth trying their own mailing list?

TJG
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to