[web2py] Re: web2py 1.78.2

2010-05-19 Thread mdipierro
Sorry, I am pushing the new tags now. On May 19, 1:54 pm, Yarko Tymciurak wrote: > On May 19, 7:59 am, ptressel wrote: > > > On May 18, 6:31 am, mdipierro wrote: > > > > Please use 1.78.3 > > > For those of us who have it checked out from launchpad, that's rev > > 1900, no? > > Good point:  loo

[web2py] Re: web2py 1.78.2

2010-05-19 Thread mdipierro
yes On May 19, 7:59 am, ptressel wrote: > On May 18, 6:31 am, mdipierro wrote: > > > Please use 1.78.3 > > For those of us who have it checked out from launchpad, that's rev > 1900, no? > > Thanks! > > -- Pat

[web2py] Re: web2py 1.78.2

2010-05-19 Thread Yarko Tymciurak
On May 19, 7:59 am, ptressel wrote: > On May 18, 6:31 am, mdipierro wrote: > > > Please use 1.78.3 > > For those of us who have it checked out from launchpad, that's rev > 1900, no? Good point: looking at http://code.google.com/p/web2py/source/browse/.hgtags, I do not see that 1.78.3 has been

[web2py] Re: web2py 1.78.2

2010-05-19 Thread ptressel
On May 18, 6:31 am, mdipierro wrote: > Please use 1.78.3 For those of us who have it checked out from launchpad, that's rev 1900, no? Thanks! -- Pat

[web2py] Re: web2py 1.78.2

2010-05-18 Thread mdipierro
Please use 1.78.3 On May 18, 3:43 am, salbefe wrote: > Hello, > > I'm getting this error when I try to star any of the app: > > Ticket issued: admin/127.0.0.1.2010-05-18.10-39-45.4c56ac32- > d0db-4f64-98f0-9e3c1c93518b > > Traceback (most recent call last):\n  File "C:\\web2py\\gluon\ > \main.py

[web2py] Re: web2py 1.78.2

2010-05-18 Thread salbefe
Hello, I'm getting this error when I try to star any of the app: Ticket issued: admin/127.0.0.1.2010-05-18.10-39-45.4c56ac32- d0db-4f64-98f0-9e3c1c93518b Traceback (most recent call last):\n File "C:\\web2py\\gluon\ \main.py", line 381, in wsgibase\nserve_controller(request, response, sessi

[web2py] Re: web2py 1.78.2

2010-05-17 Thread szimszon
1.78.3 seems to work correctly TNX. There is one thing left with web2py and squeeze, the simplejson thing... :-o On máj. 17, 19:25, mdipierro wrote: > You are right. It is possible it is not documented in the book and it > is not your fault that it is not in the new template.py. Yet, this was >

Re: [web2py] Re: web2py 1.78.2

2010-05-17 Thread Thadeus Burgess
Tonight. -- Thadeus On Mon, May 17, 2010 at 12:25 PM, mdipierro wrote: > You are right. It is possible it is not documented in the book and it > is not your fault that it is not in the new template.py. Yet, this was > discussed some time ago on this list and a lot of people rely on it. I > t

[web2py] Re: web2py 1.78.2

2010-05-17 Thread mdipierro
You are right. It is possible it is not documented in the book and it is not your fault that it is not in the new template.py. Yet, this was discussed some time ago on this list and a lot of people rely on it. I think I added it to trunk. One problem remains with multiline comments but I think I ca

Re: [web2py] Re: web2py 1.78.2

2010-05-17 Thread Thadeus Burgess
Well, we only caught the bugs because a new version of web2py is released :) Honestly, I don't see documentation for the {{if True: =i pass}} syntax anywhere, nor have I seen an example of this until now. -- Thadeus On Mon, May 17, 2010 at 11:13 AM, mdipierro wrote: > The fact that it

[web2py] Re: web2py 1.78.2

2010-05-17 Thread mdipierro
The fact that it does not work with new engine has to be considered a bug. I should have caught it before. I am now working to fix it. The new engine will be 100% backard compatible. I think I have already fixed this problem in trunk (please check it) but there are still some issues with multiline

[web2py] Re: web2py 1.78.2

2010-05-17 Thread szimszon
There is odd because I have a lot of code with {{ =some.var}} and {{if something: =T('something') pass}} If it doesn't work with the new engine I have to do a lot of work :( On máj. 17, 16:53, Thadeus Burgess wrote: > You cannot have random = signs in your view. > > The s

[web2py] Re: web2py 1.78.2

