Erreur ligne 72

Salut @Aldarande,

Depuis le 12/09, mon équipement ne se met plus à jour avec ces messages dans les logs:

1493|[2025-09-21 14:00:08] ERROR  : Token invalide, regénérer le QR CODE ou re valider le compte : function/symbol 'SHA256_init' not found in library '/usr/local/lib/python3.9/dist-packages/Crypto/Util/../Hash/_SHA256.cpython-39-x86_64-linux-gnu.so': /usr/local/lib/python3.9/dist-packages/Crypto/Util/../Hash/_SHA256.cpython-39-x86_64-linux-gnu.so: undefined symbol: SHA256_init
1494|[2025-09-21 14:00:08] ERROR  : Connection avec le Token échouée
1495|[2025-09-21 14:00:08] ERROR  : Information de login manquante ou vide : login
1496|[2025-09-21 14:00:08] ERROR  : Information de login manquante ou vide : password
1497|[2025-09-21 14:00:08] ERROR  : Le compte n'est pas loggué

J’ai alors recréé un QRcode, mais lorsque je l’ajoute dans mon équipement existant ou dans un nouveau, j’obtiens l’erreur suivante dans les logs (dernière ligne):

1642|[2025-09-21 16:36:00] DEBUG  : Ajax::Validation de info QRCODE.
1643|[2025-09-21 16:36:00] DEBUG  : Ajax::info QRCODE *** *** https://0782565p.index-education.net/pronote/mobile.parent.html 1234 pour eqid : 531
1644|[2025-09-21 16:36:00] DEBUG  : Ajax::info QRCODE cmd python3 /var/www/html/plugins/ProJote/resources/ProJoted/QRConnect.py --Jeton '***' --QRLogin '***' --QRUrl 'https://0782565p.index-education.net/pronote/mobile.parent.html' --Pin '1234' --Eqid 531 --Loglevel debug >> /var/www/html/core/class/../../log/ProJote 2>&1
1645|[2025-09-21 16:36:00] DEBUG  : QRConnect.py :: {"jeton": "***", "login": "***", "url": "https://0782565p.index-education.net/pronote/mobile.parent.html"}
1646|[2025-09-21 16:36:00] DEBUG  : QRConnect.py :: Compte parent
1647|[2025-09-21 16:36:00] INFO  : INIT
1648|[2025-09-21 16:36:00] DEBUG  : Requesing html: https://0782565p.index-education.net/pronote/mobile.parent.html?fd=1&bydlg=A6ABB224-12DD-4E31-AD3E-8A39A1C2C335&login=true
1649|[2025-09-21 16:36:00] DEBUG  : Starting new HTTPS connection (1): 0782565p.index-education.net:443
1650|[2025-09-21 16:36:01] DEBUG  : https://0782565p.index-education.net:443 "GET /pronote/mobile.parent.html?fd=1&bydlg=A6ABB224-****-4E31-AD3E-8A39A1C2C335&login=true HTTP/1.1" 200 1849
1651|[2025-09-21 16:36:01] DEBUG  : [_Communication.post] sending post request: {'session': 722916, 'no': '****', 'id': 'FonctionParametres', 'dataSec': {'data': {'Uuid': 'nMB4yTdTKThzOue4Ii6WCg==', 'identifiantNav': None}}}
1652|[2025-09-21 16:36:01] DEBUG  : https://0782565p.index-education.net:443 "POST /pronote/appelfonction/7/722916/**** HTTP/1.1" 200 6724
1653|[2025-09-21 16:36:01] DEBUG  : [_Communication.post] decryption change
1654|[2025-09-21 16:36:01] DEBUG  : [_Communication.post] sending post request: {'session': 722916, 'no': '****', 'id': 'Identification', 'dataSec': {'data': {'genreConnexion': 0, 'genreEspace': 7, 'identifiant': 'jlqe', 'pourENT': False, 'enConnexionAuto': False, 'demandeConnexionAuto': False, 'demandeConnexionAppliMobile': True, 'demandeConnexionAppliMobileJeton': True, 'enConnexionAppliMobile': False, 'uuidAppliMobile': 'ProJote', 'loginTokenSAV': ''}}}
1655|[2025-09-21 16:36:01] DEBUG  : https://0782565p.index-education.net:443 "POST /pronote/appelfonction/7/722916/**** HTTP/1.1" 200 214
1656|[2025-09-21 16:36:01] DEBUG  : indentification
1657|[2025-09-21 16:36:01] DEBUG  : {'id': 'Identification', 'session': 722916, 'no': '****', 'dataSec': {'data': {'modeCompMdp': 0, 'modeCompLog': 1, 'challenge': '****'}, 'nom': 'Identification'}}
1658|An error occurred: line  72 function/symbol 'SHA256_init' not found in library '/usr/local/lib/python3.9/dist-packages/Crypto/Util/../Hash/_SHA256.cpython-39-x86_64-linux-gnu.so': /usr/local/lib/python3.9/dist-packages/Crypto/Util/../Hash/_SHA256.cpython-39-x86_64-linux-gnu.so: undefined symbol: SHA256_init

Le plugin est à jour (bien que le centre de mise à jour m’indique la date du 2025-07-23 22:01:29 comme date de version):


Et les dépendances également:

Le démon est OK.

Dans les logs de l’installation des dépendances, j’ai plusieurs fois ce message:

0333|WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'

Je ne sais pas si cela peut avoir un lien…

Merci pour ton aide.


Informations Jeedom

Core : 4.4.20 (master)
DNS Jeedom : oui

Plugin : Plugin Pronote
Version : 2025-07-23 22:01:29 (beta)
Statut Démon : Démarré - (2025-09-23 08:14:36)

Problème résolu grâce à ce post:

Suivi de la réinstallation du plugin puis de ses dépendances.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.