I've been trying to get my sync server working, and having an odd error related to the password hashing. Exhausted my own debugging skills.
Installed mnemosyne, and running it headless as a sync and web server (error does not change if only running as sync server).
To set username and password, I have tried both to set the variables in config.py and directly in config.db. In either case, sometimes immediately and sometimes after a single successful sync, I get the following error:
Traceback (innermost last):
File "/usr/local/lib/python3.8/dist-packages/Mnemosyne-2.8-py3.8.egg/openSM2sync/server.py", line 312, in put_login
if not self.authorise(client_info["username"],
File "/usr/local/lib/python3.8/dist-packages/Mnemosyne-2.8-py3.8.egg/mnemosyne/libmnemosyne/sync_server.py", line 53, in authorise
File "/home/dorian/.local/lib/python3.8/site-packages/argon2/_password_hasher.py", line 212, in verify
The password I'm using to try and sync matches what's in config.py/config.db
. I have even changed it to e.g. a single letter to be certain.
I have tried this a few times now, completely eliminating the mnemosyne folder and starting fresh, with no success.
I have now exhausted my debugging ability. Any ideas what I've done here?
One thing that might be important is I had to install argon2-cffi to get mnemosyne working on Ubuntu.