2010-05-17 Thread greenpoise
Could it be with the template? I changed the template and it worked. It does not work with Balanced On May 17, 10:53 am, Thadeus Burgess wrote: > You cannot have random = signs in your view. > > The syntax is > > {{python code here}} > > {{=python variable here}} > > You MUST declare {{= with no

[web2py] Re: web2py 1.78.2

2010-05-17 Thread mdipierro
Not quite. Before the new template engine we could do {{for i in range(10): =i pass}} if this is broken. It must be fixed. On May 17, 10:04 am, Jonathan Lundell wrote: > On May 17, 2010, at 7:53 AM, Thadeus Burgess wrote: > > > You cannot have random = signs in your view. > > > The syntax is

Re: [web2py] Re: web2py 1.78.2

2010-05-17 Thread Jonathan Lundell
On May 17, 2010, at 7:53 AM, Thadeus Burgess wrote: > You cannot have random = signs in your view. > > The syntax is > > {{python code here}} > > {{=python variable here}} > > You MUST declare {{= with no space in between. the bracket and equal sign. Alternatively (correct me if I'm wrong), r

Re: [web2py] Re: web2py 1.78.2

2010-05-17 Thread Thadeus Burgess
You cannot have random = signs in your view. The syntax is {{python code here}} {{=python variable here}} You MUST declare {{= with no space in between. the bracket and equal sign. -- Thadeus On Mon, May 17, 2010 at 2:23 AM, szimszon wrote: > default/index.html: > --- cut

[web2py] Re: web2py 1.78.2

2010-05-17 Thread mdipierro
The ticket missing "pass" in view is not a mistake. It is checking for a bug in your views that was not being detected before. Here is an example: {{if True:}} Hello world Notice that a {{pass}} is missing. web2py was not checking before causing potential problems are runtime. It now checks. O

[web2py] Re: web2py 1.78.2

2010-05-17 Thread greenpoise
Ticket 127.0.0.1.2010-05-17.09-48-36.ca732008-3e5a-4346-8d65-27ee970109ea missing "pass" in view Error traceback 1. 2.None On May 17, 9:29 am, szimszon wrote: > I think it's related to the new templating engine :-o > >     Ticket 127.0.0.1.2010-05-17.09-20-49.56d45b51-05f0-49b5-9b10- > cd7e9a

[web2py] Re: web2py 1.78.2

2010-05-17 Thread mdipierro
Please email me the template that causes a problem. There are some possible issues: 1) it is possible that lines starting with = are not parsed properly 2) some errors are not reported properly 3) the new template engine checks for un-matched blocks (missing pass). These are bugs that were not bein

[web2py] Re: web2py 1.78.2

2010-05-17 Thread szimszon
I think it's related to the new templating engine :-o Ticket 127.0.0.1.2010-05-17.09-20-49.56d45b51-05f0-49b5-9b10- cd7e9a3212a6 ==> missing "pass" in view I think there is some shift in the python code logic because the template got parsed wrong... On máj. 17, 14:56, Timothy Farrell wrote:

Re: [web2py] Re: web2py 1.78.2

2010-05-17 Thread Timothy Farrell
I see this Rocket error. That error is normal in the course of operations but should never be detected through web2py. Did you get that traceback from a ticket or somewhere else? How does this error relate to the messages you sent before? Do they happen at the same time? -tim On 5/17/2010

[web2py] Re: web2py 1.78.2

2010-05-17 Thread szimszon
default/index.html: --- cut - {{extend 'layout.html'}} {{try:}}{{=H2(message)}}{{except:}}{{=BEAUTIFY(response._vars)}} {{pass}} {{=T('Changes not in use:')}} {{changes=db(db.web.modified==True).select(db.web.id,db.web.name,db.web.controller) if len(c

[web2py] Re: web2py 1.78.2

2010-05-16 Thread szimszon
info.html: --- cut - {{extend 'layout.html'}} {{=title}} {{if auth.user_id==1: =A("(m)",_href=szerkeszt) pass}} {{=XML(szoveg)}} {{if auth.user_id==1: =A("(m)",_href=szerkeszt) pass}} - cut -

[web2py] Re: web2py 1.78.2

2010-05-16 Thread szimszon
What is the status of the simplejson problem? Any progress? On máj. 17, 07:49, mdipierro wrote: > I just did it. I think. > > On May 17, 12:36 am, Jonathan Lundell wrote: > > > > > On May 16, 2010, at 9:35 PM, mdipierro wrote: > > > > We found some problems in 1.78.1 and errors in views will not

Re: [web2py] Re: web2py 1.78.2

2010-05-16 Thread Jonathan Lundell
On May 16, 2010, at 10:49 PM, mdipierro wrote: > I just did it. I think. Yes, I see it now. > > On May 17, 12:36 am, Jonathan Lundell wrote: >> On May 16, 2010, at 9:35 PM, mdipierro wrote: >> >>> We found some problems in 1.78.1 and errors in views will not display >>> correctly in tickets t

[web2py] Re: web2py 1.78.2

2010-05-16 Thread mdipierro
I just did it. I think. On May 17, 12:36 am, Jonathan Lundell wrote: > On May 16, 2010, at 9:35 PM, mdipierro wrote: > > > We found some problems in 1.78.1 and errors in views will not display > > correctly in tickets thus causing problems. We have a temporary fix in > > 1.78.2 but it will still