Using py2exe to wrap a service?
Maria.Reinhammar at accalon.com
Thu Sep 21 11:38:01 CEST 2006
Tim Golden wrote:
> | I do not call pythoncom.CoInitialize () as I tend to expect a module
> | wrapping COM stuff to do that.
> Hmmm. A slightly philosophical point.
:o) I agree!
I have added the CoInit.. call to the __init__() of the threaded class
(I understood the documentation as that was a proper place.)
The exception message changed!
Unfortunately I get little wiser.. (yes I confess.. I am spoonfed with
The instance's SvcRun() method failed
File "win32serviceutil.pyc", line 785, in SvcRun
File "MailProxySvc.pyc", line 132, in SvcDoRun
File "MailProxySvc.pyc", line 100, in setup
File "D:\projects\MailProxy\AddressDB.py", line 54, in
File "active_directory.pyc", line 367, in search
File "active_directory.pyc", line 217, in query
File "win32com\client\gencache.pyc", line 540, in EnsureDispatch
File "win32com\client\CLSIDToClass.pyc", line 50, in GetClass
More information about the Python-list