[web2py] Sessions and Ajax / Load

2019-10-25 Thread Philip Kilner
Hi. I am using sessions and Ajax (via web2py's LOAD), and finding that in the main view's code I can call the session as normal, but in the code for the component the session is not accessible and the error messages suggest that it's a local variable: - UnboundLocalError: local variable 'sessi

[web2py] Re: Admin password

2019-10-25 Thread Ivan Gazzola
I've got the same problem How did you solve it? Thx Ivan Gazzola Il giorno giovedì 16 maggio 2019 17:32:26 UTC+2, Gaël Princivalle ha scritto: > > >Does parameters_443.py exist in web2py dir? > Yes. > > >Check permissions - does web2py have access to this file? > Yes > > Il giorno giovedì 16 mag

[web2py] Re: Admin password

2019-10-25 Thread Gaël Princivalle
Ciao Ivan. I've solved it restoring the web2py folder from a backup and doing the wright process for changing the password. Il giorno venerdì 25 ottobre 2019 13:53:33 UTC+2, Ivan Gazzola ha scritto: > > I've got the same problem > How did you solve it? > Thx > > Ivan Gazzola > > Il giorno gioved

[web2py] Re: Sessions and Ajax / Load

2019-10-25 Thread Ruslan Gareev
In models: current.session = session In your component: from gluon import current def your_function(): session = current.session пятница, 25 октября 2019 г., 16:34:49 UTC+5 пользователь Philip Kilner написал: > > Hi. > > I am using sessions and Ajax (via web2py's LOAD), and finding that

[web2py] Re: Lighttpd and fcgihandler processes

2019-10-25 Thread Patito Feo
Hi again, No answers to this post. Now i have more questions about fcgihandler and the fcgi.py file. Fcgihandler is supposed to call fcgi.py. How can i be sure the pyc is the one been used? is there a way to speed up or compile this libraries like pypy or something? Cheers, El jueves, 22 de