camilleanne / pulse

Biofeedback application in browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error in logs

camilleanne opened this issue · comments

Explore this:

Traceback (most recent call last):
File "/Users/camille/dev/personal/biofeedback/env/lib/python2.7/site-packages/gevent/greenlet.py", line 390, in run
result = self._run(_self.args, *_self.kwargs)
File "/Users/camille/dev/personal/biofeedback/env/lib/python2.7/site-packages/gevent/pywsgi.py", line 571, in handle
handler.handle()
File "/Users/camille/dev/personal/biofeedback/env/lib/python2.7/site-packages/gevent/pywsgi.py", line 180, in handle
result = self.handle_one_request()
File "/Users/camille/dev/personal/biofeedback/env/lib/python2.7/site-packages/gevent/pywsgi.py", line 314, in handle_one_request
self.handle_one_response()
File "/Users/camille/dev/personal/biofeedback/env/lib/python2.7/site-packages/geventwebsocket/handler.py", line 37, in handle_one_response
return self._handle_websocket()
File "/Users/camille/dev/personal/biofeedback/env/lib/python2.7/site-packages/geventwebsocket/handler.py", line 62, in _handle_websocket
self.application(environ, self._fake_start_response)
File "/Users/camille/dev/personal/biofeedback/env/lib/python2.7/site-packages/flask/app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "/Users/camille/dev/personal/biofeedback/env/lib/python2.7/site-packages/flask_sockets.py", line 39, in call
handler(environment)
File "/Users/camille/dev/personal/biofeedback/app.py", line 21, in echo_socket
message = json.loads(ws.receive())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
<Greenlet at 0x10a1ffa50: <bound method PyWSGIServer.handle of <PyWSGIServer at 0x10a228210 fileno=5 address=127.0.0.1:8000>>(<socket at 0x10a39c090 fileno=[Errno 9] Bad file d, ('127.0.0.1', 64162))> failed with TypeError