win32service win32pipe question
dsavitsk at e-coli.net
Wed Dec 12 00:59:24 CET 2001
i downloaded the version in the book and it works better than mine, so i
assume a typo.
when i try to stop the version i downloaded, however, the stop command only
sort of works. when issued, the service hangs for about 30 seconds, then
Stopping service PythonPipeService
Error stopping service: The service did not respond to the start or control
est in a timely fashion. (1053)
it does stop, though.
is this something to worry about?
"Mark Hammond" <MarkH at ActiveState.com> wrote in message
news:3C1695A2.30103 at ActiveState.com...
> dsavitsk wrote:
> > i followed the example of making a win32service in Mark Hammond's book.
> > when i run the client i get the following error. does anyone know what
> > might be from?
> > X:\epsp2\server\bin>PipeServiceClient.py hello there service
> > Traceback (most recent call last):
> > File "X:\epsp2\server\bin\PipeServiceClient.py", line 8, in ?
> > data = win32pipe.CallNamedPipe(pipeName, message, 512, 0)
> > pywintypes.api_error: (2, 'CallNamedPipe', 'The system cannot find the
> > spec
> > ified.')
> CallNamedPipe assumes some other process has opened the pipe and is
> reading from it. It appears this has not happened - ie, the pipe does
> not exist.
More information about the Python-list