On 10-08-11 15:42, Laszlo Nagy wrote:
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?

Strange, I expected at least one or two more stack frames in the traceback you posted (from within the socket.py module).

What platform are you on?
What python version?
What does this print on your system:

>>> import socket
>>> s=socket.socket()
>>> s.shutdown(socket.SHUT_WR)


Irmen
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to