Unable to obtain driver for chrome using Selenium Manager

Est ce que tu regardé le lien que je tai donné surtout…?

C’est aussi ce que j’ai répondu à Thomas, je ne vais jamais sur la console Noip depuis que j’utilise le plugin, j’y suis retournée suite au problème pour voir si tout était ok.

NOIP est configuré sur mon routeur mais ça fait plusieurs années que c’est en place

J’ai aucun souvenir d’avoir fait une modification sur le site Noip et j’ai regardé un peu dans les paramètres, je vois pas ce que j’aurais pu être amené à changer

je viens de faire la manip, wait and see

Ou appuyer sur la.commande « rafraichir » de l equipement typé « compte » :wink:

ah ah je suis un boulet…

voici, les logs, ça ne fonctionne pas:

0487|[2023-12-10 12:28:28]DEBUG : Execution de la commande refresh
0488|[2023-12-10 12:28:28]INFO : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py  --loglevel info --user XXXX--pwd "****************" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../.. --force_path 0<<
0489|[2023-12-10 12:28:29]INFO : Log level : info
0490|[2023-12-10 12:28:29]INFO : User : XXXX
0491|[2023-12-10 12:28:29]INFO : Threshold : 7
0492|[2023-12-10 12:28:29]INFO : Renew : 1
0493|[2023-12-10 12:28:29]INFO : ForcePath : 0
0494|[2023-12-10 12:28:29]ERROR : Exception has been thrown. Message: Unable to obtain driver for chrome using Selenium Manager.; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
0495|[2023-12-10 12:28:29]DEBUG : [Maison][Domaine] file content:
0496|[2023-12-10 12:28:29]ERROR : [Maison][Domaine] file content empty

j’espère que tu es chauve, sinon dommage pour tes cheveux :wink:

:sweat_smile:

Peut etre qu en faisant le necessaire ca ira mieux !?

j’étais justement en train de tester ça, voici le log


