This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2007-12-08.16:12:04
SpamBayes Score 0.277505
Marked as misclassified No
Message-id <1197130325.35.0.851188581125.issue1572@psf.upfronthosting.co.za>
In-reply-to
Content
Exception happened during processing of request from ('127.0.0.1', 55017)
Traceback (most recent call last):
  File "/home/heimes/dev/python/py3k/Lib/SocketServer.py", line 222, in
handle_request
    self.process_request(request, client_address)
  File "/home/heimes/dev/python/py3k/Lib/SocketServer.py", line 241, in
process_request
    self.finish_request(request, client_address)
  File "/home/heimes/dev/python/py3k/Lib/SocketServer.py", line 254, in
finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/heimes/dev/python/py3k/Lib/SocketServer.py", line 522, in
__init__
    self.handle()
  File "/home/heimes/dev/python/py3k/Lib/BaseHTTPServer.py", line 330,
in handle
    self.handle_one_request()
  File "/home/heimes/dev/python/py3k/Lib/BaseHTTPServer.py", line 324,
in handle_one_request
    method()
  File "/home/heimes/dev/python/py3k/Lib/SimpleXMLRPCServer.py", line
430, in do_POST
    self.report_404()
  File "/home/heimes/dev/python/py3k/Lib/SimpleXMLRPCServer.py", line
486, in report_404
    self.wfile.write(response)
  File "/home/heimes/dev/python/py3k/Lib/socket.py", line 220, in write
    return self._sock.send(b)
TypeError: send() argument 1 must be bytes or read-only buffer, not str
----------------------------------------

After I altered the response to bytes:

  File "/home/heimes/dev/python/py3k/Lib/SimpleXMLRPCServer.py", line
430, in do_POST
    self.report_404()
  File "/home/heimes/dev/python/py3k/Lib/SimpleXMLRPCServer.py", line
489, in report_404
    self.connection.shutdown(0)
socket.error: [Errno 107] Transport endpoint is not connected
----------------------------------------
History
Date User Action Args
2007-12-08 16:12:05christian.heimessetspambayes_score: 0.277505 -> 0.277505
recipients: + christian.heimes
2007-12-08 16:12:05christian.heimessetspambayes_score: 0.277505 -> 0.277505
messageid: <1197130325.35.0.851188581125.issue1572@psf.upfronthosting.co.za>
2007-12-08 16:12:05christian.heimeslinkissue1572 messages
2007-12-08 16:12:04christian.heimescreate