I am having trouble understanding what is happening here:

<type 'exceptions.AttributeError'> 'thread._local' object has no attribute 
'request'

Traceback (most recent call last):
  File "/home/gonvaled/tmp/web2py/gluon/restricted.py", line 209, inrestricted
    exec ccode in environment
  File 
"/home/gonvaled/tmp/web2py/applications/wavilon_portal/models/db.py",line 
12, in <module>
    auth    = Auth(db)
  File "applications/wavilon_portal/modules/gluon/tools.py", line 1060, 
in__init__
    request = current.request
AttributeError: 'thread._local' object has no attribute 'request'

I have not made many changes, and the application was working find before. 
I have moved recently to 2.0.3. Can this be related?
I have tried a minimal application which uses auth=Auth(db) and that is 
working fine.
How can I further investigate this problem?

Thanks,
Daniel

-- 



Reply via email to