This appears to be a problem with a validator. Can you show us the model?
On 10 Lug, 22:13, Frank <[email protected]> wrote: > I upgrade web2py from 1.74.6 to 1.79.2,when I click link <a > href="/{{=request.application}}/appadmin/index">database</a> and choose a > database named users_group to open which works well in 1.74.6, it failed in > 1.79.2.please note db.users_group is not empty and the function of program > works > well in 1.79.2 but if you goto admin, and open datatbase users_group, it fail, > when open other database, it's fine. > > I get folowing error, > > Error traceback > Traceback (most recent call last): > File "C:\web2py\gluon\restricted.py", line 178, in restricted > exec ccode in environment > File "C:/web2py/applications/nano/views/appadmin.html", line 136, in > <module> > File "C:\web2py\gluon\globals.py", line 105, in write > self.body.write(xmlescape(data)) > File "C:\web2py\gluon\html.py", line 104, in xmlescape > return data.xml() > File "C:\web2py\gluon\html.py", line 547, in xml > (fa, co) = self._xml() > File "C:\web2py\gluon\html.py", line 538, in _xml > self.components]) > File "C:\web2py\gluon\html.py", line 104, in xmlescape > return data.xml() > File "C:\web2py\gluon\html.py", line 547, in xml > (fa, co) = self._xml() > File "C:\web2py\gluon\html.py", line 538, in _xml > self.components]) > File "C:\web2py\gluon\html.py", line 104, in xmlescape > return data.xml() > File "C:\web2py\gluon\html.py", line 547, in xml > (fa, co) = self._xml() > File "C:\web2py\gluon\html.py", line 538, in _xml > self.components]) > File "C:\web2py\gluon\html.py", line 104, in xmlescape > return data.xml() > File "C:\web2py\gluon\html.py", line 547, in xml > (fa, co) = self._xml() > File "C:\web2py\gluon\html.py", line 538, in _xml > self.components]) > File "C:\web2py\gluon\html.py", line 104, in xmlescape > return data.xml() > File "C:\web2py\gluon\html.py", line 547, in xml > (fa, co) = self._xml() > File "C:\web2py\gluon\html.py", line 538, in _xml > self.components]) > File "C:\web2py\gluon\html.py", line 104, in xmlescape > return data.xml() > File "C:\web2py\gluon\sql.py", line 1467, in __getattr__ > self.__allocate() > File "C:\web2py\gluon\sql.py", line 1462, in __allocate > raise Exception, "undefined record" > Exception: undefined record > > what are the possible reasons? or may be a bug. > > please advise. > > Frank

