[web2py] Re: AWS Lambda Deployment Recipe

2019-09-17 Thread App Jar
Unfortunately no. I access the admin from localhost (my dev machine) I also have an AWS CloudWatch alarm to trigger on an error in the CloudWatch logs and invoke a different lambda (running a python script) that writes the ticket to an error table in the DB so I can see those error tickets.

[web2py] Not Anable To Start Web2py to Access Admin & IDE Site

2019-09-17 Thread dangeo
Hello, I'm new to Web2py and just getting started with it. I downloaded python 2.7 and also Web2py from gighub and extracted the files. Using windows command line i tried launching Web2py with the following line: C:\Users\xxx> python27\web2py web2py.py but i get this message: The system cannot

[web2py] Re: How to stopped redirection to user/login.html

2019-09-17 Thread Patito Feo
Hi, After many hours of desperately search i found the solution. You dont import Auth() on any of the controllers. #from gluon.tools import Auth #auth = Auth(db) So, in db.py will imported and configured it for all the app. Regards, El miércoles, 11 de septiembre de 2019, 18:40:26

[web2py] Re: cache.action

2019-09-17 Thread Attilio Drei
for information, using web2py with python3 and gunicorn/meinheld, i am able to do 1000 queries per second using a redis backend and 1 key seek., in this case i set db to sqlite:memory. GUNICORN_CMD_ARGS=" --workers=6 --worker-class=meinheld.gmeinheld.MeinheldWorker"python3

[web2py] Re: AWS Lambda Deployment Recipe

2019-09-17 Thread Jaime Sempere
Hi Mike, I've been following your recipe, but I have an 'read-only file system issue' (I think is due that I did not set up a database and web2py is trying to create the datatables files) So, can you give me some clues about it? Also, how should i set up and configure my rds to work with

[web2py] decremental subtraction of values in DB field 2

2019-09-17 Thread mostwanted
For a while now i have been trying to simulate excel functionality without success, i have had some assistance from Anthony but i still failed to make it work but its all because of my limited imagination, i just didn't understand his solution.

[web2py] Re: cache.action

2019-09-17 Thread Massimo Di Pierro
No. That is why I am making py4web and it is 20x faster. On Monday, 16 September 2019 23:02:02 UTC-7, Attilio Drei wrote: > > hi, when i set a cache action still web2py continue to do queries to > database for every call. ( select 1; commit) > is possible to set db to null or sqlite:memory

[web2py] Re: py4web grid syntax - needs testers

2019-09-17 Thread Massimo Di Pierro
You have an olv version of pydal python3 -m pip install -U pydal On Monday, 16 September 2019 17:02:04 UTC-7, isi_jca wrote: > > Hi!!! > > 1°) > When I try to use > > "A page with an update form example", the console show: > > ERROR:root:Traceback (most recent call last): > File >

[web2py] cache.action

2019-09-17 Thread Attilio Drei
hi, when i set a cache action still web2py continue to do queries to database for every call. ( select 1; commit) is possible to set db to null or sqlite:memory when in cache mode ? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py