[web2py] Re: compiling application ?

2018-03-02 Thread Alex Beskopilny
try this cd /home/w2p/web2py python -c "import gluon.compileapp; gluon.compileapp.compile_application('applications/myapp')" # for using gzip compression with nginx # https://www.digitalocean.com/community/tutorials/how-to-add-the-gzip-module-to-nginx-on-ubuntu-14-04 #

[web2py] Re: gevent and web2py

2018-03-02 Thread nethugolol
I think you can, but how is this related to web2py? I mean, you can even run gevent inside a function in a controller if you want. Like in the example, if you have an action that needs to check if three URLs are available, it will return faster if you query those URLs asynchronously (using

[web2py] How many concurrent requests can a web2py instance handle?

2018-03-02 Thread nethugolol
I know this is probably not a specific web2py issue, but rather a WSGI one. I am somewhat confused. However, this is not the largely discussed "Does web2py scale?" question. I am wondering if a single web2py instance can handle two or more requests concurrently, or if two users access to the

[web2py] Re: Option to load modified appconfig in rocket server

2018-03-02 Thread Anthony
On Friday, March 2, 2018 at 4:13:21 AM UTC-5, Yan Wong wrote: > > Anthony: I'm assuming that on my production server, which is run through > uwsgi, the 'args' argument is typically not used, so this won't interfere > with anything? > cmd_options should only appear when running web2py via the

Re: [web2py] Re: please help us test trunk web2py

2018-03-02 Thread pbreit
Thanks. I've already cloned. But remained confused how to update correctly. Normally I would just "git pull" but am not sure if I need to do something else to make sure DAL updated, too. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: Unexpected behaviour executing a query with DAL and record versioning enabled

2018-03-02 Thread Richard Vézina
Hmmm... I think that if you have record versioning activated there shouldn't be any is_active row(s) with NULL value... I mean is_active flag is used to determine if the record in the "parent" table has been deleted or not, since you can truely deleted in case you use record versioning feature as

[web2py] Re: Unexpected behaviour executing a query with DAL and record versioning enabled

2018-03-02 Thread 'Awe' via web2py-users
So, I did check it again: It seems that DAL is not able to handle a left join using ISNULL condition in combination with enabled record versioning. There are two "is active" checks within the left join: OK The next two upcoming ANDs to check "is_active" are not necessary and actually prohibit

[web2py] Back button with an Ajax LOAD page

2018-03-02 Thread Gaël Princivalle
Hello. I've made a product page with the Ajax LOAD system: http://www.mompala.it/prodotti The idea is giving the possibility to the user to browse these products without a page reload, and it works fine. The problem is that browsing the products don't change the url. I've made a script that

[web2py] Re: Option to load modified appconfig in rocket server

2018-03-02 Thread 'Yan Wong' via web2py-users
Anthony: I'm assuming that on my production server, which is run through uwsgi, the 'args' argument is typically not used, so this won't interfere with anything? I can't find much documentation about request.env.cmd_options.args. Cheers Yan On Thursday, 1 March 2018 12:23:44 UTC, Anthony