Getting the following ticket for appadmin when I try to access one of
my db tables via the web2py IDE:
<type 'exceptions.KeyError'> 'auth'
VERSION
web2py™ (1, 99, 4, datetime.datetime(2011, 12, 14, 14, 46, 14),
'stable')
Python Python 2.5.4: c:\Program Files (x86)\Python25\python.exe
TRACEBACK
Traceback (most recent call last):
File "N:\web2py\gluon\restricted.py", line 204, in restricted
exec ccode in environment
File "N:/web2py/applications/myapp/controllers/appadmin.py", line
418, in <module>
File "N:\web2py\gluon\globals.py", line 172, in <lambda>
self._caller = lambda f: f()
File "N:/web2py/applications/myapp/controllers/appadmin.py", line
281, in update
f='download', args=request.args[:1]))
File "N:\web2py\gluon\sqlhtml.py", line 862, in __init__
inp = self.widgets.options.widget(field, default)
File "N:\web2py\gluon\sqlhtml.py", line 215, in widget
options = requires[0].options()
File "N:\web2py\gluon\validators.py", line 2453, in _options
options = self.other.options()
File "N:\web2py\gluon\validators.py", line 460, in options
self.build_set()
File "N:\web2py\gluon\validators.py", line 443, in build_set
fields = [self.dbset.db[self.ktable][k] for k in self.fields]
File "N:\web2py\gluon\dal.py", line 5113, in __getitem__
return dict.__getitem__(self, str(key))
KeyError: 'auth'