My app doesn't want to pickle my session for some reason. 
I get:

Traceback (most recent call last):
  File "/data-current/programming/python/web2py/gluon/main.py", line 523, in 
wsgibase
    session._try_store_on_disk(request, response)
  File "/data-current/programming/python/web2py/gluon/globals.py", line 591, in 
_try_store_on_disk
    cPickle.dump(dict(self), response.session_file)
TypeError: expected string or Unicode object, NoneType found


This occurs on return from a function call.  Immediately before the call I 
check that session_file and session exist. 
session_file seems to exist and is open: session file: <open file 
'/data-current/programming/python/web2py/applications/testAjax/sessions/127.0.0.1-ac75411a-2223-4ad8-8b0d-fdc84d976fd6',
 
mode 'rb+' at 0x237f0c0>

Any ideas what would cause this?  There is a class in session with 4 levels 
of inheritance would that be a problem?

Thanks

Brendan 

-- 



Reply via email to