-
-
Save jsam/3421900 to your computer and use it in GitHub Desktop.
socketio and gevent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ;-) )