There is good news (maybe small news, but good news none the less):

Just installed from trunk, and this error went away ('No handlers
could be found for logger "web2py"'). This was on mac & python 2.7 :)


Mart

On Sep 11, 5:25 pm, mdmcginn <michael.d.mcgin...@gmail.com> wrote:
> For what it's worth, posts are missing in InstantPress through GAE
> when running web2py from trunk. The 
> URLhttp://127.0.0.1:8080/instantpress/default/post/2010/08/13/what-is-we...
> orhttp://127.0.0.1:8000/instantpress/default/post/2010/08/13/what-is-we...
> works if I'm running web2py directly, but not using web2py on GAE
> dev_appserver. InstantPress does function, but gives the message "That
> article doesnt exist". Yet the posts exist in the datastore, according
> tohttp://localhost:8000/_ah/admin/datastore?kind=posts
>
> On Sep 11, 9:21 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > 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
>
>

Reply via email to