[web2py] Re: Strange error with cookies (to the same domain) accesed through the same router

2016-08-21 Thread cem
Really weird. I have reproduced the problem from Turkey too. I am no network expert but they would better check security / firewall software running at any tier if applicable. Good luck. On Wednesday, August 17, 2016 at 2:08:00 AM UTC+3, Lisandro wrote: > > I'm having this strange problem, and

Re: [web2py] Re: DAL size limit for query?

2016-08-04 Thread cem
You may try using iterselect() instead of select() if the issue is memory related. The link to the book is below.

[web2py] Re: Show busy during AJAX?

2015-03-21 Thread cem
I prefer to use the below scripts; $(document).ajaxStart( function () { $(.aloading).show(); }); $(document).ajaxStop( function () { $(.aloading).hide(); }); put somewhere above body for example; div class=aloading/div and css .aloading { display: none;

[web2py] Re: for Testers

2015-03-18 Thread cem
I tested on nginx/uwsgi environment running couple of applications (using sqlite, postgres db or no db at all, from sign up to change and reset password as well as app specific functions). I did not notice any problem. On Tuesday, March 17, 2015 at 4:40:17 PM UTC+2, Massimo Di Pierro wrote:

[web2py] Re: uwsgi: strange messages

2015-02-13 Thread cem
I used the same script to setup nginx and uwsgi and it helped me a lot speeding up my learning process, as it is almost turnkey. I had the same warning message for uid though it has been clearly configured in web2py.ini. I just added --uid param to the exec command and did not further

[web2py] Conditional https but none or all

2015-02-11 Thread cem
Hi, I would like to force https before login and after authentication for all the site. I would like also to force http (if there is any direct https request) for the fact that the visitor is not authenticated and is not requesting to do so. By definition, auth's secure=True parameter seems

[web2py] Re: Memory leaks in web2py : how do you track them ?

2015-02-04 Thread cem
Hi, performed the test on 2.9.11-stable+timestamp.2014.09.15.23.35.11 (Running on Apache/2.4.7 (Ubuntu), Python 2.7.6): I utilised apache benchmark (ab), making 1130 request within a minute twice with and without log.close(). I did not notice any memory leak, (neither with the log nor with the

Re: [web2py] Rocket // HTTP 400 Bad Request - Body is incomplete

2015-01-31 Thread M. Cem Eren
. Cem Eren c...@cemeren.com wrote: I replicate the error easily. Could you please try to change your controller’s index function to: def index(): example action using the internationalization operator T and flash rendered by views/default/index.html or views/generic.html

Re: [web2py] Rocket // HTTP 400 Bad Request - Body is incomplete

2015-01-31 Thread M. Cem Eren
I replicate the error easily. Could you please try to change your controller’s index function to: def index(): example action using the internationalization operator T and flash rendered by views/default/index.html or views/generic.html if you need a simple wiki simply replace

Re: [web2py] Re: Rocket // HTTP 400 Bad Request - Body is incomplete

2015-01-31 Thread cem
, Cem. 7 Ocak 2015 Çarşamba 00:51:24 UTC+2 tarihinde Massimo Di Pierro yazdı: The version of rocket that ships with web2py is 1.2.6. But what version of web2py are you using. What is the controller in question? On Tuesday, 6 January 2015 13:03:52 UTC-6, Derek wrote: Yeah, this is strange

[web2py] Re: web2py 2.9.12 is OUT

2015-01-20 Thread cem
Sanitizer is closing br and img tags. I did not notice this on 2.9.12 beta test probably missed that. On Saturday, January 17, 2015 at 8:20:14 AM UTC+2, Massimo Di Pierro wrote: Changelog: - Modular DAL, thanks Giovanni - Added coverage support, thanks Niphlod - More tests, thanks Niphlod

[web2py] Re: Routes for 2 domains and 2 apps

2015-01-19 Thread cem
Hi, Try to use separate wsgi processes for each ssl site. Please see my example below. one process for all non ssl sites and separate process for each ssl site. VirtualHost *:80 DocumentRoot /var/sites/web2py WSGIDaemonProcess web2py user=www-data group=www-data \

Re: [web2py] Re: Rocket // HTTP 400 Bad Request - Body is incomplete

2015-01-13 Thread cem
) The controller in question is just some error handler I made that automatically (and synchroneously) sends tickets as e-mails to administrators. This is due to Heroku having an ephemeral filesystem : you can't rely on tickets being stored on the filesystem for any length of time. @cem

[web2py] Re: Rocket // HTTP 400 Bad Request - Body is incomplete

2015-01-07 Thread cem
Since you mentioned that the server stalls either, could it be possible that your error handler is creating another error and causing an infinite loop? If you check that request.vars.request_url does not equal to request.url, this could be prevented. I admit that it is just a guess of mine

[web2py] Re: a very selfish request

2014-10-10 Thread cem
I don't have a twitter account (don't ask why) but I wanted to say few things. The web2py project helped me to dive into the web technologies but more than that, reminded me that there are good people doing nice things just for good. Thanks and wish you luck, hope you get it. 9 Ekim 2014

[web2py] Version 2.7.3 compiled application

2013-10-13 Thread cem
Hi, under OSX 10.8.5, 2.7.3-stable+timestamp.2013.10.11.23.12.01 (Running on Rocket 1.2.6, Python 2.7.2), when I compile an application, web2py throws an error stating type 'exceptions.NameError'(name 'auth' is not defined) if I remove the compiled application, it works without a problem. I

[web2py] Re: Version 2.7.3 compiled application

2013-10-13 Thread cem
I realized that I stated the problem a little bit vague by not writing when I compile and run the app. I can compile the application but when I run it it throws the error. I can run the app if I don't compile it. It applies to Welcome app too. If I compile and run it, it throws the error type