I was missing a paranthesis... sorry for the confusion - and thanks for the help... Sometimes taking a walk and comming back to the editor is the best way to handle errors.
I had: {{=LI(A(image.title, _href=URL("show", args=image.id))}}$ but should have had: {{=LI(A(image.title, _href=URL("show", args=image.id)))}}$ Sorry again. On Tue, Feb 7, 2012 at 8:36 PM, Bruno Rocha <rochacbr...@gmail.com> wrote: > you are missing {{ or }} somewhere in view > > > On Tue, Feb 7, 2012 at 5:26 PM, Andreas Christoffersen < > achristoffer...@gmail.com> wrote: > >> >> Hi group, >> >> >> I am trying to build the simple image blog from the web2py book chapter 3. >> As far as I can see I have reentered the example code to the letter - but >> still I get an error (which I think stems from layout.html?) (using latest >> web2py on mac) >> >> >> >> Traceback (most recent call last): >> >> >> >> >> >> File "gluon/restricted.py", line 203, in restricted >> >> >> >> >> >> File "gluon/restricted.py", line 189, in compile2 >> >> >> >> >> >> File >> "/Users/andreas/web2py/web2py.app/Contents/Resources/applications/images/views/default/index.html", >> line 79 >> >> >> >> >> >> response.write('\n ', escape=False) >> >> >> >> >> >> ^ >> SyntaxError: invalid syntax >> >> >> >> TiA. >> >> >> Andreas >> >> > > > -- > > Bruno Rocha > [http://rochacbruno.com.br] > >