I do not know for sure without looking at the code but I suspect you
have a custom layout.html and you do something like {{for item in
response.menu:}} without having a response.menu. If this is the case
the case change the looping line into {{for item in response.menu or
[]:}}Massimo On Nov 14, 11:09 am, "Wes James" <[EMAIL PROTECTED]> wrote: > I can go tohttp://host/adminand I have an apache redirect tohttps://adminand > I can log in fine and access my app in the site menu > and click on index or login on, the default.py line, it will go right > to a login and all works fine, but if I then go up to the url input > box of the browser and hit enter or copy and paste the login > urlhttps://host/app/default/login (or evenhttps://hots/app) then i get > the error below: > > Error traceback > Traceback (most recent call last): > File "gluon/restricted.pyc", line 62, in restricted > File > "/path/web2py.app/Contents/Resources/applications/app/views/generic.html", > line 31, in <module> > TypeError: argument of type 'NoneType' is not iterable > > any ideas why? > > -wj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

