[web2py] Re: py4web and celery

2019-12-26 Thread JSalvat
May need to add *celery *to requirements ? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to

[web2py] Re: py4web and celery

2019-12-26 Thread JSalvat
Massimo, now getting other errors: Is still experimental... Choose a one-time dashboard password: Storing the hashed password in file "password.txt" Dashboard is at: http://127.0.0.1:8000/_dashboard [ ] loading examples ... [A[X] loaded examples [ ] loading sample ... [A[X] loaded sample [ ]

[web2py] Re: py4web and celery

2019-12-26 Thread Massimo Di Pierro
fixed! On Thursday, 26 December 2019 17:14:55 UTC+1, JSalvat wrote: > > Just installed from source but does not start: > > unzipped source to c:\wwwroot\py4web > > c:\wwwroot\py4web>python -m pip install -r requirements.txt --user > c:\wwwroot\py4web>python ./py4web-start.py apps > . > Is

[web2py] Web2py survey ??

2019-12-26 Thread António Ramos
Hi all, i think that it could be important to question users about many things to be known by us all. I think it could serve not only for us that like and use web2py but for others that dont know web2py and get that feeling "web2py what???" when you suggest web2py . Someone care for a google

[web2py] Re: py4web and celery

2019-12-26 Thread JSalvat
Just installed from source but does not start: unzipped source to c:\wwwroot\py4web c:\wwwroot\py4web>python -m pip install -r requirements.txt --user c:\wwwroot\py4web>python ./py4web-start.py apps . Is still experimental... Traceback (most recent call last): File "./py4web-start.py",

Re: [web2py] Re: py4web - cannot get logged in

2019-12-26 Thread Jim Steil
That fixed it. Thanks Massimo On Thu, Dec 26, 2019 at 2:17 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Please try delete apps and then rerun "py4web-start apps". I suspect you > have an older _dashboard. > You may also try delete only apps/_dashboard and run "py4web-start -c >

[web2py] py4web and celery

2019-12-26 Thread Massimo Di Pierro
I posted an example of possible use of celery with py4web (in _scaffold) but I am not too happy about it. db._adapter.reconnect() should be automatic and 'apps._scaffold.tasks' feels clunky. Anyway, the example shows how you can define tasks and they can import anything they need from the

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

2019-12-26 Thread Massimo Di Pierro
yes we should. fixed. On Thursday, 19 December 2019 20:18:50 UTC+1, Tito Garrido wrote: > > 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

[web2py] Re: py4web - cannot get logged in

2019-12-26 Thread Massimo Di Pierro
Please try delete apps and then rerun "py4web-start apps". I suspect you have an older _dashboard. You may also try delete only apps/_dashboard and run "py4web-start -c apps". It will reinstall missing apps only. On Wednesday, 25 December 2019 21:30:42 UTC+1, Jim S wrote: > > Massimo > > I did