[web2py] Re: 2.9.6 broke custom view template delimiters

2014-09-04 Thread Jonathan New
miters = ( escape(delimiters[0]), escape(delimiters[1])) self.r_tag = compile(r'(%s.*?%s)' % escaped_delimiters, DOTALL) On Thursday, September 4, 2014 6:48:13 PM UTC+8, Jonathan New wrote: > > Unfortunately, the l

[web2py] Re: 2.9.6 broke custom view template delimiters

2014-09-04 Thread Jonathan New
limiters, DOTALL) On Wednesday, September 3, 2014 9:29:50 PM UTC+8, Massimo Di Pierro wrote: > > This will be fixed today with a new emergency release. > > On Wednesday, 3 September 2014 05:02:15 UTC-5, Jonathan New wrote: >> >> In pr

[web2py] 2.9.6 broke custom view template delimiters

2014-09-03 Thread Jonathan New
In prior web2py versions, we can change the template delimiters by response.delimiters = ('') With 2.9.6, gluon/template.py in lines 282-290 were changed such that response.delimiters doesn't work. I tried response.app_settings = {'template_delimiters': ('')} which the new code seems to refe

[web2py] Re: v 2.5.1 breaks GAE Cloud SQL?

2013-06-27 Thread Jonathan New
it should > be moved somewhere else. > > Can you confirm this fixes the problem? > > On Thursday, 27 June 2013 06:00:08 UTC-5, Jonathan New wrote: >> >> Hi Massimo, >> >> Removing lines 598 to 600 from dal.py allows connection to cloud sql >> normally

[web2py] Re: v 2.5.1 breaks GAE Cloud SQL?

2013-06-27 Thread Jonathan New
:18 PM UTC+8, Jonathan New wrote: > > Hi Massimo, > > My colleague discover that in the DAL of version 2.5.1, line 598 to 600, > the reconnect function checks for self.driver. However, in the case of > GAE, it uses GoogleSQLAdapter which does not set the self.driver since it &g

[web2py] Re: v 2.5.1 breaks GAE Cloud SQL?

2013-06-27 Thread Jonathan New
> this. > > On Thursday, 27 June 2013 02:28:38 UTC-5, Jonathan New wrote: >> >> After upgrading Web2py to 2.5.1, it can't connects to Google's CloudSQL. >> >> The message from the log is >> dal.py:599] Skipping connection since there's no driver.

[web2py] Re: v 2.5.1 breaks GAE Cloud SQL?

2013-06-27 Thread Jonathan New
Di Pierro wrote: > > What you upgrading from? I cannot think of any change that would cause > this. > > On Thursday, 27 June 2013 02:28:38 UTC-5, Jonathan New wrote: >> >> After upgrading Web2py to 2.5.1, it can't connects to Google's CloudSQL. >> >>

[web2py] v 2.5.1 breaks GAE Cloud SQL?

2013-06-27 Thread Jonathan New
After upgrading Web2py to 2.5.1, it can't connects to Google's CloudSQL. The message from the log is dal.py:599] Skipping connection since there's no driver. dal.py:4926] 1 Reverting gluon back to 2.4.6 (the version we did our development on) works. Is there any changes on the connection stri

[web2py] %26 in url causes url parsing error

2013-03-28 Thread Jonathan New
I found out that web2py cannot parse url contains args like value%26value It will throw 400 BAD REQUEST. Inspecting the response header also shows: web2py_error: invalid arg I'm using web2py 2.4.5 -- --- You received this message because you are subscribed to the Google Groups "web2py