On 23/01/2013 15:45, Jean Rousseau wrote: > Here's the background - platform is Win 2003 Server x86: > 1. My test machine was running Python 3.2.3 / pywin32 build 217 and all > was well with the service classes that I wrote and tested. > 2. I then installed Python 3.3.0 and pywin32 build 218. > 3. I uninstalled pywin32-b217 and Python 3.2.3 and deleted the subdirs. > 4. Rebooted the server. > 5. I copied my service code to the server and installed my service class > (ie. <service> install), which completed fine. > > However, the service fails immediately upon startup with the following > failure: > /The instance's SvcRun() method failed / > /Traceback (most recent call last):/ > / File "C:\Python33\lib\site-packages\win32\lib\win32serviceutil.py", > line 834, in SvcRun/ > / self.ReportServiceStatus(win32service.SERVICE_RUNNING)/ > / File "C:\Python33\lib\site-packages\win32\lib\win32serviceutil.py", > line 797, in ReportServiceStatus/ > / win32service.SetServiceStatus( self.ssh, status)/ > /tuple: (13, 'SetServiceStatus', 'The data is invalid.') / > /%2: %3/
I can run a trivial service successfully with Python 3.3 / pywin32 218 on Windows 7. So the combination isn't fatal; might be Win2k3, I suppose. TJG _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32