Was doing a db migration and ran into this nasty:
Traceback (most recent call last):
File "C:\web2py\gluon\main.py", line 576, in wsgibase
session._try_store_in_cookie_or_file(request, response)
File "C:\web2py\gluon\globals.py", line 749, in _try_store_in_cookie_or_file
self._try_store_in_file(request, response)
File "C:\web2py\gluon\globals.py", line 755, in _try_store_in_file
if not response.session_id or self._forget or self._unchanged():
File "C:\web2py\gluon\globals.py", line 711, in _unchanged
session_pickled = cPickle.dumps(dict(self))
File "c:\Program Files (x86)\Python25\lib\copy_reg.py", line 69, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle instancemethod objects
--
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.