SocketServer expceion after upgrading to 2.7

L

Laszlo Nagy

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
 
I

Irmen de Jong

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:


Irmen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,961
Messages
2,570,131
Members
46,689
Latest member
liammiller

Latest Threads

Top