This

 (T('Index'),URL('index').xml()==URL().xml(),URL('index'),[]),

should be

 (T('Index'),URL('index')==URL(),URL('index'),[]),

On Saturday, 9 June 2012 15:57:02 UTC-5, tonton wrote:
>
> hie im looking at the source code... i think i have most of the 
> infrastructure in place... but to start log2db.py i run into the following 
> error..
>
> Traceback (most recent call last):
>>>   File "/home/www-data/web2py/gluon/restricted.py", line 205, in 
>>> restricted
>>>     exec ccode in environment
>>>   File "applications/trading/models/menu.py", line 7, in <module>
>>>     (T('Index'),URL('index').xml()==URL().xml(),URL('index'),[]),
>>> AttributeError: 'str' object has no attribute 'xml'
>>>
>>
> can some please point me in the right direction to solving this. i have 
> cracked my head for two days and i feel like i am missing something very 
> simple 
>

Reply via email to