After placing gLib.py module into directory "models" web2py (versions 2.0 and 1.99.7 on Windows and Ubuntu) fails:
Traceback (most recent call last): File "/home/aabelyakov/MyPython/web2py/gluon/main.py", line 528, in wsgibase session._try_store_on_disk(request, response) File "/home/aabelyakov/MyPython/web2py/gluon/globals.py", line 594, 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 file objects In what could be the reason? --