8000 Exception when running ./manage.py runserver_socketio host:port command · Issue #21 · stephenmcd/django-socketio · GitHub
[go: up one dir, main page]

Skip to content
Exception when running ./manage.py runserver_socketio host:port command #21
@jeanrick

Description

@jeanrick

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/c 5A4B ore/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

I notice that when I do the install stage I get:

Downloading/unpacking django-socketio
Downloading django-socketio-0.3.1.tar.gz (43Kb): 43Kb downloaded
Running setup.py egg_info for package django-socketio

file django_socketio.py (for module django_socketio) not found
Downloading/unpacking gevent-socketio (from django-socketio)

I'm not sure if this has anything to do with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0