Re: [web2py] chat-tornado in web2py using websocket_messaging.py

2013-10-09 Thread Junior Phanter
The class * RequestHandler* (tornado 3.1.1) has e new function * _When_complete* that is called by the function *_execute*. --v-- def _execute(self, transforms, *args, **kwargs

Re: [web2py] chat-tornado in web2py using websocket_messaging.py

2013-10-07 Thread Junior Phanter
I'll try to help. It will be an honor for me. 2013/10/7 Massimo Di Pierro > Can you help us find out why Tornado 31. does not work? > > > On Sunday, 6 October 2013 21:24:29 UTC-5, Junior Phanter wrote: > >> Sorry my bad english, >> >> Analyzing the web2py_websocket inside web2py.js. I noticed t

Re: [web2py] chat-tornado in web2py using websocket_messaging.py

2013-10-07 Thread Massimo Di Pierro
Can you help us find out why Tornado 31. does not work? On Sunday, 6 October 2013 21:24:29 UTC-5, Junior Phanter wrote: > > Sorry my bad english, > > Analyzing the web2py_websocket inside web2py.js. I noticed that when I > used: > > >$(document).ready(function(){ > var data; >

Re: [web2py] chat-tornado in web2py using websocket_messaging.py

2013-10-06 Thread Junior Phanter
Sorry my bad english, Analyzing the web2py_websocket inside web2py.js. I noticed that when I used: $(document).ready(function(){ var data; web2py_websocket('ws://127.0.0.1:/realtime/mygroup', function(e){data=eval('('+e.data+')')}); }); the browser console accused

[web2py] chat-tornado in web2py using websocket_messaging.py

2013-10-04 Thread Junior Phanter
greetings , sorry my bad english , I 'm trying to implement a chat using the tornado and websocket_messaging.py , but I'm having trouble hearing the tornado server . the server receives the tornado MESSAGES using : websocket_send ( ' http://127.0.0.1: ', ' Hello World ', ' mykey ', ' mygrou