[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 I

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. http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=Using-an-iterator-based-select-for-lower-memory-use#Using-an-iterator-based-select-for-lower-memor

[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; and css .aloading { display: none; border-style: non

[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 investiga

[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 to

[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] Re: Rocket // HTTP 400 Bad Request - Body is incomplete

2015-01-31 Thread cem
#x27; + query_string), environ My best, 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 Jan

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

2015-01-31 Thread M. Cem Eren
, M. Cem Eren 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 view

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 replac

[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 Nip

[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. DocumentRoot /var/sites/web2py WSGIDaemonProcess web2py user=www-data group=www-data \ display-name=%{GR

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

2015-01-13 Thread cem
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: > > The controller I built was based on this slice > <http://www.web2pyslices.com/slice/show/1529/custom-error-routing>, so it

[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 with

[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 Perşem

[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 " na

[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 "(name 'auth' is not defined)" if I remove the compiled application, it works without a problem. I both tried to update the we