Erreur Phyton

Bonjour, je viens d’installer le plugin et je n’arrive pas à récupérer mes domaines.
Je suis sur un DIY en version jeedom 4.1.27 'et derniére version stable de NO-IP renew.

mes logs :

> [2021-10-21 17:29:48][INFO] : syncNoIp
> [2021-10-21 17:29:48][INFO] : Lancement script No-Ip : sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py xxxxx@gmail.com "#####" 5 0 /var/www/html/plugins/noip/core/class/../.. 2
> [2021/10/21 17:29:51] - Debug level: 2
> [2021/10/21 17:29:51] - Opening https://www.noip.com/login...
> [2021/10/21 17:29:55] - Logging in...
> [2021/10/21 17:29:56] - DEBUG: Element by name login not found: Message: element not interactable
> (Session info: headless chrome=90.0.4430.212)
> [2021/10/21 17:29:56] - DEBUG: Element by attr data-action=login not found: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-action="login"]"}
> (Session info: headless chrome=90.0.4430.212)
> [2021/10/21 17:30:01] - Opening https://my.noip.com/dynamic-dns...
> [2021/10/21 17:30:08] - No hosts or host table rows not found
> [2021-10-21 17:30:09][DEBUG] : [control][noip] file content: {"msg": "No hosts or host table rows not found"}
> [2021-10-21 17:30:09][ERROR] : [control][noip] error while executing Python script:
> [2021-10-21 17:33:59][INFO] : syncNoIp
> [2021-10-21 17:33:59][INFO] : Lancement script No-Ip : sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py ecc0409 "#####" 5 0 /var/www/html/plugins/noip/core/class/../.. 2
> [2021/10/21 17:34:02] - Debug level: 2
> [2021/10/21 17:34:02] - Opening https://www.noip.com/login...
> [2021/10/21 17:34:06] - Logging in...
> [2021/10/21 17:34:06] - DEBUG: Element by name login not found: Message: element not interactable
> (Session info: headless chrome=90.0.4430.212)
> [2021/10/21 17:34:06] - DEBUG: Element by attr data-action=login not found: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-action="login"]"}
> (Session info: headless chrome=90.0.4430.212)
> [2021/10/21 17:34:11] - Opening https://my.noip.com/dynamic-dns...
> [2021/10/21 17:34:17] - No hosts or host table rows not found
> [2021-10-21 17:34:17][DEBUG] : [control][ecc] file content: {"msg": "No hosts or host table rows not found"}
> [2021-10-21 17:34:17][ERROR] : [control][ecc] error while executing Python script:
> [2021-10-21 17:34:17][INFO] : Lancement script No-Ip : sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py eric.chateau.62@gmail.com "#####" 5 0 /var/www/html/plugins/noip/core/class/../.. 2
> [2021/10/21 17:34:20] - Debug level: 2
> [2021/10/21 17:34:20] - Opening https://www.noip.com/login...
> [2021/10/21 17:34:24] - Logging in...
> [2021/10/21 17:34:24] - DEBUG: Element by name login not found: Message: element not interactable
> (Session info: headless chrome=90.0.4430.212)
> [2021/10/21 17:34:24] - DEBUG: Element by attr data-action=login not found: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-action="login"]"}
> (Session info: headless chrome=90.0.4430.212)
> [2021/10/21 17:34:29] - Opening https://my.noip.com/dynamic-dns...
> [2021/10/21 17:34:35] - No hosts or host table rows not found
> [2021-10-21 17:34:35][DEBUG] : [control][noip] file content: {"msg": "No hosts or host table rows not found"}
> [2021-10-21 17:34:35][ERROR] : [control][noip] error while executing Python scrip

t:

