I need help. Everything was working fine with my application when I decided
to remove onupdate=auth.archive and removed the archive table & all
crumbled down.
This is what I get:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
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/MosaicCatalogBuilder/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 "Applications/web2py/applications/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 [email protected].
For more options, visit https://groups.google.com/d/optout.