Re: [web2py] Re: SSL database connections

2018-04-19 Thread Richard Vézina
It much easier to make ssh port fowarding remote 5432 to local 5433 for instance and then configure pgadmin to use the local port, everything goes to ssh tunnel between you and the server... ssh -L 5433:127.0.0.1:5432 your_user@remote_ip_or_dns Richard On Thu, Apr 19, 2018 at 1:47 PM, wrote: >

[web2py] Re: Automatically repeat field text in another before record insertion

2018-04-19 Thread Anthony
On Thursday, April 19, 2018 at 3:43:02 PM UTC-4, dirman wrote: > > The page reloads the same SQLFORM edit form page with edited field not > submited > Works for me. Please show all your code and describe the exact workflow. Anthony > -- Resources: - http://web2py.com - http://web2py.com/book

Re: {Disarmed} Re: [web2py] Re: Exception while handling exception at gluon/streamer.py (python 3)

2018-04-19 Thread Antonio Salazar
This exception is quite clear, though. I decided to create an issue in the git repository, since this is a showstopper if you want to use web2py with python 3. On Thursday, April 19, 2018 at 1:42:31 PM UTC-5, Carlos Cesar Caballero wrote: > > With Python 3 there are definitely issues with the er

Re: [web2py] web2py, nginx and big files

2018-04-19 Thread Richard Vézina
Ah ok, make sens then. Are you storing the file in database or on file system at web2py level?? There is surely a way to make the copy only once at the right place, but I am pretty sure it mean writting some customization at uwsgi level and most probably some conf in nginx to bypass it usual mecha

[web2py] Re: Automatically repeat field text in another before record insertion

2018-04-19 Thread dirman
The page reloads the same SQLFORM edit form page with edited field not submited On Thursday, April 19, 2018 at 12:33:46 AM UTC, Anthony wrote: > > On Wednesday, April 18, 2018 at 6:21:12 PM UTC-4, dirman wrote: >> >> Working after adding compute=lambda >> >> Field('link', compute=lambda r: r.art

[web2py] Re: SSL database connections

2018-04-19 Thread tchristopoulos . ntc
How can someone get the .crt and .key files from the .pem files? Will this work for connecting to a remote DB stored on google cloud? On Monday, June 27, 2016 at 7:02:31 AM UTC-4, Dragan Matic wrote: > > Thanks Massimo, just in case anybody has the same problem, this is the > full syntax for co

{Disarmed} Re: [web2py] Re: Exception while handling exception at gluon/streamer.py (python 3)

2018-04-19 Thread Carlos Cesar Caballero Díaz
With Python 3 there are definitely issues with the error traces. Sometimes is difficult to find what is failing. Greetings. El 19/04/18 a las 13:50, Antonio Salazar escribió: Is anyone running into this issue? It's happening both in Windows and Linux. Should I postpone migrating to python3?

[web2py] Re: Exception while handling exception at gluon/streamer.py (python 3)

2018-04-19 Thread Antonio Salazar
Is anyone running into this issue? It's happening both in Windows and Linux. Should I postpone migrating to python3? On Wednesday, April 18, 2018 at 4:04:57 PM UTC-5, Antonio Salazar wrote: > > The bug is very easy to reproduce: > >- Clone the repository from GitHub >- Run python3 web2py.p

[web2py] Re: Web2py locks row at auth_user and web2py_session_* tables and doesn't unlock them

2018-04-19 Thread Lisandro
Hi there, I've found the issue but I still don't know how is it produced. Anthony was right from the begining when he said "the app is not hanging because the locks are being held, but rather the locks are being held because the app is hanging" Since that comment, I was waiting for the problem to

[web2py] web2py pwa

2018-04-19 Thread 黄祥
interest in learn web2py with pwa support, test the welcome scaffolding app, got unsatisified result using lighthouse (chrome extension) any pointer or suggestion where to start it? thanks and best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http

[web2py] Re: ImportError with packages in site-packages.

2018-04-19 Thread 'Hi Toni' via web2py-users
I had the same issue. Can you have a look at the installed packages: python >>> import pip >>> pip.get_installed_distributions() My requests module was installed at /home/myusername/.local -> but when I run web2py with nginx+uwsgi it is running with user "www-data". I solved the problem by unins