What version where you using before (please spicy svn or bazaar/launchpad) ?
Can you (perhpas) try what version is still working: see eg http://bazaar.launchpad.net/~mdipierro/web2py/devel/changes?filter_file_id=sqlhtml.py-20080629222958-hhdxylrn88oe0xku-48 Can you show some simple code that we can use to reproduce this? On Fri, Jul 10, 2009 at 2:21 PM, annet<[email protected]> wrote: > > After replacing the sqlhtml file with the latest sqlhtml file in trunk > I get the following error ticket on all my update functions: > > Error traceback > > Traceback (most recent call last): > File "/Library/Python/2.5/site-packages/web2py/gluon/restricted.py", > line 176, in restricted > exec ccode in environment > File "/Library/Python/2.5/site-packages/web2py/applications/cms/ > controllers/tier2.py", line 164, in <module> > File "/Library/Python/2.5/site-packages/web2py/gluon/globals.py", > line 103, in <lambda> > self._caller = lambda f: f() > File "/Library/Python/2.5/site-packages/web2py/gluon/tools.py", line > 1371, in f > return action(*a, **b) > File "/Library/Python/2.5/site-packages/web2py/applications/cms/ > controllers/tier2.py", line 47, in update_activity > form=update_form(db.bedrijfactiviteit,record,'crud_activity') > File "/Library/Python/2.5/site-packages/web2py/applications/cms/ > models/db.py", line 704, in update_form > form=crud.update(table,rec,next=(URL(r=request,f=nxt))) > File "/Library/Python/2.5/site-packages/web2py/gluon/tools.py", line > 1756, in update > keepvalues=self.settings.keepvalues): > File "/Library/Python/2.5/site-packages/web2py/gluon/sqlhtml.py", > line 837, in accepts > if fields[fieldname] != None: > KeyError: 'activity' > > > Kind regards, > > Annet. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

