Re: [web2py] logged in user and auth.user_id=None

2015-10-28 Thread Anthony
1. Instead of the web-based shell in admin, use the web2py Python shell (i.e., python web2py.py -S myapp/mycontroller -M). Note, specifying the controller is optional -- if you include it, you will have access to the functions defined in the controller. 2. You mentioned that

Re: [web2py] logged in user and auth.user_id=None

2015-10-28 Thread Pierre
thanks Anthony now i have an operational shell the virtual fields problem is fixed too Le mercredi 28 octobre 2015 14:10:12 UTC+1, Anthony a écrit : > > >1. Instead of the web-based shell in admin, use the web2py Python >shell (i.e., python web2py.py -S myapp/mycontroller -M).

Re: [web2py] logged in user and auth.user_id=None

2015-10-28 Thread Pierre
I installed web2py on 2 ubuntus but I can't use its internal shell on both machine. On the desktop after a few commands shell issues an error : error please reload the page and then it's not working anymore On the laptop shell always answer None whatever the command ? it seems to me there are

[web2py] logged in user and auth.user_id=None

2015-10-27 Thread Pierre
Hi, strange..I changed my application adding virtual fields and now it seems like the authentification system is corrupted I can login and logout but auth.user_id is unavailable I login and type in the shell : print auth.user_id it says None auth.user.id gives an error if I go to the

Re: [web2py] logged in user and auth.user_id=None

2015-10-27 Thread Richard Vézina
Can you show the code you change previous and the actual code? You may have erase something related to the auth... Richard On Tue, Oct 27, 2015 at 8:51 AM, Pierre wrote: > Hi, > > strange..I changed my application adding virtual fields and now it > seems like the