Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems running the example project #64

Closed
arthursw opened this issue Feb 28, 2014 · 1 comment
Closed

Problems running the example project #64

arthursw opened this issue Feb 28, 2014 · 1 comment

Comments

@arthursw
Copy link

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)

@stephenmcd
Copy link
Owner

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

It'll be updated when time permits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants