[python-win32] service support in 2.6 isn't working

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Dec 30 19:20:04 CET 2008


Hello

I had some problems writting a service using Python 2.6 and pywin32 Build  
212, and I eventually found that even the pipeTestService.py demo program  
doesn't work either.

The service apparently installs fine, but refuses to start:

C:\APPS\Python26\Lib\site-packages\win32\Demos\service>python26  
pipeTestService.
py install
Installing service PyPipeTestService
Service installed

C:\APPS\Python26\Lib\site-packages\win32\Demos\service>python26  
pipeTestService.
py start
Starting service PyPipeTestService
Error starting service: El servicio no ha respondido a la petici¾n o  
inicio del
control en un tiempo adecuado.

(in english: "The service did not answer the start request in adequate  
time")
The error comes immediately, without any delay, so I guess a timeout  
somewhere is set too small.

If I uninstall the demo service, and reinstall using Python 2.5 and  
pywin32 Build 210, it works fine.

-- 
Gabriel Genellina



More information about the python-win32 mailing list