Skip to content

Instantly share code, notes, and snippets.

@jsam
Created August 22, 2012 03:06
Show Gist options
  • Save jsam/3421900 to your computer and use it in GitHub Desktop.
Save jsam/3421900 to your computer and use it in GitHub Desktop.
socketio and gevent
Traceback (most recent call last):
File "/home/sam/.virtualenvs/web_chat/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 438, in handle_one_response
self.run_application()
File "/home/sam/.virtualenvs/web_chat/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 425, in run_application
self.process_result()
File "/home/sam/.virtualenvs/web_chat/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 414, in process_result
for data in self.result:
File "sock.py", line 60, in serve_file
with open(path) as fp:
IOError: [Errno 21] Is a directory: '/home/sam/dev/web_chat_test/public'
<SocketIOServer fileno=3 address=0.0.0.0:8080>: Failed to handle request:
request = GET / HTTP/1.1 from ('127.0.0.1', 33681)
application = <function chat at 0xb72e56bc>
@rick446
Copy link

rick446 commented Aug 22, 2012

It appears you've requested a directory. Try changing the URL in your browser to include "index.html" (and remember this is a toy application ;-) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment