win32service win32pipe question

Mark Hammond MarkH at ActiveState.com
Tue Dec 11 18:21:42 EST 2001


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