Relance du projet Pronote pour Jeedom

Petit retour de mon côté :
Identification jeudi avec QRcode ok, ça a fonctionné 2 jours puis :

2025-01-29 15:00:57][DEBUG] :  cronHourly Je ne fais rien à cette heure-ci... 15 heure, prochain essaie dans une heure
[2025-01-29 16:00:21][DEBUG] : Envoie au demon Python des infos Pronotes
[2025-01-29 16:00:21][ERROR] : Erreur d'éxécution du deamon : lig. 803 -  ('Decryption failed while trying to un pad. (probably bad decryption key/iv)', 'exception happened during login -> probably bad username/password')
[2025-01-29 17:00:24][DEBUG] :  cronHourly Je ne fais rien à cette heure-ci... 17 heure, prochain essaie dans une heure
[2025-01-29 18:01:09][DEBUG] : Envoie au demon Python des infos Pronotes
[2025-01-29 18:01:10][ERROR] : Erreur d'éxécution du deamon : lig. 803 -  ('Decryption failed while trying to un pad. (probably bad decryption key/iv)', 'exception happened during login -> probably bad username/password')
[2025-01-29 19:02:21][DEBUG] :  cronHourly Je ne fais rien à cette heure-ci... 19 heure, prochain essaie dans une heure
[2025-01-29 20:01:34][DEBUG] : Envoie au demon Python des infos Pronotes
[2025-01-29 20:01:35][ERROR] : Erreur d'éxécution du deamon : lig. 803 -  ('Decryption failed while trying to un pad. (probably bad decryption key/iv)', 'exception happened during login -> probably bad username/password')

Ce matin, mise à jour dernière version :
test login (avec et sans ent) : impossible

