bartdag/py4j — Issue #93: Gateway raises an exception when shut down
Author: agronholm
Created: 2011-11-01 10:54:13+00:00
State: open

INFO:py4j.java_gateway:Callback Server Shutting Down
ERROR:py4j.java_gateway:Error while waiting for a connection.
Traceback (most recent call last):
File "/home/alex/virtualenv/etikettu/local/lib/python2.7/site-packages/py4j-0.7-py2.7.egg/py4j/java_gateway.py", line 909, in run
socket, _ = self.server_socket.accept()
File "/usr/lib/python2.7/socket.py", line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 22] Invalid argument

All I did to get this was gateway.shutdown() some time after it had started up.