Which version exactly? Which web2py version? I cannot reproduce On Sunday, 23 February 2014 21:15:52 UTC-6, Alberto wrote: > > Hello, > > > I just downloaded the most recent version of web2py and created a new app > that I haven't edited at all. If I click on the database administration > button in the Models section I am getting the following error: > > Traceback (most recent call last): > > File "/Users/ajl/Downloads/web2py/gluon/restricted.py", line 216, in > restricted > ccode = compile2(code, layer) > File "/Users/ajl/Downloads/web2py/gluon/restricted.py", line 199, in > compile2 > return compile(code.rstrip().replace('\r\n', '\n') + '\n', layer, 'exec') > File > "/Users/ajl/Downloads/web2py/applications/app1/controllers/appadmin.py" > <http://127.0.0.1:8000/admin/default/edit/app1/controllers/appadmin.py>, line > 266 > *fields, limitby=(start, stop), > ^ > SyntaxError: invalid syntax > > > Any ideas why that is the case? I am sure that a few weeks ago when I played > with web2py the last time the thing worked. > > Thanks > >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.