Veb2po launched on the server does not work authorization and registration. 
More precisely gives this error, break the Internet, could not find an 
answer ... read the book, did not find an answer ...

Traceback (most recent call last):
  File "C:\sites\tkp-dv.ru\tkts\web2py\gluon\main.py", line 475, in wsgibase
    session._try_store_in_cookie_or_file(request, response)
  File "C:\sites\tkp-dv.ru\tkts\web2py\gluon\globals.py", line 1126, in 
_try_store_in_cookie_or_file
    return self._try_store_in_file(request, response)
  File "C:\sites\tkp-dv.ru\tkts\web2py\gluon\globals.py", line 1133, in 
_try_store_in_file
    or self._unchanged(response)):
  File "C:\sites\tkp-dv.ru\tkts\web2py\gluon\globals.py", line 1078, in 
_unchanged
    session_pickled = cPickle.dumps(self)
  File "C:\Python27\Lib\copy_reg.py", line 84, in _reduce_ex
    dict = getstate()
TypeError: 'NoneType' object is not callable


Of the authorization code only
from gluon.tools import Auth, Crud, Service, PluginManager, prettydate
auth = Auth(db)
crud, service, plugins = Crud(db), Service(), PluginManager()

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

What to look for? 

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to