auth = Auth(db) auth.define_tables(username=False, signature=False) auth.settings.registration_requires_verification = False auth.settings.registration_requires_approval = False auth.settings.reset_password_requires_verification = True
that's all i have for auth. i just run into this error again right now on a test server running centos 6.4, apache with mod_wsgi. most likely restarting apache will fix it. any comment on how can i trace out the problem? On Saturday, April 6, 2013 9:16:27 PM UTC+8, Massimo Di Pierro wrote: > > Do you have any custom fields in auth or virtual fields? It is trying to > store in session something that is not pickleable. > > On Thursday, 28 March 2013 02:08:39 UTC-5, vince wrote: >> >> i got this error once in a while, usually restart apache will fix it. it >> will only happens when using the auth module for login. any idea? the error >> log is short, any idea on how to trace out the problem? >> >> i am running web2py 2.4.5-stable+timestamp.2013.03.18.22.46.22 >> >> >> Traceback (most recent call last): >> File "/home/web2py/gluon/main.py", line 555, in wsgibase >> session._try_store_in_db(request, response) >> File "/home/web2py/gluon/globals.py", line 732, in _try_store_in_db >> or self._forget or self._unchanged(): >> File "/home/web2py/gluon/globals.py", line 719, in _unchanged >> session_pickled = cPickle.dumps(dict(self)) >> File "/usr/lib64/python2.6/copy_reg.py", line 84, in _reduce_ex >> dict = getstate() >> TypeError: 'NoneType' object is not callable >> >> -- --- 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.

