SocketServer expceion after upgrading to 2.7

Laszlo Nagy gandalf at shopzeus.com
Wed Aug 10 09:42:55 EDT 2011


Exception happened during processing of request from ('80.99.165.122', 
56069)
Traceback (most recent call last):
   File "/usr/local/lib/python2.7/SocketServer.py", line 284, in 
_handle_request_noblock
     self.process_request(request, client_address)
   File "/usr/local/lib/python2.7/SocketServer.py", line 311, in 
process_request
     self.shutdown_request(request)
   File "/usr/local/lib/python2.7/SocketServer.py", line 459, in 
shutdown_request
     request.shutdown(socket.SHUT_WR)
TypeError: shutdown() takes exactly 0 arguments (1 given)


I get this error with a program, after upgrading to python 2.7. I'm 
using a program that is based on SocketServer and SimpleXMLRPCDispatcher.

Any idea how to fix this?

Thanks,

    Laszlo





More information about the Python-list mailing list