Updating django updating windows live messenger 2016


19-Nov-2017 00:00

I've had good success using django behind Tornado server with Tornad IO2 library.

It doesn't have any deep integration with django, but as @stephenmcd pointed out, they may not be needed given the new structure of the API which supports arbitrary events.

I have written a few helper functions and classes for the using Tornad IO2, but I haven't had time to open source them yet.

However, I'd be happy to answer any questions on this topic.

Again let's try and keep this thread on topic since the homepage now points to it.

If the state of this project changes in any way, it'll be mentioned here and/or on the homepage README - no need to ask about it. I merely wondered whether this effort was still alive.

Now all that needs to happen is to bring django-socketio up to date with these.

I don't know much about the Web Socket protocol, but I'm willing to help however I can, such as testing different browsers and what not. The bundled Java Script is tied to the server implementation in the public release of gevent-socketio: https://bitbucket.org/Jeffrey/gevent-socketio It looks like the version in that repo is much more up to date than the public release on pypi - so you could try upgrading it to the version on bitbucket and see how you go.I noticed that the the socketio client packaged with the app was using xhr-multipart and xhr-polling on the latest Fire Fox (10.0.2) and Chrome (17.0.963.56), respectively.I tried replacing the client library with the latest version (0.8.5) but now I get an error on the server side: Traceback (most recent call last): File "/home/taa/env/lib/python2.6/site-packages/gevent/pywsgi.py", line 438, in handle_one_response self.run_application() File "/home/taa/env/lib/python2.6/site-packages/gevent/pywsgi.py", line 425, in run_application self.process_result() File "/home/taa/env/lib/python2.6/site-packages/gevent/pywsgi.py", line 416, in process_result self.write(data) File "/home/taa/env/lib/python2.6/site-packages/gevent/pywsgi.py", line 373, in write self.socket.sendall(msg) File "/home/taa/env/lib/python2.6/site-packages/gevent/socket.py", line 504, in sendall data_sent = self.send(_get_memory(data, data_sent), flags) File "/home/taa/env/lib/python2.6/site-packages/gevent/socket.py", line 490, in send return sock.send(data, flags) error: [Errno 32] Broken pipe Any idea what the issue may be?I noticed that this django app seems to have implemented 0.96, but that it otherwise doesn't seem as complete as django-socketio: https://github.com/fish2000/django-signalqueue/tree/master/signalqueue Also IE10 will have websocket, so given that the socketio stuff only works with a considerable amount of hacking, would it be more intelligent to just go directly for websockets? @johanneswilm There was a bunch of recent work to get the underlying library, gevent-socketio, working with the latest socketio and generally refactored.

These changes haven't yet been pulled into django-socketio.

That aside, I've every intention of bringing it up to date once I get some time available.