[web2py] mongrel2 + uwsgi + web2py

2012-02-16 Thread Anthon
I had some difficulty getting the mongrel2 + uwsgi + web2py to work because uwsgi was not setting all of the environment variables that web2py was expecting. With uWSGI 1.1 some improvements will be made, but e.g. web2py logging is depending on REMOTE_ADDRESS and this is not set by uWSGI and we

[web2py] sub url

2011-03-18 Thread Anthon
lication')}} {{=T('You can modify this application and adapt it to your needs')}} I am not sure there are more issues. Is this the proper direction to proceed? Regards Anthon PS I like backwards compatibility. I went from an application on some December 2009 version to version 1.89 in November without any major problems.

[web2py] web2py ajax based forms

2010-05-01 Thread Anthon
I have for some time been working with the ajax based forms so I don't have a full redrawn on submitting a form. I also tend to have multiple buttons on my forms, as well as multiple TABs that might have submit buttons with the same value. (In a FORM submitted in the normal way, one would add a na

[web2py] pyrtf musings

2010-03-15 Thread Anthon
The latest version of pyrtf on sourceforge (as indicated in the apendix of the web2py book: http://pyrtf.sourceforge.net) is 0.45, however the one included in gluon/contrib is indicated as 0.46 (according to the README). Did this come from some other place, or is that version update because of the

[web2py] Re: Ladies and Gentelmen... the web2py book is online

2010-02-15 Thread Anthon
Very nice. I already got the PDF, but with the online version you can actually cut and paste the code sections without getting the line-numbers in between. For me that means: rm ~/bin/strip_web2py_linenumbers ;-) On Feb 12, 2:30 am, mdipierro wrote: > http://web2py.com/book > > This is only for

[web2py] non minified version of calendar.js

2010-02-04 Thread Anthon
I am looking for a non minified version of calendar.js. The old version from Dynarch.com doesn't seem to have all of the time related extensions and I could not get it to work. I am get a stack overflow in IE7, when using calendars in a pane loaded using web2py_ajax_page() from menu entries. and w

[web2py] Re: downloading to IE& over https

2010-01-24 Thread Anthon
I tried adding: response.headers['Cache-Control']="private" return response.stream(pdfContents,chunk_size=4096) based on this thread: http://groups.google.com/group/web2py/browse_thread/thread/8da2043ec17debd6/4ae69758b19ba426 That solves the issue as well, without the need for p

[web2py] downloading to IE& over https

2010-01-23 Thread Anthon
convince my clients to switch if that solves the issue (as I might as well ask them to use Firefox in that case). Any help or insights would be appreciated. Anthon -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to

[web2py:31515] Re: Versioning using Mercurial

2009-09-23 Thread Anthon
I updated the patch: - the commit field is now above the revision information/committed file list - if you commit and there are no changes, you get a flash message --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2

[web2py:31508] Re: Versioning using Mercurial

2009-09-22 Thread Anthon
the commandline gives you far less junk. So no need to redirect sys.stdout, but thanks for the feedback on that anyway (I did read the docs, but it was more than 2 years ago). The patch is available here: http://www.ruamel.eu/download/19820330/web2py/mercurial01.patch Anthon On Sep 22, 2:05

[web2py:31453] Versioning using Mercurial

2009-09-22 Thread Anthon
interest in this way of solving this issue Anthon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this g

[web2py:31097] Error in 2nd edition manual? Formatting improvement request.

2009-09-15 Thread Anthon
. Anthon BTW releasing the 2nd edition was a good move, I was considering buying the manual and that decided the issue for me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to

[web2py:20613] Re: URL structure for multilanguage site

2009-04-27 Thread Anthon
Oops, and the second line has a problem as well: > if session.force_language: T.force(force_language) if session.force_language: T.force(session.force_language) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py

[web2py:20614] Re: URL structure for multilanguage site

2009-04-27 Thread Anthon
On Apr 18, 5:41 pm, mdipierro wrote: > Personally I do not user routes much and I like to do > I thinks the following line: > if request.vars.force_language: session.force_language Should be: if request.vars.force_language: session.language = request.vars.force_language > if session.fo