There is nowhere I can see that I am altering request in the models. What is the specific reason that request would break the URL function? Any other ideas what the problem could be?
Avik On Sep 17, 7:57 pm, Jonathan Lundell <jlund...@pobox.com> wrote: > On Sep 17, 2010, at 4:44 PM, Avik Basu wrote: > > > > > Yes, I'm sure I'm running 1.85.2. i copied over appadmin.py and the > > associated views to my applications. What is strange though is that I > > can run the welcome app without any problem (http://127.0.0.1:8000/ > > welcome/appadmin/index), but not the version I copied into my > > application (http://127.0.0.1:8000/FWv9_1_Avik/appadmin/index). Is > > there some other file I need to copy? > > I'm not seeing anything. > > Is it possible that you're altering request in your model(s)? > > > > > > > Avik > > > On Sep 17, 7:24 pm, Jonathan Lundell <jlund...@pobox.com> wrote: > >> On Sep 17, 2010, at 4:06 PM, Avik Basu wrote: > > >>> Hi, > > >>> I get the following error in appadmin.py which I copied over from the > >>> welcome app in version 1.85.2: > > >> Are you running 1.85.2? It sounds like you might be running something > >> earlier. > > >>> Traceback (most recent call last): > >>> File "/Volumes/Data/avikbasu/web2py/gluon/restricted.py", line 188, > >>> in restricted > >>> exec ccode in environment > >>> File "/Volumes/Data/avikbasu/web2py/applications/FWv9_1_Avik/ > >>> controllers/appadmin.py", line 40, in <module> > >>> URL('index')], [T('state'), False, > >>> File "/Volumes/Data/avikbasu/web2py/gluon/html.py", line 188, in URL > >>> raise SyntaxError, 'not enough information to build the url' > >>> SyntaxError: not enough information to build the url > > >>> Any ideas? > > >>> Thanks, > >>> Avik