You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep getting the exception below when I try to run the server:
SocketIOServer running on 0.0.0.0:8000
Traceback (most recent call last):
File "./manage.py", line 14, in
execute_manager(settings)
File "/home/sky/development/py_environs/socket/local/lib/python2.7/site-packages/django/core/management/init.py", line 438, in execute_manager
utility.execute()
File "/home/sky/development/py_environs/socket/local/lib/python2.7/site-packages/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/sky/development/py_environs/socket/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(_args, *_options.dict)
File "/home/sky/development/py_environs/socket/local/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute
output = self.handle(_args, *_options)
File "/home/sky/development/py_environs/socket/local/lib/python2.7/site-packages/django_socketio/management/commands/runserver_socketio.py", line 57, in handle
server = SocketIOServer(bind, handler, resource="socket.io")
File "/home/sky/development/py_environs/socket/local/lib/python2.7/site-packages/socketio/server.py", line 22, in init
self.namespace = kwargs.pop('namespace')
KeyError: 'namespace'
Unhandled exception in thread started by <function reload_watcher at 0xa4c9a04>
Traceback (most recent call last):
File "/home/sky/development/py_environs/socket/local/lib/python2.7/site-packages/django_socketio/management/commands/runserver_socketio.py", line 24, in reload_watcher
RELOAD = code_changed()
TypeError: 'NoneType' object is not callable
The first error you're getting is KeyError: 'namespace'
I have the same error. I searched a little on Google and I found an example where instead of resource='socket.io' they used namespace='socket.io' and I'm currently continuing my initial experimentation with that. I'm not sure it's correct in this context however (but you beat me at opening the issue :-) )
Is this due to a change in gevent-socketio? pip downloaded gevent-socketio==0.2.3
I keep getting the exception below when I try to run the server:
I notice that when I do the install stage I get:
I'm not sure if this has anything to do with it.
The text was updated successfully, but these errors were encountered: