[web2py] Re: Trunk, error after login

2012-10-19 Thread Niphlod
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

[web2py] Re: Trunk, error after login

2012-10-19 Thread Massimo Di Pierro
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

[web2py] Re: Trunk, error after login

2012-10-19 Thread Marin Pranjić
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

[web2py] Re: Trunk, error after login

2012-10-19 Thread Massimo Di Pierro
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