I'm still getting another problem if I store cookies in files as usual:
Traceback (most recent call last):
File "C:\blueweb2py\gluon\main.py", line 479, in wsgibase
session._try_store_in_cookie_or_file(request, response)
File "C:\blueweb2py\gluon\globals.py", line 1089, in
_try_store_in_cookie_or_file
return self._try_store_in_file(request, response)
File "C:\blueweb2py\gluon\globals.py", line 1096, in _try_store_in_file
or self._unchanged(response)):
File "C:\blueweb2py\gluon\globals.py", line 1041, in _unchanged
session_pickled = cPickle.dumps(self)
File "C:\Python27\Lib\copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle lock objects
Which is definetely a bug since lock objects shouldn't be going into the
session, or, if they are, session needs to have a __getstate__ that removes
them.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.