stephenmcd/django-socketio

Problems running the example project

arthursw opened this issue · 1 comments

I can't figure out how to make the example project work.
I had different issues (listed in this issues list) probably due to versionning problems.
My last attempt was to run

pip install -U --force-reinstall django-socketio

to make sure I have the correct version of the dependencies.
However I still have the error:

Traceback (most recent call last):
  File "manage.py", line 32, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
  File "../../django_socketio/management/commands/runserver_socketio.py", line 57, in handle
    server = SocketIOServer(bind, handler, resource="socket.io")
  File "/usr/local/lib/python2.7/dist-packages/socketio/server.py", line 22, in __init__
    self.namespace = kwargs.pop('namespace')
KeyError: 'namespace'

My question is: when/will it be updated to work with the latest denpendencies? Should I use gevent-websocket and gevent-socketio directly instead? I have also read about django-websocket-request...

https://github.com/GetBlimp/django-websocket-request

(I'm not sure whether this is a good place for this kind of question, but I can't find anything better)

You're using unsupported versions of the dependencies, of course it won't work.

It'll be updated when time permits.