Giter VIP home page Giter VIP logo

django-channels-chat's Issues

Error on runserver

File "/Volumes/Data/Users//Documents/Chat/django-channels-chat/src/chat_engine/engine.py", line 41
command, *args = payload['text'].strip().split()

If I quit * in args it works but then I can't access to chat. join button does not do nothing.

KeyError: u'user'

[2017/08/03 11:34:01] [2017/08/03 11:34:06] WebSocket DISCONNECT /chat/main [127
.0.0.1:50405]
2017-08-03 11:34:06,289 - ERROR - worker - Error processing message with consume
r chat_engine.engine.on_disconnect:
Traceback (most recent call last):
File "C:\Users\Billmike\dev\django-channels-chat\venv\lib\site-packages\channe
ls\worker.py", line 78, in run
consumer(message, **kwargs)
File "C:\Users\Billmike\dev\django-channels-chat\venv\lib\site-packages\channe
ls\sessions.py", line 61, in inner
return func(message, *args, **kwargs)
File "C:\Users\Billmike\dev\django-channels-chat\src\chat_engine\engine.py", l
ine 26, in on_disconnect
_('User %(user)s left chat') % message.channel_session))
File "C:\Users\Billmike\dev\django-channels-chat\venv\lib\site-packages\django
\contrib\sessions\backends\base.py", line 48, in getitem
return self._session[key]
KeyError: u'user'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.