Indeed, it does not happen if you run web2py on the shell. For example, from sources with:
./web2py.py -S test_app -B and then input the two simple commands above. But it happens with the web one, even on PythonAnywhere.... 2012/11/27 Niphlod <niph...@gmail.com> > weird, I can't reproduce on the shell (not the web one, I never use that) > with trunk or stable. > > > On Tuesday, November 27, 2012 9:57:52 PM UTC+1, Nico Zanferrari wrote: >> >> >> >> Il giorno martedì 27 novembre 2012 13:42:29 UTC+1, Joe Barnhart ha >> scritto: >>> >>> I'm running into a weird "lazy tables" bug. >>> >> >> >> I think the bug is real. A simple way to reproduce it is with a new >> simple application; if you enter its the interactive web shell: >> >> db=DAL('sqlite://storage.db') >> print db._uri >> >> >> you get a similar error ("AttributeError: 'DAL' object has no attribute >> '_lazy_tables'). >> I've just opened the ticket >> 1192<http://code.google.com/p/web2py/issues/detail?id=1192>about this. It >> does not happen on version 2.0.9. >> >> Nico >> >> -- > > > > --