I am seeing similar problem with Kubuntu 11.04, python 2.7 and python-openssl 0.10-1ubuntu 3 (the latest by now).
Here is the trace I see:
---------------------------------------- Exception happened during processing of request from ('192.168.168.186', 44237) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 311, in process_request self.shutdown_request(request) File "/usr/lib/python2.7/SocketServer.py", line 459, in shutdown_request request.shutdown(socket.SHUT_WR) TypeError: shutdown() takes exactly 0 arguments (1 given) ---------------------------------------- Traceback (most recent call last): File "server.py", line 161, in <module> server.serve_forever() File "/usr/lib/python2.7/SocketServer.py", line 227, in serve_forever self._handle_request_noblock() File "/usr/lib/python2.7/SocketServer.py", line 287, in _handle_request_noblock self.shutdown_request(request) File "/usr/lib/python2.7/SocketServer.py", line 459, in shutdown_request request.shutdown(socket.SHUT_WR) TypeError: shutdown() takes exactly 0 arguments (1 given)
And here is the code I execute (see attachment), which is running with no errors on Kubntu 10.10 with python 2.6
I am seeing similar problem with Kubuntu 11.04, python 2.7 and python-openssl 0.10-1ubuntu 3 (the latest by now).
Here is the trace I see:
------- ------- ------- ------- ------- ----- python2. 7/SocketServer. py", line 284, in _handle_ request_ noblock process_ request( request, client_address) python2. 7/SocketServer. py", line 311, in process_request shutdown_ request( request) python2. 7/SocketServer. py", line 459, in shutdown_request shutdown( socket. SHUT_WR) ------- ------- ------- ------- ----- serve_forever( ) python2. 7/SocketServer. py", line 227, in serve_forever _handle_ request_ noblock( ) python2. 7/SocketServer. py", line 287, in _handle_ request_ noblock shutdown_ request( request) python2. 7/SocketServer. py", line 459, in shutdown_request shutdown( socket. SHUT_WR)
Exception happened during processing of request from ('192.168.168.186', 44237)
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
request.
TypeError: shutdown() takes exactly 0 arguments (1 given)
-------
Traceback (most recent call last):
File "server.py", line 161, in <module>
server.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
request.
TypeError: shutdown() takes exactly 0 arguments (1 given)
And here is the code I execute (see attachment), which is running with no errors on Kubntu 10.10 with python 2.6