doesn't happen here. What are you storing into session ?
On Friday, October 19, 2012 8:26:09 PM UTC+2, Marin Pranjić wrote:
Traceback (most recent call last):
File /home/www-data/test-web2py/gluon/main.py, line 561, in wsgibase
session._try_store_on_disk(request, response)
File
Do you have a lazy virtual fields in a table and then store records with
the lazy virtual field in the session?
On Friday, 19 October 2012 13:26:09 UTC-5, Marin Pranjić wrote:
Traceback (most recent call last):
File /home/www-data/test-web2py/gluon/main.py, line 561, in wsgibase
I have virtual and lazy fields on auth_user table and I store them in auth
on each request.
Lazy field is the the issue because I store lambda in auth.
I just tried to remove it and it works without it.
So, I have:
if auth.user:
auth.user.something = lambda: ...
And this fails.
I can live
The problem is that auth stores itself in session (session.auth = auth)
Now sure why this worked before.
Massimo
On Friday, 19 October 2012 14:02:35 UTC-5, Marin Pranjić wrote:
I have virtual and lazy fields on auth_user table and I store them in auth
on each request.
Lazy field is the
4 matches
Mail list logo