Skip to content

Instantly share code, notes, and snippets.

@rahulkmr
Created February 20, 2013 20:19
Show Gist options
  • Select an option

  • Save rahulkmr/4999197 to your computer and use it in GitHub Desktop.

Select an option

Save rahulkmr/4999197 to your computer and use it in GitHub Desktop.
± $ python streaming.py
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 438, in handle_one_response
self.run_application()
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 425, in run_application
self.process_result()
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 416, in process_result
self.write(data)
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 368, in write
towrite.append("%x\r\n%s\r\n" % (len(data), data))
TypeError: object of type 'int' has no len()
<WSGIServer fileno=3 address=0.0.0.0:5000>: Failed to handle request:
request = GET / HTTP/1.1 from ('127.0.0.1', 42485)
application = <flask.app.Flask object at 0x2ff4210>
127.0.0.1 - - [2013-02-21 01:48:39] "GET / HTTP/1.1" 500 27 1.002452
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment