Re: [web2py] Speed

2019-09-22 Thread Gaël Princivalle
Dear Ramos thank you for your answer. My analysis was superficial, in fact this fluidpowernet website is not so fast. For other reasons I've upgraded my Webfaction plan from cloud 2GB to 4GB, it's really faster. Il giorno mercoledì 4 settembre 2019 18:31:50 UTC+2, Ramos ha scritto: > > The inf

[web2py] reCaptcha in China

2019-09-22 Thread Gaël Princivalle
Hello. I've added reCaptcha to one of my applications but one of my Chinese users send me this feedback, he's not able to log in anymore. In fact Google is blocked in China, reCaptcha is provided by Google, so the form cannot be validated. http://web2py.com/books/default/chapter/29/09/access-co

[web2py] a first py4web video tutorial - running on pythonanywhere.com

2019-09-22 Thread Massimo Di Pierro
https://youtu.be/Wxjl_vkLAEY -- 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 Google Groups "w

[web2py] Re: py4web grid syntax - needs testers

2019-09-22 Thread isi_jca
Hi!!! In models.py, I have this table db.define_table('tempresa', Field('descripcion','string',length=50,label = T('Enterprise')), Field('email','string',length=50, label = T('Email')), Field('phone','string',length=50, label = T('Phone')), Field('estado','reference trestado',label = T('State')),

Re: [web2py] Re: Unable to add auth.signature in table - PY4WEB

2019-09-22 Thread Massimo Di Pierro
Posted a new _scaffold. Now both db and auth are defined in common. If you import common from models, you are fine. On Sunday, 22 September 2019 17:48:53 UTC-7, Massimo Di Pierro wrote: > > The problem is that your code is executed before > > auth.enable() > > in common.py. The above statement

Re: [web2py] Re: Unable to add auth.signature in table - PY4WEB

2019-09-22 Thread Massimo Di Pierro
The problem is that your code is executed before auth.enable() in common.py. The above statement defines the auth_user table. I will refactor the scaffolding app to make sure common.py is imported before models.py -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Virtual machine for web2py with (Debian) Linux, Apache and Python 3.7

2019-09-22 Thread martel berends
I'm looking for a pre-build production like Virtual Machine with the complete infrastructure like Turnkey Linux. The Turnkey linux web2py appliance works on Python 2.7, and (or but) is working fine. Since Python 2 is officially end of life by the end of this year I would like to setup a new en

[web2py] Web2Py Data POST Failure

2019-09-22 Thread Ben Mull
I am posting some dictionarty data to Web2py, Certain data POSTS consistently succeed, and certain data POSTS consistently fail. Both return , but the second data dictionary fails to post, with no error / exception raised. This data consistently succeeds to POST: data = {"batt chrg": {

Re: [web2py] Re: Problem with encoding (INSERT web2py)

2019-09-22 Thread Luciano Fain
I installed psycopg2 and all work fine now. Thanks anyway Massimo El dom., 22 sep. 2019 03:48, Massimo Di Pierro escribió: > ... and can you show us the complete traceback? > > On Saturday, 21 September 2019 23:47:28 UTC-7, Massimo Di Pierro wrote: >> >> Can you try? >> >> nombre_cliente = u'SE

Re: [web2py] Re: does having similar controller names or app folder names cause conflict in web2py?

2019-09-22 Thread Rahul Dhakate
Hi Massimo, I appreciate your reply. I had an application where in I had two controllers one called as default.py and the other called as default_0001.py in the same folder. I experienced strange issues which were fixed in the new default.py but were still there reflecting in the applicati

[web2py] Re: Odd MySQL connection problem

2019-09-22 Thread backseat
Resolution, in case anyone else sees this: I had imported the database from our production system. The database includes a view. The database username, and thus the view creator name, are different on the production vs development system. That means the view is not visible to the MySQL user on