My application was working perfectly fine. I removed onupdate=auth.archive from my grid and now I cant view/edit records:
Traceback (most recent call last): > File "Applications/web2py/gluon/restricted.py", line 227, in restricted > exec ccode in environment > File " > <http://localhost:8000/admin/default/edit/MosaicCatalogBuilder/controllers/default.py>Applications/web2py/applications/Mos/controllers/default.py" > > <http://localhost:8000/admin/default/edit/MosaicCatalogBuilder/controllers/default.py>, > line 144, in <module> > File "Applications/web2py/gluon/globals.py", line 412, in <lambda> > self._caller = lambda f: f() > File "Applications/web2py/gluon/tools.py", line 3583, in f > return action(*a, **b) > File " > <http://localhost:8000/admin/default/edit/MosaicCatalogBuilder/controllers/default.py>Applications/web2py/Mos/controllers/default.py" > > <http://localhost:8000/admin/default/edit/MosaicCatalogBuilder/controllers/default.py>, > line 99, in price_updates > form = > SQLFORM.smartgrid(db.catalog,showbuttontext=False,onupdate=auth.archive) > File "Applications/web2py/gluon/sqlhtml.py", line 3041, in smartgrid > grid.update_form.record)) > File "Applications/web2py/gluon/sqlhtml.py", line 2916, in format > return table._format % row > File "Applications/web2py/gluon/packages/dal/pydal/objects.py", line 76, in > __getitem__ > raise KeyError > KeyError > > > > -- 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/d/optout.