Hello,
I want to restore a backup (pg_dump) and access to that database form an
other tryton server. But while log in i get these error:
(The restore works without errors)
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 41, in dispatch
res = security.login(database_name, user, session)
File "/trytond/security.py", line 26, in login
user_id = User.get_login(loginname, password)
File "/trytond/res/user.py", line 474, in get_login
if cls.check_password(password, password_hash):
File "/trytond/res/user.py", line 497, in check_password
return getattr(cls, 'check_' + hash_method)(password, hash_)
File "/trytond/res/user.py", line 533, in check_bcrypt
return hash_ == bcrypt.hashpw(password, hash_)
AttributeError: 'NoneType' object has no attribute 'hashpw'