Hey,
this happens when I try to delete a row from appadmin, or an sqlform:
Traceback (most recent call last):
File "/web2py/gluon/restricted.py", line 224, in restricted
exec ccode in environment
File "/web2py/applications/myapp/controllers/appadmin.py", line 671, in <module>
File "/web2py/gluon/globals.py", line 392, in <lambda>
self._caller = lambda f: f()
File "/web2py/applications/myapp/controllers/appadmin.py", line 343, in update
if form.accepts(request.vars, session):
File "/web2py/gluon/sqlhtml.py", line 1521, in accepts
self.table._db(qry).delete()
File "/web2py/gluon/dal.py", line 10760, in delete
ret and [f(self) for f in table._after_delete]
TypeError: <lambda>() takes exactly 2 arguments (1 given)
Any idea how to fix it?
I'm currently using mysql, and the rocket server.