Details
Description
I see the following error after shutting down the ipc.SocketServer:
--------------
....
Closed: Connection-('127.0.0.1', 35220)
Exception in thread SocketServer on ('localhost', 0):
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/home/phunt/dev/workspace/avro-rpc-quickstart/lib/python/avro/ipc.py", line 385, in run
raise e
error: [Errno 9] Bad file descriptor
----------------
If I put a "print("done")" as the last line in:
http://github.com/phunt/avro-rpc-quickstart/blob/master/src/main/python/send_message.py
The above error is printed after the done message it output. It seems that the socketserver is not shutting down correctly during the "close" and subsequently fails.
Attachments
Issue Links
- is blocked by
-
AVRO-264 Rewrite Python implementation's IPC path (protocol.py, ipc.py, genericipc.py) and associated tests
- Closed