Launch install of noip dependencies
-- Current OS version :
Description:	Debian GNU/Linux 10 (buster)
-- Updating repo...
Hit:1 http://ftp.fr.debian.org/debian buster InRelease
Get:2 http://ftp.fr.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Get:4 http://ftp.debian.org/debian buster-backports InRelease [46.7 kB]
Hit:5 https://deb.nodesource.com/node_14.x buster InRelease
Fetched 98.6 kB in 1s (69.5 kB/s)
Reading package lists...
-- Installation of python3 and dependencies
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.6).
python-dev is already the newest version (2.7.16-1).
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
-- Installed version of Python :
Python 3.7.3
Your version of python is compatible with this plugin.
-- Installation of pip for python3 and necessary libraries
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5).
python3-dev is already the newest version (3.7.3-1).
python-requests is already the newest version (2.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
-- Installation of chromium
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package chromium-chromedriver
Reading package lists...
Building dependency tree...
Reading state information...
chromium-driver is already the newest version (90.0.4430.212-1~deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package chromium-browser is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'chromium-browser' has no installation candidate
-- Installed version of pip :
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
-- Installation of python library 'selenium' with command pip3
cat: /tmp/jeedom/noip/dependancy_noip: No such file or directory
-- Installation of dependencies is done !

si quelqu’un à une idée, je suis preneur.

hugoKs3

Merci

Il lui manque des choses pour fonctionner, de mémoire il y a besoin de chromedriver et chrome-common.

Essai de relancer les dépendances…

Bonjour,

Depuis aujourd’hui j’ai une erreur sur le plugin no-ip, je voulais savoir si j’étais le seul.
Voici les logs :

[2021-10-30 14:39:19][DEBUG] : Execution de la commande refresh
[2021-10-30 14:39:19][INFO] : Lancement script No-Ip : sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py XXXXX@gmail.com "#####" 7 1 /var/www/html/plugins/noip/core/class/../.. 2
[2021/10/30 14:39:21] - Debug level: 2
[2021/10/30 14:39:21] - Opening https://www.noip.com/login...
[2021/10/30 14:39:23] - Logging in...
[2021/10/30 14:39:24] - DEBUG: Element by name login not found: Message: element not interactable
(Session info: headless chrome=90.0.4430.212)
[2021/10/30 14:39:24] - DEBUG: Element by attr data-action=login not found: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-action="login"]"}
(Session info: headless chrome=90.0.4430.212)
[2021/10/30 14:39:29] - Opening https://my.noip.com/dynamic-dns...
[2021/10/30 14:39:34] - Expiration days label does not match the expected pattern
[2021-10-30 14:39:34][DEBUG] : [Autres Jeedom][No-IP] file content: {"msg": "Expiration days label does not match the expected pattern"}
[2021-10-30 14:39:34][ERROR] : [Autres Jeedom][No-IP] error while executing Python script:

Bonjour,
Tu peux être rassuré, tu n’es pas le seul.

2 « J'aime »

chez moi, cela a un peu évolué.

[2021-10-30 18:23:15][INFO] : syncNoIp
[2021-10-30 18:23:15][INFO] : Lancement script No-Ip : sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py xxxxxxxx@gmail.com "#####" 7 0 /var/www/html/plugins/noip/core/class/../.. 2
[2021/10/30 18:23:18] - Debug level: 2
[2021/10/30 18:23:18] - Opening https://www.noip.com/login...
[2021/10/30 18:23:22] - Logging in...
[2021/10/30 18:23:22] - DEBUG: Element by name login not found: Message: element not interactable
  (Session info: headless chrome=90.0.4430.212)

[2021/10/30 18:23:22] - DEBUG: Element by attr data-action=login not found: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-action="login"]"}
  (Session info: headless chrome=90.0.4430.212)

[2021/10/30 18:23:27] - Opening https://my.noip.com/dynamic-dns...
[2021/10/30 18:23:33] - No hosts or host table rows not found
[2021-10-30 18:23:34][DEBUG] : [Aucun][test noip] file content: {"msg": "No hosts or host table rows not found"}
[2021-10-30 18:23:34][ERROR] : [Aucun][test noip] error while executing Python script:

Bonjour,

Soucis chez moi également depuis quelques jours
Il faut je pense attendre une correction de @hugoKs3

