[web2py] py4web - cannot get logged in

2019-12-19 Thread Jim S
python3 -m pip install --upgrade py4web py4web-start apps Entered my password Went to http://127.0.0.1:8000/_dashboard I am asked for a password - no matter what I do, I can't get past this page. At first I was getting this error: ERROR:root:Traceback (most recent call last): File

[web2py] mssql set identity_insert on

2019-12-19 Thread Davidiam
As part of our release process, we need to insert records in the auth tables using specific id's. On sqlite this is no problem, but in mssql we get an error saying insert_identity is off. The solution is to set insert_identity in, but I am not sure how to do this using the web2py DAL. Can any

[web2py] Error 400 for Not authorized? Shouldn't we use 401?

2019-12-19 Thread Tito Garrido
Hi Guys, I am using AuthJWT from https://github.com/web2py/web2py/blob/master/gluon/tools.py I could see that an expired token or not authorized token is returning error 400. Shouldn't we use 401 - Unauthorized? https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401 Thanks! Tito --

[web2py] Re: mssql set identity_insert on

2019-12-19 Thread Dave S
On Thursday, December 19, 2019 at 2:37:29 PM UTC-8, Davidiam wrote: > > As part of our release process, we need to insert records in the auth > tables using specific id's. On sqlite this is no problem, but in mssql we > get an error saying insert_identity is off. > The solution is to set

[web2py] Re: Is it possible to load older web2py binaries for Mac?

2019-12-19 Thread 'Annet' via web2py-users
Hi Jarrod, I also have an issue after upgrading to Mac OS X Catalina see this post for Massimo's answer: https://groups.google.com/forum/?fromgroups=#!topic/web2py/431xgrgLkn0 Best, Annet -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -