Stefan Scholl <ste...@no-spoon.de> wrote: > Person and dog inserted via database admin. After that the shell > from the admin interface was used. The variable dogs was > undefined after that. And no output with just > "db().select(db.dog.ALL)".
Tested the same on a Mac, web2py 1.99.7, the Mac app. Failed, too. But this time with an exception: web2py Shell (1, 99, 7, datetime.datetime(2012, 3, 4, 22, 12, 8), 'stable')In [1] : dogs = db().select(db.dog.ALL) Traceback (most recent call last): File "gluon/contrib/shell.py", line 233, in run File "<string>", line 1, in <module> File "gluon/dal.py", line 6343, in __getattr__ File "gluon/dal.py", line 6337, in __getitem__ KeyError: 'dog' The tables are there and have content.