[2021-11-01 06:22:03][INFO] : Lancement script No-Ip : sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py blablabla@blablabla.fr "#####" 7 1 /var/www/html/plugins/noip/core/class/../.. 2
[2021/11/01 06:22:05] - Debug level: 2
[2021/11/01 06:22:05] - Opening https://www.noip.com/login...
[2021/11/01 06:22:10] - Logging in...
[2021/11/01 06:22:10] - DEBUG: Element by name login not found: Message: element not interactable
(Session info: headless chrome=92.0.4515.98)
[2021/11/01 06:22:10] - DEBUG: Element by attr data-action=login not found: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-action="login"]"}
(Session info: headless chrome=92.0.4515.98)
[2021/11/01 06:22:18] - Opening https://my.noip.com/dynamic-dns...
[2021/11/01 06:22:25] - Expiration days label does not match the expected pattern
[2021-11-01 06:22:26][DEBUG] : [Informatique][MonJeedom] file content: {"msg": "Expiration days label does not match the expected pattern"}
[2021-11-01 06:22:26][ERROR] : [Informatique][MonJeedom] error while executing Python script:
[2021-11-01 06:22:26][DEBUG] : Prochaine vérification automatique pour MonJeedom : 2021-11-01 12:17:00

Hello !
Bon bah idem pour moi depuis 1 semaine au moins, mêmes erreurs dans les logs.
Je pense qu’il y a dû y avoir du changement du côté des services « No IP »

Bonjour à tous

+1 for me

Je viens de rentrer de congés et vais regarder ça dès que possible

1 « J'aime »

:+1: merci

Nouvelle version publiée à l’instant qui doit corriger le problème.
Il faudra vérifier au moment du renouvellement automatique si tout fonctionne correctement car je ne suis pas dans ce cas pour l’instant et c’est donc difficile de tester.

Merci (pas encore dispo sur Jeedom). Je ne pourrais pas non plus te confirmer car j’ai renouvelé manuellement il y a 2 jours.

Mise à jour effectuée à l’instant, renew du DNS, le feedback m’indique bien « renouvellement dans 31 jours »
Je vais suivre ça cette semaine, mais à première vue c’est du tout bon ! :grinning:
Merci @hugoKs3 pour ta rapidité !

Bonjour, bon, ben, personnellement, cela ne fonctionne toujours pas (mais je n’ai jamais réussi à le faire fonctionner :sleepy:.)

