Outils pour utilisateurs

Outils du site


memo:yunohost-matrix

Matrix Synapse

Synapse cannot build cryptography wheel

Synapse ne veut ni se mettre à jour ni se restaurer pour des raisons liées à la cryptographie.

Erreurs :

Warning:   Failed building wheel for cryptography
Warning:   Failed cleaning build dir for cryptography
Warning: Command "/opt/yunohost/matrix-synapse/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-0r76s_ip/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-0z4ht01o/install-record.txt --single-version-externally-managed --compile --install-headers /opt/yunohost/matrix-synapse/include/site/python3.7/cryptography" failed with error code 1 in /tmp/pip-install-0r76s_ip/cryptography/
Error: Could not restore synapse

Solution :

apt install rustc cargo
yunohost backup restore NAME-OF-YOUR-BACKUP

Voir ici : https://forum.yunohost.org/t/synapse-matix-backup-recovery-error-with-cryptography/15622

Si rustc et cargo sont déjà installés… tenter de les désinstaller et de les réinstaller.

memo/yunohost-matrix.txt · Dernière modification : 2021/10/28 10:40 de celo