fixed in trunk.
On Sep 11, 3:58 am, ron_m <ron.mco...@gmail.com> wrote: > Put this patch into sql.py and it now works with the base > URLhttp://127.0.0.1:8000/ > > $ diff ~/tools/web2py/web2py_hg/gluon/sql.py sql.py > 805c805,808 > < instances = thread.instances > --- > > > try: > > instances = thread.instances > > except AttributeError, e: > > return > > Just adds protection from the case where the thread has never had any > database instances open. > > The remaining question is why did main.py function wsgibase() fall > into exception handling right away unless this is normal for the first > URL opened. I get no exceptions in the running terminal at this point > and no tickets under applications/admin/errors like before. > > Ron