Re: [web2py] Scheduler on Opalstack

2020-11-11 Thread Gaël Princivalle
Running it without nohup I can see this error. How can I debug that? This app was running first on Web2py 2.14.16 and now it runs on the 2.20.4 version. ~/apps/web2py_folder2/env/bin/python ~/apps/web2py_folder2/web2py/web2py.py -K myapp2 Traceback (most recent call last): File "apps/web2py_fo

Re: [web2py] web2py and py4web - single signon between the two

2020-11-11 Thread Martin Weissenboeck
Any news about this topic? Regards Martin Massimo Di Pierro schrieb am Mi., 15. Jän. 2020, 07:09: > yes. that is a priority. > > On Sunday, 5 January 2020 13:28:10 UTC-8, Carlos Cesar Caballero wrote: >> >> Maybe implementing a CAS server for py4web... But I am not sure right now >> what will

[web2py] Re: In case of form.errors browse for image again

2020-11-11 Thread 'Annet' via web2py-users
Related to the issue above. I have the following form: form = SQLFORM.factory(table, db.prm_generic, upload=URL('default', 'download'), buttons=buttons) ... if form.validate(): if request.args(0) == 'landingpages': if row: row.update_record(**db.prm_page._filte

[web2py] In case of form.errors browse for image again

2020-11-11 Thread 'Annet' via web2py-users
When I create a form based on a table that has a field of type upload to upload an image, I have a problem when one of the other fields in the table doesn't validate. e.g. a field of type text contains too may characters. This form.errors resets the upload field, so I have to browse for the image

Re: [web2py] python-psycopg2 on ubuntu 20

2020-11-11 Thread Ovidio Marinho
Or this post https://www.codevoila.com/post/2/python3-connect-postgresql-with-psycopg2-on-ubuntu Em quarta-feira, 11 de novembro de 2020, Dmitrii Ermolaev < ermolaev.icrea...@gmail.com> escreveu: > where find *python-psycopg2 for Ununtu 20?* > > -- > Resources: > - http://web2py.com > - http://we

[web2py] Re: python-psycopg2 on ubuntu 20

2020-11-11 Thread Clemens
sudo -H pip3 install --no-binary :all: --upgrade psycopg2 On Wednesday, November 11, 2020 at 3:27:25 PM UTC+1 ermolaev...@gmail.com wrote: > where find *python-psycopg2 for Ununtu 20?* > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web

Re: [web2py] python-psycopg2 on ubuntu 20

2020-11-11 Thread Ovidio Marinho
https://www.psycopg.org/docs/install.html Em quarta-feira, 11 de novembro de 2020, Dmitrii Ermolaev < ermolaev.icrea...@gmail.com> escreveu: > where find *python-psycopg2 for Ununtu 20?* > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web

[web2py] python-psycopg2 on ubuntu 20

2020-11-11 Thread Dmitrii Ermolaev
where find *python-psycopg2 for Ununtu 20?* -- 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 the Go

Re: [web2py] Scheduler on Opalstack

2020-11-11 Thread Gaël Princivalle
Ok the problem was that the python command must be the one of the env. So this works: nohup ~/apps/web2py_folder1/env/bin/python ~/apps/web2py_folder1/web2py/web2py.py -K myapp1 & However I've another another web2py in another folder with another app and it don't works: nohup ~/apps/web2py_folde