Thanks for the pull request Niphlod.
On Tuesday, December 10, 2013 9:09:29 PM UTC+1, Niphlod wrote:
sent the PR https://github.com/web2py/web2py/pull/325
Thanks for the patch.
On Tuesday, December 10, 2013 5:57:37 PM UTC+1, Peter Govers wrote:
Hello Lyn2py,
I ran into the same problem
Hello Lyn2py,
I ran into the same problem as you did and couldn't quite figure out what
caused it. The JS function 'web2py_websocket' is described in
/static/js/web2py.js. The file web2py.js was given a makeover in Web2py
2.6.1 as changelog suggests:
*For pre 2.6 applications to work with
sent the PR https://github.com/web2py/web2py/pull/325
Thanks for the patch.
On Tuesday, December 10, 2013 5:57:37 PM UTC+1, Peter Govers wrote:
Hello Lyn2py,
I ran into the same problem as you did and couldn't quite figure out what
caused it. The JS function 'web2py_websocket' is described
Ok I found a solution online, maybe Massimo can confirm that there is a bug
in web2py_sockets.py
https://groups.google.com/forum/#!msg/python-tornado/kgCoVCUkdeM/99yS2ZEhkVAJ
Ah, OK. Looks like a web2py bug then. web2py's websocket support contains
handlers that return true or false; these
I am trying the websocket on google chrome and encountered this error:
Uncaught TypeError: Property 'web2py_websocket' of object [object Object]
is not a function
I have followed the instructions. What could I be doing wrong?
Thanks!
On Friday, July 26, 2013 10:48:07 PM UTC+8, Massimo Di
I saw the console and there were these error messages, I thought it might
help:
1375413960.5:MESSAGE to display:12
ERROR:tornado.application:Uncaught exception POST / (127.0.0.1)
HTTPRequest(protocol='http', host='127.0.0.1:', method='POST', uri='/',
version='HTTP/1.0',
the basic idea of websocket is that input data must be validated by web2py
therefore data can only be received from web2py.
In your JS code you simply do:
script
7 matches
Mail list logo