Launch install of noip dependencies
-- Current OS version :
Description:	Debian GNU/Linux 10 (buster)
-- Updating repo...
Hit:1 http://ftp.debian.org/debian buster-backports InRelease
Hit:2 http://ftp.fr.debian.org/debian buster InRelease
Hit:3 http://ftp.fr.debian.org/debian buster-updates InRelease
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 https://deb.nodesource.com/node_14.x buster InRelease
Hit:7 https://storage.googleapis.com/bazel-apt stable InRelease
Reading package lists...
-- Installation of python3 and dependencies
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.6).
python-dev is already the newest version (2.7.16-1).
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
-- Installed version of Python :
Python 3.7.3
Your version of python is compatible with this plugin.
-- Installation of pip for python3 and necessary libraries
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5).
python3-dev is already the newest version (3.7.3-1).
python-requests is already the newest version (2.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
-- Installation of chromium
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package chromium-chromedriver
Reading package lists...
Building dependency tree...
Reading state information...
chromium-driver is already the newest version (90.0.4430.212-1~deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package chromium-browser is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'chromium-browser' has no installation candidate
-- Installed version of pip :
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
-- Installation of python library 'selenium' with command pip3
Requirement already satisfied: selenium in /usr/local/lib/python3.7/dist-packages (3.141.0)
Requirement already satisfied: urllib3 in /usr/lib/python3/dist-packages (from selenium) (1.24.1)
-- Installation of dependencies is done !

[2021-11-07 12:28:46][INFO] : syncNoIp
[2021-11-07 12:28:46][INFO] : Lancement script No-Ip : sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py xxxxx@gmail.com "#####" 7 0 /var/www/html/plugins/noip/core/class/../.. 2
[2021/11/07 12:28:48] - Debug level: 2
[2021/11/07 12:28:48] - Opening https://www.noip.com/login...
[2021/11/07 12:28:52] - Logging in...
[2021/11/07 12:28:52] - DEBUG: Element by name login not found: Message: element not interactable
  (Session info: headless chrome=90.0.4430.212)

[2021/11/07 12:28:52] - DEBUG: Element by attr data-action=login not found: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-action="login"]"}
  (Session info: headless chrome=90.0.4430.212)

[2021/11/07 12:28:58] - Opening https://my.noip.com/dynamic-dns...
[2021/11/07 12:29:07] - No hosts or host table rows not found
[2021-11-07 12:29:12][DEBUG] : [TEST][test noip] file content: {"msg": "No hosts or host table rows not found"}
[2021-11-07 12:29:12][ERROR] : [TEST][test noip] error while executing Python script: 

je suis toujours en Jeedom DIY version 4.1.27 et la béta publiée ce matin.

Elle se situe la ton erreur.
De plus tu indique que tu n’as jamais réussi à le faire fonctionner. Je ne suis pas expert, mais j’ai l’impression que ton login n’est pas enregistré. Le plugin n’arrive pas à atteindre ton « host », donc c’est comme s’il n’y avait pas de lien entre jeedom et noip

Merci pour ton retour, le login est celui utilisé pour se connecter à https://www.noip.com/ (mon mail + mdp)

Oui c’est ça. Après je t’avoue que la première fois que je l’ai fais, ce n’est pas passé, j’ai dû m’y reprendre 3-4 fois avant que ça marche. Mais en tout cas c’est sûr, le problème vient de là

Je confirme également le bon fonctionnement chez moi, merci ! :slight_smile:

le problème c’est que je voie pas vraiment ce que je peux faire à mon niveau, les dépendances sont ok et je n’en suis malheureusement pas à 3-4 tentatives, mais 10x plus :disappointed_relieved:

Bonjour,

Pour moi le renouvellement ne fonctionne pas.
Les dépendances sont OK
Installation DIY en version 4.1.27

Voici les logs quand je lance un nouveau scan.

Citation
[2021-11-12 09:39:06][INFO] : syncNoIp
[2021-11-12 09:39:06][INFO] : Lancement script No-Ip : sudo python3 /var/www/html/plugins/noip/core/class/…/…/resources/noip-renew.py l.mes@free.fr « ##### » 7 0 /var/www/html/plugins/noip/core/class/…/… 2
[2021/11/12 09:39:07] - Debug level: 2
[2021/11/12 09:39:07] - Opening Sign In - No-IP
[2021/11/12 09:39:15] - Logging in…
[2021/11/12 09:39:15] - DEBUG: Element by name login not found: Message: element not interactable
(Session info: headless chrome=90.0.4430.212)
[2021/11/12 09:39:15] - DEBUG: Element by attr data-action=login not found: Message: no such element: Unable to locate element: {« method »:« xpath »,« selector »:« //button[@data-action=« login »] »}
(Session info: headless chrome=90.0.4430.212)
[2021/11/12 09:39:19] - Opening Sign In - No-IP
[2021/11/12 09:39:24] - domoa.ddns.net expires in 0 days
[2021/11/12 09:39:24] - domome.ddns.net expires in 0 days
[2021/11/12 09:39:24] - domopa.ddns.net expires in 0 days
[2021/11/12 09:39:24] - Confirmed hosts: 0
[2021-11-12 09:39:24][DEBUG] : [Technique][Domo] file content: [{« hostname »: « domoa.ddns.net », « expirationdays »: 0, « renewed »: « warning »}, {« hostname »: « domome.ddns.net », « expirationdays »: 0, « renewed »: « warning »}, {« hostname »: « domopa.ddns.net », « expirationdays »: 0, « renewed »: « warning »}]

Il trouve une expiration à 0 jours alors qu’il me reste 6 jours!!!
Lorsque je lance la commande « renew status », il me donne comme résultat « warning »
Par contre ce qui est curieux, c’est que je n’ai rien dans les logs alors que je suis en debug !!
Je précise que lors du dernier renouvellement, tout fonctionnait correctement.