Found it in the Nightly Built source code, but not the stable one. Problem solved. Thanks.
On Nov 6, 1:44 am, Jonathan Lundell <jlund...@pobox.com> wrote: > On Nov 5, 2011, at 10:33 AM, Spring wrote: > > > Exactly the same issue here. Do we have any news on this? > > I believe this is fixed in the trunk (note that Simon reported the problem > about three weeks ago; the fix was recent). To check whether you have the > fix, look at gluon.globals.Response.toolbar; you should see this line: > > if hasattr(thread,'instances'): > > > > > > > > > > > Spring > > > On Oct 15, 3:05 pm, Simon Ashley <gregs...@gmail.com> wrote: > >> Just a first time play with this. > >> (Environment: Python 25, current Web2Py nightly source {copied to > >> the Python25 root} and fresh copy of the Google App Engine Launcher) > >> App is working fine from a command line python25 call > >> When run from the Launcher -> Browse, is fine with a static page, but > >> when accessing data, it throws the following: > > >> Traceback (most recent call last): > >> File "C:\Python25\gluon\restricted.py", line 194, in restricted > >> exec ccode in environment > >> File "C:/Python25/applications/demurage/views/generic.html", line > >> 98, in <module> > >> File "C:\Python25\gluon\globals.py", line 310, in toolbar > >> for i inthread.instances] > >> File "C:\Python25\lib\_threading_local.py", line 193, in > >> __getattribute__ > >> return object.__getattribute__(self, name) > >> AttributeError: 'local' object has no attribute 'instances' > > >> Table is generated in the GAE, data can be imported, but nothing > >> accessed through the application. > > >> Any ideas?