0480|[2023-12-10 12:38:43]DEBUG : Execution de la commande refresh
0481|[2023-12-10 12:38:43]INFO : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py  --loglevel info --user XXXX--pwd "****************" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../.. --force_path 1<<
0482|[2023-12-10 12:38:44]INFO : Log level : info
0483|[2023-12-10 12:38:44]INFO : User : XXX
0484|[2023-12-10 12:38:44]INFO : Threshold : 7
0485|[2023-12-10 12:38:44]INFO : Renew : 1
0486|[2023-12-10 12:38:44]INFO : ForcePath : 1
0487|[2023-12-10 12:38:58]INFO : Start running process
0488|[2023-12-10 12:38:58]INFO : Opening https://www.noip.com/login...
0489|[2023-12-10 12:39:12]INFO : Logging in...
0490|[2023-12-10 12:39:48]INFO : Opening https://my.noip.com/dynamic-dns...
0491|[2023-12-10 12:39:59]INFO : Message: no such element: Unable to locate element: {"method":"xpath","selector":".//following-sibling::td[4]/button[contains(@class, 'btn')]"}
0492|(Session info: headless chrome=106.0.5249.119); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
0493|[2023-12-10 12:40:00]DEBUG : [Maison][Domaine] file content: {"msg": "Message: no such element: Unable to locate element: {\"method\":\"xpath\",\"selector\":\".//following-sibling::td[4]/button[contains(@class, 'btn')]\"}
0494|(Session info: headless chrome=106.0.5249.119); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
0495|"}
0496|[2023-12-10 12:40:00]ERROR : [Maison][Domaine] error while executing Python script: Message: no such element: Unable to locate element: {"method":"xpath","selector":".//following-sibling::td[4]/button[contains(@class, 'btn')]"}   (Session info: headless chrome=106.0.5249.119); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception


comme dit, je suis un boulet :wink:

ce que je peux tester c’est de créer la fameuse clé pour voir si cette colonne disparait et si ça règle le problème?

Tu peux mais a mon avis ca risque de changer la colonne en autre chose.

J aimerai surtout trouver comment cette colonne arrive


Sinon attendre demain (ou mardi) que le traitement de renouvellement passe chez @Nemeraud si la correction est ok et quil ny a pas de nouveau element alors je publierai une nouvelle beta

@tomitomas

j’ai de nouveau une erreur qui apparait

(Session info: headless chrome=89.0.4389.114)
Stacktrace:
#0 0xaaaab694cd48 
#1 0xaaaab68ef6cc 
#2 0xaaaab6682d84 
#3 0xaaaab66b4898 
#4 0xaaaab66b323c 
#5 0xaaaab66b1844 
#6 0xaaaab66b0cc4 
#7 0xaaaab66a8cb0 
#8 0xaaaab66a8ae0 
#9 0xaaaab66ddac8 
#10 0xaaaab66a6f50 
#11 0xaaaab66a83d4 
#12 0xaaaab691aec8 
#13 0xaaaab6928aa0 
#14 0xaaaab6928804 
#15 0xaaaab692ccbc 
#16 0xaaaab6929240 
#17 0xaaaab691116c 
#18 0xaaaab693fb3c 
#19 0xaaaab6957398 
#20 0xffff9ad3f7e4 start_thread
#21 0xffff9a3f7adc 
"}
[2023-12-10 22:25:31]ERROR : [Multimédia][NoIP] error while executing Python script: Message: element click intercepted: Element  is not clickable at point (1096, 416). Other element would receive the click: 
...
   (Session info: headless chrome=89.0.4389.114) Stacktrace: #0 0xaaaab694cd48  #1 0xaaaab68ef6cc  #2 0xaaaab6682d84  #3 0xaaaab66b4898  #4 0xaaaab66b323c  #5 0xaaaab66b1844  #6 0xaaaab66b0cc4  #7 0xaaaab66a8cb0  #8 0xaaaab66a8ae0  #9 0xaaaab66ddac8  #10 0xaaaab66a6f50  #11 0xaaaab66a83d4  #12 0xaaaab691aec8  #13 0xaaaab6928aa0  #14 0xaaaab6928804  #15 0xaaaab692ccbc  #16 0xaaaab6929240  #17 0xaaaab691116c  #18 0xaaaab693fb3c  #19 0xaaaab6957398  #20 0xffff9ad3f7e4 start_thread #21 0xffff9a3f7adc 
[2023-12-10 22:25:31]DEBUG : Set a new refresh in 5min
[2023-12-10 22:25:31]DEBUG : Task 'refreshInfoEq' scheduled at 2023-12-10 22:30:31
[2023-12-10 22:30:08]INFO : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py  --loglevel info --user xxxxxxxx --pwd "***********" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../.. --force_path 1<<
[2023-12-10 22:30:09]INFO : Log level : info
[2023-12-10 22:30:09]INFO : User : xxxxxxxxxxxxx
[2023-12-10 22:30:09]INFO : Threshold : 7
[2023-12-10 22:30:09]INFO : Renew : 1
[2023-12-10 22:30:09]INFO : ForcePath : 1
[2023-12-10 22:30:23]DEBUG : Pas de mise à jour d'IP à réaliser

Bonjour Tomitomas,

je viens de vérifier et j’ai cette colonne aussi de présente sur mon compte.

Salut

Ce qui m interesse surtout c est comment cette colonne arrive, plutot que combien d utilisateurs sont concernés :slight_smile:

Alors la tu me pose la question du siècle, je n’ai pas souvenir d’une quelconque manipulation pour l’avoir. Par contre, quand je clique comme si je voulais créé la clé j’obtiens l’image ci dessous


Peut etre que cela peux t’aider

pas trop, mais merci !

la correction que j’ai mise chez @Nemeraud semble fonctionner aussi bien pour les controles que pour le renouvellement mensuel
→ les modif sont en beta du jour !

Bonjour Tomas,

Je viens de faire la mise a jour et j’obtiens un message d’erreur.
Voici les logs

[2023-12-13 03:48:05][DEBUG] : [Informatique][Maison] file content: 
[2023-12-13 03:48:05][ERROR] : [Informatique][Maison] file content empty
[2023-12-13 03:48:05][DEBUG] : Set a new refresh in 5min
[2023-12-13 03:48:05][DEBUG] : Task 'refreshInfoEq' scheduled at 2023-12-13 03:53:05
[2023-12-13 03:53:04][INFO] : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py  --loglevel info --user frs051 --pwd "**********" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../.. --force_path 0<<
[2023-12-13 03:53:05][INFO] : Log level : info
[2023-12-13 03:53:05][INFO] : User : frs051
[2023-12-13 03:53:05][INFO] : Threshold : 7
[2023-12-13 03:53:05][INFO] : Renew : 1
[2023-12-13 03:53:05][INFO] : ForcePath : 0
[2023-12-13 03:53:05][ERROR] : Exception has been thrown. Message: Unable to obtain driver for chrome using Selenium Manager.; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location

[2023-12-13 03:53:05][DEBUG] : [Informatique][Maison] file content: 
[2023-12-13 03:53:05][ERROR] : [Informatique][Maison] file content empty
[2023-12-13 03:53:05][DEBUG] : Set a new refresh in 5min
[2023-12-13 03:53:05][DEBUG] : Task 'refreshInfoEq' scheduled at 2023-12-13 03:58:05
[2023-12-13 03:53:46][DEBUG] : Execution de la commande refresh
[2023-12-13 03:53:46][INFO] : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py  --loglevel info --user frs051 --pwd "**********" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../.. --force_path 1<<
[2023-12-13 03:53:47][INFO] : Log level : info
[2023-12-13 03:53:47][INFO] : User : frs051
[2023-12-13 03:53:47][INFO] : Threshold : 7
[2023-12-13 03:53:47][INFO] : Renew : 1
[2023-12-13 03:53:47][INFO] : ForcePath : 1
[2023-12-13 03:58:04][INFO] : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py  --loglevel info --user frs051 --pwd "**********" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../.. --force_path 1<<
[2023-12-13 03:58:05][INFO] : Log level : info
[2023-12-13 03:58:05][INFO] : User : frs051
[2023-12-13 03:58:05][INFO] : Threshold : 7
[2023-12-13 03:58:05][INFO] : Renew : 1
[2023-12-13 03:58:05][INFO] : ForcePath : 1
[2023-12-13 04:00:19][DEBUG] : Pas de mise à jour d'IP à réaliser
[2023-12-13 04:01:01][DEBUG] : Execution de la commande refresh
[2023-12-13 04:01:01][INFO] : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py  --loglevel info --user frs051 --pwd "**********" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../.. --force_path 1<<
[2023-12-13 04:01:08][INFO] : Log level : info
[2023-12-13 04:01:08][INFO] : User : frs051
[2023-12-13 04:01:08][INFO] : Threshold : 7
[2023-12-13 04:01:08][INFO] : Renew : 1
[2023-12-13 04:01:08][INFO] : ForcePath : 1
[2023-12-13 04:01:25][INFO] : Start running process
[2023-12-13 04:01:25][INFO] : Opening https://www.noip.com/login...
[2023-12-13 04:01:43][INFO] : Logging in...
[2023-12-13 04:02:45][INFO] : Opening https://my.noip.com/dynamic-dns...
[2023-12-13 04:03:33][INFO] : anderigwesha.ddns.net expires in 17 days
[2023-12-13 04:03:34][INFO] : chrisisaestemel.ddns.net expires in 29 days
[2023-12-13 04:03:35][INFO] : Confirmed hosts: 0
[2023-12-13 04:03:36][DEBUG] : [Informatique][Maison] file content: [{"hostname": "***********.ddns.net", "expirationdays": 17, "renewed": "ok", "ip": "***.***.***.**"}, {"hostname": "***********.ddns.net", "expirationdays": 29, "renewed": "ok", "ip": "***.***.***.**"}]
[2023-12-13 04:03:36][DEBUG] : will update domain with following data : {"hostname":"***********.ddns.net","expirationdays":17,"renewed":"ok","ip":"***.***.***.**"}
[2023-12-13 04:03:36][DEBUG] : cmd creation => Hostname [hostname]
[2023-12-13 04:03:36][DEBUG] : cmd creation => Days before expiration [expiration]
[2023-12-13 04:03:36][DEBUG] : cmd creation => Renew status [renew]
[2023-12-13 04:03:36][DEBUG] : cmd creation => linked IP [iplinked]
[2023-12-13 04:03:36][DEBUG] : cmd creation => Expiration date [endDate]
[2023-12-13 04:03:36][INFO] : Domaine créé : ***********.ddns.net
[2023-12-13 04:03:37][DEBUG] : will update domain with following data : {"hostname":"***********.ddns.net","expirationdays":29,"renewed":"ok","ip":"***.***.***.**"}
[2023-12-13 04:03:37][DEBUG] : cmd creation => Hostname [hostname]
[2023-12-13 04:03:37][DEBUG] : cmd creation => Days before expiration [expiration]
[2023-12-13 04:03:37][DEBUG] : cmd creation => Renew status [renew]
[2023-12-13 04:03:37][DEBUG] : cmd creation => linked IP [iplinked]
[2023-12-13 04:03:37][DEBUG] : cmd creation => Expiration date [endDate]
[2023-12-13 04:03:37][INFO] : Domaine créé : ***********.ddns.net
[2023-12-13 04:03:49][ERROR] : Exception has been thrown. Message: session not created
from timeout: Timed out receiving message from renderer: 600.000
  (Session info: headless chrome=90.0.4430.212)
Stacktrace:
#0 0x000000b7e648 <unknown>
#1 0x000000b3bcf8 <unknown>
#2 0x000000975d5e <unknown>
#3 0x000000967cb8 <unknown>
#4 0x0000009671b2 <unknown>
#5 0x0000009674ac <unknown>
#6 0x000000966e6a <unknown>
#7 0x00000096fd98 <unknown>
#8 0x000000966e2e <unknown>
#9 0x0000009679f2 <unknown>
#10 0x0000009671b2 <unknown>
#11 0x0000009674ac <unknown>
#12 0x000000966e6a <unknown>
#13 0x00000096c3aa <unknown>
#14 0x00000096c3f4 <unknown>
#15 0x000000966e2e <unknown>
#16 0x0000009679f2 <unknown>
#17 0x0000009671b2 <unknown>
#18 0x0000009674ac <unknown>
#19 0x000000966e6a <unknown>
#20 0x00000096e5cc <unknown>
#21 0x000000966e2e <unknown>
#22 0x0000009679f2 <unknown>
#23 0x0000009671b2 <unknown>
#24 0x0000009674ac <unknown>
#25 0x000000966e6a <unknown>
#26 0x00000096c9f2 <unknown>
#27 0x000000966e2e <unknown>
#28 0x0000009679f2 <unknown>
#29 0x0000009671b2 <unknown>
#30 0x0000009674ac <unknown>
#31 0x000000966e6a <unknown>
#32 0x00000096bb44 <unknown>
#33 0x000000966e2e <unknown>
#34 0x0000009679f2 <unknown>
#35 0x0000009671b2 <unknown>
#36 0x0000009674ac <unknown>
#37 0x000000966e6a <unknown>
#38 0x0000009639ee <unknown>
#39 0x000000966e2e <unknown>
#40 0x000000966dc8 <unknown>
#41 0x000000966a78 <unknown>
#42 0x000000976e9c <unknown>
#43 0x0000009b1502 <unknown>
#44 0x0000009ad6a4 <unknown>
#45 0x00000098fc8e <unknown>
#46 0x000000990c12 <unknown>
#47 0x000000b59f9a <unknown>
#48 0x000000b643d0 <unknown>
#49 0x000000b640f8 <unknown>
#50 0x000000b647be <unknown>
#51 0x000000b676d8 <unknown>
#52 0x000000b64a60 <unknown>
#53 0x000000b536e4 <unknown>
#54 0x000000b74d02 <unknown>
#55 0x000000b74e36 <unknown>
#56 0x000000b85bb4 <unknown>

[2023-12-13 04:03:49][DEBUG] : [Informatique][Maison] file content: [{"hostname": "***********.ddns.net", "expirationdays": 17, "renewed": "ok", "ip": "***.***.***.**"}, {"hostname": "***********.ddns.net", "expirationdays": 29, "renewed": "ok", "ip": "***.***.***.**"}]
[2023-12-13 04:03:49][DEBUG] : will update domain with following data : {"hostname":"***********.ddns.net","expirationdays":17,"renewed":"ok","ip":"***.***.***.**"}
[2023-12-13 04:03:49][DEBUG] : will update domain with following data : {"hostname":"***********.ddns.net","expirationdays":29,"renewed":"ok","ip":"***.***.***.**"}

tes 2 domaines sont créés et tu récupères les infos les concernant, donc on est bon ! :wink:

@maxnumberone sujet à cloturer, merci

Hello,

J’ai un soucis avec le plugin. Comme beaucoup, mon Jeedom principale est en Debian 10. En attendant de migrer, pas grave, j’ai des raspberry esclave en Debian 11. Du coup j’ai installé le plugin dessus, mais ça ne fontionne pas, avec une erreur assez similaire.

Elle est donc en Debian 11, python 3.9.2, Jeedom en 4.3.21 et plugin No-ip sur la dernière beta. Par contre c’est une fresh install du plugin du coup (peut etre ce qui diffère des autres dans ce topic ^^)

Launch install of noip dependencies
-- Current OS version :
Description:	Debian GNU/Linux 11 (bullseye)
-- Updating repo...
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:5 https://deb.nodesource.com/node_18.x nodistro 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.9).
python3 is already the newest version (3.9.2-3).
python-dev-is-python2 is already the newest version (2.7.18-9).
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
-- Installed version of Python :
Python 3.9.2
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...
Package python-requests 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 'python-requests' has no installation candidate
-- Installation of chromium
Reading package lists...
Building dependency tree...
Reading state information...
chromium is already the newest version (120.0.6099.129-1~deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
-- Installed version of pip :
pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)
-- Installation of python library 'selenium' with command pip3
cat: /tmp/jeedom/noip/dependancy_noip: No such file or directory
-- Installation of dependencies is done !
[2024-01-01 19:31:16]DEBUG : Execution de la commande refresh
[2024-01-01 19:31:16]INFO : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py  --loglevel debug --user ****@*****.com --pwd "********" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../.. --force_path 1<<
[2024-01-01 19:31:17]INFO : Log level : debug
[2024-01-01 19:31:17]INFO : User : *****@****.com
[2024-01-01 19:31:17]INFO : Threshold : 7
[2024-01-01 19:31:17]INFO : Renew : 1
[2024-01-01 19:31:17]INFO : ForcePath : 1
[2024-01-01 19:31:17]ERROR : Exception has been thrown. Message: Unable to locate or obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
[2024-01-01 19:31:17]DEBUG : [Aucun][Domaines] file content:
[2024-01-01 19:31:17]ERROR : [Aucun][Domaines] file content empty

Si tu as une idée :slight_smile:
Merci

je n’avais pas vu ta demande @tomitomas mais comme j’ai mis plus haut j’ai migré en bullseye (et python 3.9) et le problème est toujours la et je ne suis pas le seul, me semble qu’on avait pensé a un souci sur raspbian mais j’ai pas plus suivi que ca.
donc la solution serait peut etre d’installer une debian a la place…
je vais clôturer le sujet vu que j’ai désinstallé (j’ai réinstallé à l’instant pour tester mais le souci est toujours présent).

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