Thank You Masimo, I posted twice, becaouse I didn't see the first post. So ignore it.
On 2 Cze, 14:19, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > This line: > > (T('Index'),URL('index').xml()==URL().xml(),URL('index'),[]) > > should be > > (T('Index'),URL('index')==URL(),URL('index'),[]) > > This is because this code was generated by the wizard and the wizard > is still experimental. This worked with only an early version of the > wizard. The new wizard does not do this any more. > > Massimo > > On Jun 2, 3:21 am, brushek <luk...@chrustek.net> wrote: > > > > > > > > > Hello, > > > I get following error after upgrade to 1.96.1: > > > Wersja > > > web2py™ Version 1.96.1 (2011-06-01 19:20:34) > > Python Python 2.7.1: /usr/bin/python > > Traceback > > > Traceback (most recent call last): > > File "/home/users/brushek/web2py/gluon/restricted.py", line 184, in > > restricted > > exec ccode in environment > > File "/home/users/brushek/web2py/applications/panel_vps2/models/ > > menu.py", line 8, in <module> > > (T('Index'),URL('index').xml()==URL().xml(),URL('index'),[]), > > AttributeError: 'str' object has no attribute 'xml' > > > I didn't change the code, only upgrade to 1.96.1. > > > Regards > > brushek