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 delimy
Recipients delimy
Date 2008-04-07.03:29:53
SpamBayes Score 0.33870247
Marked as misclassified No
Message-id <1207538995.31.0.628770173127.issue2566@psf.upfronthosting.co.za>
In-reply-to
Content
Here's the most recent traceback:

  File "/home/delimy/temp/Python-3.0a4/Lib/wsgiref/handlers.py", line
116, in finish_response
    self.write(data)
  File "/home/delimy/temp/Python-3.0a4/Lib/wsgiref/handlers.py", line
199, in write
    self.send_headers()
  File "/home/delimy/temp/Python-3.0a4/Lib/wsgiref/handlers.py", line
255, in send_headers
    self.send_preamble()
  File "/home/delimy/temp/Python-3.0a4/Lib/wsgiref/handlers.py", line
178, in send_preamble
    self._write('HTTP/%s %s\r\n' % (self.http_version,self.status))
  File "/home/delimy/temp/Python-3.0a4/Lib/wsgiref/handlers.py", line
385, in _write
    self.stdout.write(data)
  File "/home/delimy/temp/Python-3.0a4/Lib/socket.py", line 222, in write
    return self._sock.send(b)
TypeError: send() argument 1 must be bytes or read-only buffer, not str

It should convert str to bytes before write to stdout.
History
Date User Action Args
2008-04-07 03:29:55delimysetspambayes_score: 0.338702 -> 0.33870247
recipients: + delimy
2008-04-07 03:29:55delimysetspambayes_score: 0.338702 -> 0.338702
messageid: <1207538995.31.0.628770173127.issue2566@psf.upfronthosting.co.za>
2008-04-07 03:29:54delimylinkissue2566 messages
2008-04-07 03:29:53delimycreate