[2025-01-30 10:04:49][DEBUG] : [ENT https://moncollege-ent.var.fr] Logging in with xxxx
[2025-01-30 10:04:49][DEBUG] : Starting new HTTPS connection (1): educonnect.education.gouv.fr:443
[2025-01-30 10:04:49][DEBUG] : https://educonnect.education.gouv.fr:443 "GET /idp/profile/SAML2/Unsolicited/SSO?providerId=urn%3Afi%3Aent%3Aprod-cd83-edu%3A1.0 HTTP/1.1" 302 0
[2025-01-30 10:04:49][DEBUG] : https://educonnect.education.gouv.fr:443 "GET /idp/profile/SAML2/Unsolicited/SSO?execution=e1s1 HTTP/1.1" 200 20605
[2025-01-30 10:04:49][DEBUG] : [EduConnect https://educonnect.education.gouv.fr/idp/profile/SAML2/Unsolicited/SSO?execution=e1s1] Logging in with xxxx
[2025-01-30 10:04:49][DEBUG] : https://educonnect.education.gouv.fr:443 "POST /idp/profile/SAML2/Unsolicited/SSO?execution=e1s1 HTTP/1.1" 200 None
[2025-01-30 10:04:49][ERROR] : Connection parent échouée : lig. 64 -   
--- Logging error ---
Traceback (most recent call last):
  File "/var/www/html/plugins/ProJote/resources/ProJoted/LoginConnect.py", line 347, in <module>
    if Account.logged_in:
AttributeError: 'NoneType' object has no attribute 'logged_in'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/logging/__init__.py", line 1079, in emit
    msg = self.format(record)
  File "/usr/lib/python3.9/logging/__init__.py", line 923, in format
    return fmt.format(record)
  File "/usr/lib/python3.9/logging/__init__.py", line 659, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.9/logging/__init__.py", line 363, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/var/www/html/plugins/ProJote/resources/ProJoted/LoginConnect.py", line 380, in <module>
    logging.error("An error occurred: lig.", line_number, e)
Message: 'An error occurred: lig.'
Arguments: (347, AttributeError("'NoneType' object has no attribute 'logged_in'"))

Remise du QRcode : ok récupération des infos.

Donc pour moi QRcode ok, mais ne tiens pas dans le temps.
par login KO

Bonjour,
j’ai enfin pu avoir accès physiquement à mn serveur Jeedom.
J’ai donc supprimé l’ancien plugin et réinstaller la nouvelle version.
Je n’arrive pas à m’identifier par login. J’ai donc tenté via qr code mais j’ai cette erreur :

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

Avez-vous une idée ?
Merci d’avance

Solution trouvée ici : https://community.jeedom.com/t/erreur-crypto-lors-de-la-validation-du-token/137130/26?u=spad22

Salut,
j’essaie de me connecter en QR code. ( En mdp, ca ne fonctionne pas non plus)
j’ai cette erreur;

0141|[2025-02-10 22:45:15] DEBUG  : https://0693092l.index-education.net:443 "POST /pronote/appelfonction/6/251496/3fa959b13967e0ef176069e01e23c8d7 HTTP/1.1" 200 6253
0142|[2025-02-10 22:45:15] DEBUG  : [_Communication.post] decryption change
0143|An error occurred: line  68 'donnees'

est-ce que vous savez ce qu’il faudrait corriger?

Je sur sur
Jeedom Atlas 4.4.19
debian 10.10

Bonjour à tous

Je le sens un peu seul sur ce problème :

1er connexion tout est ok mais plus de synchro ensuite, je suis le seul ?

Merci

Même problème…

1 « J'aime »

Ok ça me rassure un peu, j’ai l’impression que le dev @Aldarande à d’autres obligations en ce moment :slight_smile:

Bonjour à tous

La connexion PRONOTE est parfaitement fonctionnelle maintenant, merci au dev :slight_smile:

Petite question, les 2 commandes :

  • Nombre de cours annulé Aujourdhui
  • Nombre de cours annulé Prochain jour

sont toujours vide chez moi, alors qu’il y a des cours annulés, est-ce la même chose chez vous ?

Salut Nemeraud,

Je suis aussi dans le 44 - dont ent elyco. Mais je n’arrive pas à me connecter…
Version login, je mets

  • ent_elyco
  • coche compte parent
  • mon login
  • mon mot de passe
  • url: https://0442052s.index-education.net/pronote/mobile.parent.html
    La liste enfants est vide car le login ne se fait pas (croix rouge après le titre login)

En QR code, j’ai le retour "Erreur : Impossible de décoder le QRcode " si je laisse des bordures autour ou si je crop juste le QR code, j’ai « Erreur lors de l’exécution du script Python. Vérifiez les logs ».

Tu fais comment?

Bonjour

Avec la dernière version et l’inscription par qrcode ça fonctionne bien pourtant, il faut bien génèrer le qrcode avec une bordure ça n’est pas un souci, et le code et faire l’inscription depuis le plugin.

Passer le plugin en mode débug et faire un sujet sur la communauté avec le log, le dev est assez réactif

Bon weekend

Bonjour,

J’ai ce message d’erreur quand le demon se lance.
Je suis en jeedom Version : 4.3.21 et debian 10.13

Merci pour votre retour.

Call to undefined method system::getCmdPython3()

Le log de l’installation des dépendance :

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_ProJote
+ echo 1
+ echo 2
++ cut -f 2-
++ awk '$1 <= 4'
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ xargs rm -rf
+ echo ''
+ echo 3
+ sudo pip3 cache purge
Files removed: 90
+ echo 4
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (24.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 5
+ sudo pip3 install --force-reinstall --upgrade pronotepy
Collecting pronotepy
  Downloading pronotepy-2.13.0-py3-none-any.whl.metadata (6.9 kB)
Collecting beautifulsoup4>=4.8.2 (from pronotepy)
  Downloading beautifulsoup4-4.13.4-py3-none-any.whl.metadata (3.8 kB)
Collecting pycryptodome>=3.9.4 (from pronotepy)
  Downloading pycryptodome-3.23.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting requests>=2.22.0 (from pronotepy)
  Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting autoslot>=2022.12.1 (from pronotepy)
  Downloading autoslot-2024.12.1-py2.py3-none-any.whl.metadata (4.5 kB)
Collecting soupsieve>1.2 (from beautifulsoup4>=4.8.2->pronotepy)
  Downloading soupsieve-2.4.1-py3-none-any.whl.metadata (4.7 kB)
Collecting typing-extensions>=4.0.0 (from beautifulsoup4>=4.8.2->pronotepy)
  Downloading typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.22.0->pronotepy)
  Downloading charset_normalizer-3.4.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (35 kB)
Collecting idna<4,>=2.5 (from requests>=2.22.0->pronotepy)
  Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.22.0->pronotepy)
  Downloading urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
Collecting certifi>=2017.4.17 (from requests>=2.22.0->pronotepy)
  Downloading certifi-2025.4.26-py3-none-any.whl.metadata (2.5 kB)
Downloading pronotepy-2.13.0-py3-none-any.whl (44 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.8/44.8 kB 3.8 MB/s eta 0:00:00
Downloading autoslot-2024.12.1-py2.py3-none-any.whl (7.9 kB)
Downloading beautifulsoup4-4.13.4-py3-none-any.whl (187 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 187.3/187.3 kB 5.4 MB/s eta 0:00:00
Downloading pycryptodome-3.23.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 6.7 MB/s eta 0:00:00
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 4.0 MB/s eta 0:00:00
Downloading certifi-2025.4.26-py3-none-any.whl (159 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.6/159.6 kB 5.5 MB/s eta 0:00:00
Downloading charset_normalizer-3.4.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 141.3/141.3 kB 5.4 MB/s eta 0:00:00
Downloading idna-3.10-py3-none-any.whl (70 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 4.2 MB/s eta 0:00:00
Downloading soupsieve-2.4.1-py3-none-any.whl (36 kB)
Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 5.4 MB/s eta 0:00:00
Installing collected packages: autoslot, urllib3, typing-extensions, soupsieve, pycryptodome, idna, charset-normalizer, certifi, requests, beautifulsoup4, pronotepy
  Attempting uninstall: autoslot
    Found existing installation: autoslot 2024.12.1
    Uninstalling autoslot-2024.12.1:
      Successfully uninstalled autoslot-2024.12.1
  Attempting uninstall: urllib3
    Found existing installation: urllib3 2.0.7
    Uninstalling urllib3-2.0.7:
      Successfully uninstalled urllib3-2.0.7
  Attempting uninstall: typing-extensions
    Found existing installation: typing_extensions 4.2.0
    Uninstalling typing_extensions-4.2.0:
      Successfully uninstalled typing_extensions-4.2.0
  Attempting uninstall: soupsieve
    Found existing installation: soupsieve 2.4.1
    Uninstalling soupsieve-2.4.1:
      Successfully uninstalled soupsieve-2.4.1
  Attempting uninstall: pycryptodome
    Found existing installation: pycryptodome 3.20.0
    Uninstalling pycryptodome-3.20.0:
      Successfully uninstalled pycryptodome-3.20.0
  Attempting uninstall: idna
    Found existing installation: idna 3.10
    Uninstalling idna-3.10:
      Successfully uninstalled idna-3.10
  Attempting uninstall: charset-normalizer
    Found existing installation: charset-normalizer 3.4.1
    Uninstalling charset-normalizer-3.4.1:
      Successfully uninstalled charset-normalizer-3.4.1
  Attempting uninstall: certifi
    Found existing installation: certifi 2024.12.14
    Uninstalling certifi-2024.12.14:
      Successfully uninstalled certifi-2024.12.14
  Attempting uninstall: requests
    Found existing installation: requests 2.31.0
    Uninstalling requests-2.31.0:
      Successfully uninstalled requests-2.31.0
  Attempting uninstall: beautifulsoup4
    Found existing installation: beautifulsoup4 4.12.3
    Uninstalling beautifulsoup4-4.12.3:
      Successfully uninstalled beautifulsoup4-4.12.3
  Attempting uninstall: pronotepy
    Found existing installation: pronotepy 2.13.0
    Uninstalling pronotepy-2.13.0:
      Successfully uninstalled pronotepy-2.13.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aiohttp 3.8.1 requires charset-normalizer<3.0,>=2.0, but you have charset-normalizer 3.4.2 which is incompatible.
Successfully installed autoslot-2024.12.1 beautifulsoup4-4.13.4 certifi-2025.4.26 charset-normalizer-3.4.2 idna-3.10 pronotepy-2.13.0 pycryptodome-3.23.0 requests-2.31.0 soupsieve-2.4.1 typing-extensions-4.7.1 urllib3-2.0.7
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 6
+ sudo pip3 install --force-reinstall --upgrade pycryptodome==3.20.0
Collecting pycryptodome==3.20.0
  Downloading pycryptodome-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Downloading pycryptodome-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 6.3 MB/s eta 0:00:00
Installing collected packages: pycryptodome
  Attempting uninstall: pycryptodome
    Found existing installation: pycryptodome 3.23.0
    Uninstalling pycryptodome-3.23.0:
      Successfully uninstalled pycryptodome-3.23.0
Successfully installed pycryptodome-3.20.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 7
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end ProJote
+ rm /tmp/jeedom_install_in_progress_ProJote
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Salut

J’ai réussi à le lancer en faisant les mise à jours OS/packages
image

Je l’ai fait uniquement sur mon jeedom de teste pas de prod.

Ce n’est vraiment pas conseillé comme action. C’est plus souvent source de problème que de solution.

Si solution diy, faire une mise à jour système avec la commande apt.

sudo apt update && sudo apt upgrade -y

Si box officiel, passez par un ticket.

C’est pour cela que j’ai dit sur mon jeedom de teste.

ok merci pour vos reponses, je vais patienter un peu et prendre le temps de mettre à jour ma machine virtuel pour passer en derniere version de jeedom et debian 12.

1 « J'aime »