Hello,

I have following error:

Traceback (most recent call last):
  File "/home/services/nginx/web2py/gluon/restricted.py", line 184, in
restricted
    exec ccode in environment
  File "/home/services/nginx/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'

response.title = settings.title
response.subtitle = settings.subtitle
response.meta.author = '%s <%s>' % (settings.author,
settings.author_email)
response.meta.keywords = settings.keywords
response.meta.description = settings.description
response.menu = [
(T('Index'),URL('index').xml()==URL().xml(),URL('index'),[]),

Can You give me some advice, what is wrong ?

Regards
brushek

Reply via email to