There are similar error reports in this threads. For my error report, I started a fix from trunk files, but I think that the developers are working on this errors already.
http://groups.google.com/group/web2py/browse_thread/thread/691542fa739e67d1 http://www.google.com/url?sa=D&q=http://groups.google.com/group/web2py/browse_thread/thread/280f6b746e2b7201&usg=AFQjCNFUX5WrRGPnX-brkO3vuBLOcybmBw On 22 ene, 21:07, Carlos <carlosgali...@gmail.com> wrote: > Hi, > > I'm getting the following error with latest trunk and postgresql, > especially after changeset # fab104bec898 (web2py-py3k: proof of concept). > > File "C:\web2py\gluon\sqlhtml.py", line 1082, in accepts > hideerror=hideerror, > File "C:\web2py\gluon\html.py", line 1807, in accepts > status = self._traverse(status,hideerror) > File "C:\web2py\gluon\html.py", line 749, in _traverse > newstatus = c._traverse(status,hideerror) and newstatus > File "C:\web2py\gluon\html.py", line 749, in _traverse > newstatus = c._traverse(status,hideerror) and newstatus > File "C:\web2py\gluon\html.py", line 749, in _traverse > newstatus = c._traverse(status,hideerror) and newstatus > File "C:\web2py\gluon\html.py", line 749, in _traverse > newstatus = c._traverse(status,hideerror) and newstatus > File "C:\web2py\gluon\html.py", line 756, in _traverse > newstatus = self._validate() > File "C:\web2py\gluon\html.py", line 1572, in _validate > (value, errors) = validator(value) > File "C:\web2py\gluon\validators.py", line 549, in __call__ > elif str(rows[0]._id) != str(self.record_id): > File "C:\web2py\gluon\dal.py", line 5003, in __getattr__ > return self[key] > File "C:\web2py\gluon\dal.py", line 4994, in __getitem__ > return dict.__getitem__(self, key) > KeyError: '_id' > > This error does not occur when reverting to changeset # dafe70b55ae5 (oops, > some tests were not committed, now they are). > > Is this a bug?. > > Thanks. > > Carlos