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
>     session._try_store_on_disk(request, response)
>   File "/home/www-data/test-web2py/gluon/globals.py", line 703, in 
> _try_store_on_disk
>     cPickle.dump(dict(self), response.session_file)
>   File "/usr/lib/python2.7/copy_reg.py", line 70, in _reduce_ex
>     raise TypeError, "can't pickle %s objects" % base.__name__
> TypeError: can't pickle function objects
>
>
> It happens with trunk and 2.1.1 but not with 2.0.9
>
> Marin
>
>

-- 



Reply via email to