win32service win32pipe question

dsavitsk dsavitsk at e-coli.net
Tue Dec 11 18:59:24 EST 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
responds ...

Stopping service PythonPipeService
Error stopping service: The service did not respond to the start or control
requ
est in a timely fashion. (1053)

it does stop, though.

is this something to worry about?

doug


"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
this
> > 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
file
> > 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.
>
> Mark.
>





More information about the Python-list mailing list