Comment 11 for bug 686804

Revision history for this message
Boris Petkov (boris-petkov) wrote :

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