I want to do the Tryton installation from an Ubuntu 18.04 to a Rapi. For this I thought about copying the path ‘modules’ and the extensions that are in the path ‘dist-packages’ and updating the ‘new’ modules with trytond-admin the list of installed modules.
With Raspi some things are different. Lxml for example causes some problems in the beginning. Then there were some other modules to install. Anyway, I was able to enter the password with the Tryton client for Mac and via the interface.
But that was it. At first I thought I had destroyed the database and deleted the passwords. But this was not the case. What can I do to remove this error message?
``Traceback (most recent call last):
File "/trytond/res/user.py", line 677, in check_password
return CRYPT_CONTEXT.verify_and_update(password, hash_)
File "/passlib/context.py", line 2417, in verify_and_update
record = self._get_or_identify_record(hash, scheme, category)
File "/passlib/context.py", line 2026, in _get_or_identify_record
return self._identify_record(hash, category)
File "/passlib/context.py", line 1131, in identify_record
raise ValueError("hash could not be identified")
ValueError: hash could not be identified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/trytond/wsgi.py", line 108, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 48, in rpc
request, database_name, *request.rpc_params)
File "/trytond/protocols/dispatcher.py", line 65, in login
database_name, user, parameters, context=context)
File "/trytond/security.py", line 34, in login
user_id = User.get_login(loginname, parameters)
File "/trytond/res/user.py", line 636, in get_login
user_id = func(login, parameters)
File "/trytond/res/user.py", line 650, in _login_password
valid, new_hash = cls.check_password(password, password_hash)
File "/trytond/res/user.py", line 683, in check_password
valid = getattr(cls, 'check_' + hash_method)(password, hash_)
AttributeError: type object 'res.user' has no attribute 'check_'