Hello,
J’ai un souci en tentant de configurer le plugin no-ip, l’installation des dépendances s’est déroulée sans erreur mais au scan il ne récupère aucun domaine et m’envoie une erreur:
[2023-08-11 10:37:29]DEBUG : Task 'syncNoIp' executed now
[2023-08-11 10:37:30]INFO : Début de synchronisation
[2023-08-11 10:37:30]INFO : Starting daemon with cmd >>python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py --loglevel info --user toto@titi.fr
--pwd "***************" --threshold 7 --renew 0 --noip_path /var/www/html/plugins/noip/core/class/../..<<
[2023-08-11 10:37:31]INFO : Log level : info
[2023-08-11 10:37:31]INFO : User : toto@titi.fr
[2023-08-11 10:37:31]INFO : Threshold : 7
[2023-08-11 10:37:31]INFO : Renew : 0
[2023-08-11 10:37:31]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-08-11 10:37:31]DEBUG : [Aucun][no-ip] file content:
[2023-08-11 10:37:31]ERROR : [Aucun][no-ip] file content empty
[2023-08-11 10:37:31]INFO : Fin de la synchronisation
le log de l’install des dependances (que j’ai relancé) au cas ou:
Launch install of noip dependencies
-- Current OS version :
Description: Raspbian GNU/Linux 10 (buster)
-- Updating repo...
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 http://phoscon.de/apt/deconz buster InRelease
Hit:4 https://deb.nodesource.com/node_14.x buster 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 0 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...
python-requests is already the newest version (2.21.0-1+deb10u1).
python3-dev is already the newest version (3.7.3-1).
python3-pip is already the newest version (18.1-5+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-- Installation of chromium
Reading package lists...
Building dependency tree...
Reading state information...
chromium-chromedriver is already the newest version (92.0.4515.98~buster-rpt2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
chromium-browser is already the newest version (92.0.4515.98~buster-rpt2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-- Installed version of pip :
pip 23.2.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
-- Installation of python library 'selenium' with command pip3.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
cat: /tmp/jeedom/noip/dependancy_noip: No such file or directory
-- Installation of dependencies is done !
Vous avez déjà rencontré ca ? je ne trouve pas ce message dans les autres posts.
Merci d’avance pour votre aide.
On est deux a avoir cette erreur dans les logs, je m’étais focalisé sur une autre erreur mais apparemment cela ne devait pas être mon problème principal. J’ai le même problème en finalité et également le même message d’erreur que toi ?
=> Scan des domaines ne donne rien
0034|[2023-10-01 23:40:02]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
0035|[2023-10-01 23:40:02]ERROR : [Maison][Compte NoIp georgein] file content empty
le log d’install
0000|Launch install of noip dependencies
0001|-- Current OS version :
0002|Description: Debian GNU/Linux 10 (buster)
0003|-- Updating repo...
0004|Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
0005|Hit:2 http://deb.debian.org/debian buster InRelease
0006|Hit:3 https://download.docker.com/linux/debian buster InRelease
0007|Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [547 kB]
0008|Hit:5 https://deb.nodesource.com/node_18.x buster InRelease
0009|Fetched 582 kB in 0s (1686 kB/s)
0010|Reading package lists...
0011|-- Installation of python3 and dependencies
0012|Reading package lists...
0013|Building dependency tree...
0014|Reading state information...
0015|build-essential is already the newest version (12.6).
0016|python-dev is already the newest version (2.7.16-1).
0017|python3 is already the newest version (3.7.3-1).
0018|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0019|-- Installed version of Python :
0020|Python 3.7.3
0021|Your version of python is compatible with this plugin.
0022|-- Installation of pip for python3 and necessary libraries
0023|Reading package lists...
0024|Building dependency tree...
0025|Reading state information...
0026|python3-pip is already the newest version (18.1-5).
0027|python3-dev is already the newest version (3.7.3-1).
0028|python-requests is already the newest version (2.21.0-1+deb10u1).
0029|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0030|-- Installation of chromium
0031|Reading package lists...
0032|Building dependency tree...
0033|Reading state information...
0034|E: Unable to locate package chromium-chromedriver
0035|Reading package lists...
0036|Building dependency tree...
0037|Reading state information...
0038|chromium-driver is already the newest version (90.0.4430.212-1~deb10u1).
0039|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0040|Reading package lists...
0041|Building dependency tree...
0042|Reading state information...
0043|Package chromium-browser is not available, but is referred to by another package.
0044|This may mean that the package is missing, has been obsoleted, or
0045|is only available from another source
0046|E: Package 'chromium-browser' has no installation candidate
0047|-- Installed version of pip :
0048|pip 23.2.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
0049|-- Installation of python library 'selenium' with command pip3.7
0050|DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of reportbug or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
0051|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
0052|Requirement already satisfied: selenium in /usr/local/lib/python3.7/dist-packages (4.11.2)
0053|Requirement already satisfied: urllib3[socks]<3,>=1.26 in /usr/local/lib/python3.7/dist-packages (from selenium) (2.0.5)
0054|Requirement already satisfied: trio~=0.17 in /usr/local/lib/python3.7/dist-packages (from selenium) (0.22.2)
0055|Requirement already satisfied: trio-websocket~=0.9 in /usr/local/lib/python3.7/dist-packages (from selenium) (0.11.1)
0056|Requirement already satisfied: certifi>=2021.10.8 in /usr/local/lib/python3.7/dist-packages (from selenium) (2023.7.22)
0057|Requirement already satisfied: attrs>=20.1.0 in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (23.1.0)
0058|Requirement already satisfied: sortedcontainers in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (2.4.0)
0059|Requirement already satisfied: idna in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (3.4)
0060|Requirement already satisfied: outcome in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (1.2.0)
0061|Requirement already satisfied: sniffio in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (1.3.0)
0062|Requirement already satisfied: exceptiongroup>=1.0.0rc9 in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (1.1.3)
0063|Requirement already satisfied: wsproto>=0.14 in /usr/local/lib/python3.7/dist-packages (from trio-websocket~=0.9->selenium) (1.2.0)
0064|Requirement already satisfied: pysocks!=1.5.7,<2.0,>=1.5.6 in /usr/local/lib/python3.7/dist-packages (from urllib3[socks]<3,>=1.26->selenium) (1.7.1)
0065|Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from attrs>=20.1.0->trio~=0.17->selenium) (6.7.0)
0066|Requirement already satisfied: h11<1,>=0.9.0 in /usr/local/lib/python3.7/dist-packages (from wsproto>=0.14->trio-websocket~=0.9->selenium) (0.14.0)
0067|Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from h11<1,>=0.9.0->wsproto>=0.14->trio-websocket~=0.9->selenium) (4.7.1)
0068|Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->attrs>=20.1.0->trio~=0.17->selenium) (3.15.0)
0069|-- Installation of dependencies is done !
root@Jeedom-exploitation:~# sudo apt-cache show chromium-browser
N: Impossible de choisir les versions du paquet « chromium-browser » qui n’est q u’un paquet virtuel
N: Aucun paquet n’a été trouvé
root@Jeedom-exploitation:~#
Bonsoir,
J’ai également le même problème sur actualisation de noip.
[2023-10-18 22:34:04]ERROR : Exception has been thrown. Message: Unable to obtain driver for chrome using Selenium Manager.; For documentation on this error, please visit: Unable to Locate Driver Error | Selenium
est ce que tu as les logs de l’install des dépendances à partager, histoire que ca puisse peut etre m’aider un peu + à avancer que juste « ça résout pas le pb ».
0000|Launch install of noip dependencies
0001|-- Current OS version :
0002|Description: Raspbian GNU/Linux 11 (bullseye)
0003|-- Updating repo...
0004|Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
0005|Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
0006|Hit:3 https://download.docker.com/linux/debian bullseye InRelease
0007|Get:4 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]
0008|Ign:5 http://pipplware.pplware.pt/pipplware/dists/bullseye/main/binary ./ InRelease
0009|Err:7 http://pipplware.pplware.pt/pipplware/dists/bullseye/main/binary ./ Release
0010|404 Not Found [IP: 176.221.36.97 80]
0011|Hit:6 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
0012|Reading package lists...
0013|E: The repository 'http://pipplware.pplware.pt/pipplware/dists/bullseye/main/binary ./ Release' does not have a Release file.
0014|-- Installation of python3 and dependencies
0015|Reading package lists...
0016|Building dependency tree...
0017|Reading state information...
0018|build-essential is already the newest version (12.9).
0019|python-dev-is-python2 is already the newest version (2.7.18-9).
0020|python3 is already the newest version (3.9.2-3).
0021|The following packages were automatically installed and are no longer required:
0022|chromium-common chromium-sandbox libminizip1 libre2-9 libu2f-udev
0023|libxnvctrl0
0024|Use 'sudo apt autoremove' to remove them.
0025|0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
0026|-- Installed version of Python :
0027|Python 3.9.2
0028|Your version of python is compatible with this plugin.
0029|-- Installation of pip for python3 and necessary libraries
0030|Reading package lists...
0031|Building dependency tree...
0032|Reading state information...
0033|Package python-requests is not available, but is referred to by another package.
0034|This may mean that the package is missing, has been obsoleted, or
0035|is only available from another source
0036|E: Package 'python-requests' has no installation candidate
0037|-- Installation of chromium
0038|Reading package lists...
0039|Building dependency tree...
0040|Reading state information...
0041|The following package was automatically installed and is no longer required:
0042|chromium-codecs-ffmpeg-extra
0043|Use 'sudo apt autoremove' to remove it.
0044|Suggested packages:
0045|chromium-l10n chromium-shell chromium-driver
0046|The following packages will be REMOVED:
0047|chromium-browser chromium-browser-l10n chromium-chromedriver
0048|The following NEW packages will be installed:
0049|chromium
0050|0 upgraded, 1 newly installed, 3 to remove and 4 not upgraded.
0051|Need to get 59.2 MB of archives.
0052|After this operation, 289 MB disk space will be freed.
0053|Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf chromium armhf 106.0.5249.119-1~deb11u1 [59.2 MB]
0054|debconf: unable to initialize frontend: Dialog
0055|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0056|debconf: falling back to frontend: Readline
0057|debconf: unable to initialize frontend: Readline
0058|debconf: (This frontend requires a controlling tty.)
0059|debconf: falling back to frontend: Teletype
0060|dpkg-preconfigure: unable to re-open stdin:
0061|Fetched 59.2 MB in 5s (12.2 MB/s)
0062|(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
0063|(Reading database ... 60%
(Reading database ... 65%
0064|(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
0065|(Reading database ... 90%
(Reading database ... 95%
0066|(Reading database ... 100%
(Reading database ... 210455 files and directories currently installed.)
0067|Removing chromium-chromedriver (116.0.5845.102-rpt1) ...
0068|Removing chromium-browser-l10n (116.0.5845.102-rpt1) ...
0069|Removing chromium-browser (116.0.5845.102-rpt1) ...
0070|update-alternatives: using /usr/bin/firefox-esr to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
0071|update-alternatives: using /usr/bin/firefox-esr to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
0072|Selecting previously unselected package chromium.
0073|(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 210277 files and directories currently installed.)
0074|Preparing to unpack .../chromium_106.0.5249.119-1~deb11u1_armhf.deb ...
0075|Unpacking chromium (106.0.5249.119-1~deb11u1) ...
0076|Setting up chromium (106.0.5249.119-1~deb11u1) ...
0077|Processing triggers for desktop-file-utils (0.26-1) ...
0078|Processing triggers for hicolor-icon-theme (0.17-2) ...
0079|Processing triggers for gnome-menus (3.36.0-1) ...
0080|Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u7) ...
0081|Processing triggers for man-db (2.9.4-2) ...
0082|Processing triggers for mailcap (3.69) ...
0083|-- Installed version of pip :
0084|pip 23.3.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)
0085|-- Installation of python library 'selenium' with command pip3.9
0086|DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
0087|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
0088|Requirement already satisfied: pysocks!=1.5.7,<2.0,>=1.5.6 in /usr/local/lib/python3.9/dist-packages (from urllib3[socks]<3,>=1.26->selenium) (1.7.1)
0089|Requirement already satisfied: h11<1,>=0.9.0 in /usr/local/lib/python3.9/dist-packages (from wsproto>=0.14->trio-websocket~=0.9->selenium) (0.14.0)
0090|-- Installation of dependencies is done !
0262|[2023-10-23 11:33:12]DEBUG : Task 'syncNoIp' executed now
0263|[2023-10-23 11:33:12]INFO : Début de synchronisation
0264|[2023-10-23 11:33:12]INFO : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py --loglevel debug --user faiseurdepluie --pwd "****************" --threshold 7 --renew 0 --noip_path /var/www/html/plugins/noip/core/class/../..<<
0265|[2023-10-23 11:33:14]INFO : Log level : debug
0266|[2023-10-23 11:33:14]INFO : User : XXX
0267|[2023-10-23 11:33:14]INFO : Threshold : 7
0268|[2023-10-23 11:33:14]INFO : Renew : 0
0269|[2023-10-23 11:33:14]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
0270|[2023-10-23 11:33:14]DEBUG : [Maison][Domaine] file content:
0271|[2023-10-23 11:33:14]ERROR : [Maison][Domaine] file content empty
0272|[2023-10-23 11:33:15]INFO : Fin de la synchronisation
0273|[2023-10-23 11:45:08]DEBUG : [TRACE] makeCurlRequest : "XXXX"
0274|[2023-10-23 11:45:08]DEBUG : [TRACE] all items to update => []
0275|[2023-10-23 11:45:08]DEBUG : Pas de mise à jour d'IP à réaliser
0276|[2023-10-23 12:00:15]DEBUG : [TRACE] makeCurlRequest : "XXXX"
0277|[2023-10-23 12:00:15]DEBUG : [TRACE] all items to update => []
0278|[2023-10-23 12:00:15]DEBUG : Pas de mise à jour d'IP à réaliser
0279|[2023-10-23 12:15:09]DEBUG : [TRACE] makeCurlRequest : "XXX"
0280|[2023-10-23 12:15:09]DEBUG : [TRACE] all items to update => []
0281|[2023-10-23 12:15:09]DEBUG : Pas de mise à jour d'IP à réaliser
0282|[2023-10-23 12:30:12]DEBUG : [TRACE] makeCurlRequest : "XXX"
0283|[2023-10-23 12:30:12]DEBUG : [TRACE] all items to update => []
0284|[2023-10-23 12:30:12]DEBUG : Pas de mise à jour d'IP à réaliser
t’es sur debian 11
pour commencer je vais essayer de résoudre le soucis sur une install standard de jeedom, autrement dit : debian 10
en repartant d’une image vierge de mon côté, les modif proposées plus haut permettent d’avoir un plugin fonctionnel.
du coup si @maxnumberone@m.georgein ou autre veulent bien tester, ca serait top
merci,
Désolé je n’avais pas d’accès au forum durant une longue période du coup je n’ai pas pu faire le test avant ce soir.
J’ai réinstallé tout le plugin depuis zéro ce jour et opéré la manip décrite sur GitHub.
Je tenais également a signaler que les chemins sont différents chez moi je retrouve les fichiers sous :
plugins/noip/core/class
et
plugins/noip/resources
Une fois modifié j’ai relancé les dépendances à 21h09 et relancé un scan.
Voici les logs en mode débug après tout ceci.
Log - Noip
[2023-10-27 20:54:59]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=noip function=remove callInstallFunction=1
[2023-10-27 20:55:33]INFO : Début d'activation du plugin
[2023-10-27 20:55:34]INFO : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2023-10-27 20:55:34]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=noip function=install callInstallFunction=1
[2023-10-27 20:56:05]DEBUG : Pas de mise à jour d'IP à réaliser
[2023-10-27 20:58:19]DEBUG : Task 'syncNoIp' executed now
[2023-10-27 20:58:19]INFO : Début de synchronisation
[2023-10-27 20:58:19]INFO : Fin de la synchronisation
[2023-10-27 20:58:27]DEBUG : cmd creation => Refresh [refresh]
[2023-10-27 20:58:28]DEBUG : cmd creation => Next automatic check [nextcheck]
[2023-10-27 20:58:28]DEBUG : cmd creation => Statut [refreshStatus]
[2023-10-27 20:58:28]DEBUG : cmd creation => All domains details [domainsDetails]
[2023-10-27 20:59:24]DEBUG : Task 'syncNoIp' executed now
[2023-10-27 20:59:25]INFO : Début de synchronisation
[2023-10-27 20:59:25]INFO : Starting daemon with cmd >>python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py --loglevel info --user mail@domaine.fr --pwd "***************" --threshold 7 --renew 0 --noip_path /var/www/html/plugins/noip/core/class/../..<<
[2023-10-27 20:59:25]INFO : Log level : info
[2023-10-27 20:59:25]INFO : User : mail@domaine.fr
[2023-10-27 20:59:25]INFO : Threshold : 7
[2023-10-27 20:59:25]INFO : Renew : 0
[2023-10-27 20:59:25]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-10-27 20:59:25]DEBUG : [Automatisme][Noip] file content:
[2023-10-27 20:59:25]ERROR : [Automatisme][Noip] file content empty
[2023-10-27 20:59:25]INFO : Fin de la synchronisation
[2023-10-27 21:00:09]DEBUG : Pas de mise à jour d'IP à réaliser
[2023-10-27 21:10:03]DEBUG : Task 'syncNoIp' executed now
[2023-10-27 21:10:03]INFO : Début de synchronisation
[2023-10-27 21:10:03]INFO : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py --loglevel info --user seb.rider@hotmail.fr --pwd "***************" --threshold 7 --renew 0 --noip_path /var/www/html/plugins/noip/core/class/../..<<
[2023-10-27 21:10:04]INFO : Log level : info
[2023-10-27 21:10:04]INFO : User : mail@domaine.fr
[2023-10-27 21:10:04]INFO : Threshold : 7
[2023-10-27 21:10:04]INFO : Renew : 0
[2023-10-27 21:10:04]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-10-27 21:10:04]DEBUG : [Automatisme][Noip] file content:
[2023-10-27 21:10:04]ERROR : [Automatisme][Noip] file content empty
[2023-10-27 21:10:04]INFO : Fin de la synchronisation
Log - Noip_update
Launch install of noip dependencies
-- Current OS version :
Description: Raspbian GNU/Linux 10 (buster)
-- Updating repo...
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://deb.nodesource.com/node_18.x buster InRelease
Hit:4 https://packagecloud.io/ookla/speedtest-cli/debian buster 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).
The following packages were automatically installed and are no longer required:
chromium-common chromium-sandbox libimobiledevice6 libjsoncpp1 libminizip1
libplist3 libre2-5 libu2f-udev libupower-glib3 libusbmuxd4 libwebpdemux2
upower usbmuxd
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 102 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...
python-requests is already the newest version (2.21.0-1+deb10u1).
python3-dev is already the newest version (3.7.3-1).
python3-pip is already the newest version (18.1-5+rpt1).
The following packages were automatically installed and are no longer required:
chromium-common chromium-sandbox libimobiledevice6 libjsoncpp1 libminizip1
libplist3 libre2-5 libu2f-udev libupower-glib3 libusbmuxd4 libwebpdemux2
upower usbmuxd
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.
-- Installation of chromium
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
chromium-codecs-ffmpeg-extra
Use 'sudo apt autoremove' to remove it.
Suggested packages:
chromium-l10n chromium-shell chromium-driver
The following packages will be REMOVED:
chromium-browser chromium-browser-l10n chromium-chromedriver
The following NEW packages will be installed:
chromium
0 upgraded, 1 newly installed, 3 to remove and 102 not upgraded.
Need to get 51.2 MB of archives.
After this operation, 282 MB disk space will be freed.
Get:1 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf chromium armhf 90.0.4430.212-1~deb10u1 [51.2 MB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 51.2 MB in 2s (22.3 MB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75154 files and directories currently installed.)
Removing chromium-chromedriver (92.0.4515.98~buster-rpt2) ...
Removing chromium-browser-l10n (92.0.4515.98~buster-rpt2) ...
Removing chromium-browser (92.0.4515.98~buster-rpt2) ...
Selecting previously unselected package chromium.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75032 files and directories currently installed.)
Preparing to unpack .../chromium_90.0.4430.212-1~deb10u1_armhf.deb ...
Unpacking chromium (90.0.4430.212-1~deb10u1) ...
Setting up chromium (90.0.4430.212-1~deb10u1) ...
update-alternatives: using /usr/bin/chromium to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/chromium to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u2) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for mime-support (3.62) ...
-- Installed version of pip :
pip 23.1.2 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
-- Installation of python library 'selenium' with command pip3.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
[notice] A new release of pip is available: 23.1.2 -> 23.3.1
[notice] To update, run: python3 -m pip install --upgrade pip
cat: /tmp/jeedom/noip/dependancy_noip: No such file or directory
-- Installation of dependencies is done !
Même si j’ai l’impression que ce deuxième fichier de log n’a pas été édité lorsque j’ai réinstallé les dépendances après modif des deux fichiers *.php et *.sh.
Bonjour, jai aussi le souci (je suis sur raspbian 11).
En tant rapidement de lancer un « hello world » selenium sous python:
from selenium import webdriver
driver = webdriver.Chrome()
javais la meme erreur, mais avec un peu plus d infos:
> Python 3.9.2 (default, Mar 12 2021, 04:06:34)
> [GCC 10.2.1 20210110] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from selenium import webdriver
> >>>
> >>> driver = webdriver.Chrome()
> Traceback (most recent call last):
> File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/driver_finder.py", line 38, in get_path
> path = SeleniumManager().driver_location(options) if path is None else path
> File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/selenium_manager.py", line 81, in driver_location
> args = [str(self.get_binary()), "--browser", browser]
> File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/selenium_manager.py", line 60, in get_binary
> if not path.is_file() and os.environ["CONDA_PREFIX"]:
> File "/usr/lib/python3.9/os.py", line 679, in __getitem__
> raise KeyError(key) from None
> KeyError: 'CONDA_PREFIX'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__
super().__init__(
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/chromium/webdriver.py", line 51, in __init__
self.service.path = DriverFinder.get_path(self.service, options)
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/driver_finder.py", line 41, in get_path
raise NoSuchDriverException(msg) from err
selenium.common.exceptions.NoSuchDriverException: 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
merci pour les infos.
c’est vrai que vous êtes quand meme 4 à avoir le soucis en étant sous Raspbian … ya surement qlq chose à creuser la dessus oui.
en tout cas de mon côté avec une image vierge de debian 10, le plugin de base ne fonctionne plus, mais est OK avec les modifs que je propose.
@m.georgein t’es sous debian, tu peux faire les modifs stp ?
ca pourrait confirmer la piste émise juste avant …
merci !
J’ai récupéré le fichier de class du github, voila ce que cela me donne:
Le log des dépendances
0000|Launch install of noip dependencies
0001|-- Current OS version :
0002|Description: Debian GNU/Linux 10 (buster)
0003|-- Updating repo...
0004|Hit:1 http://security.debian.org/debian-security buster/updates InRelease
0005|Hit:2 http://deb.debian.org/debian buster InRelease
0006|Hit:3 https://download.docker.com/linux/debian buster InRelease
0007|Hit:4 https://deb.nodesource.com/node_18.x buster InRelease
0008|Reading package lists...
0009|-- Installation of python3 and dependencies
0010|Reading package lists...
0011|Building dependency tree...
0012|Reading state information...
0013|build-essential is already the newest version (12.6).
0014|python-dev is already the newest version (2.7.16-1).
0015|python3 is already the newest version (3.7.3-1).
0016|The following packages were automatically installed and are no longer required:
0017|ipset libipset11 python3-decorator python3-selinux python3-slip
0018|python3-slip-dbus
0019|Use 'sudo apt autoremove' to remove them.
0020|0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
0021|-- Installed version of Python :
0022|Python 3.7.3
0023|Your version of python is compatible with this plugin.
0024|-- Installation of pip for python3 and necessary libraries
0025|Reading package lists...
0026|Building dependency tree...
0027|Reading state information...
0028|python3-pip is already the newest version (18.1-5).
0029|python3-dev is already the newest version (3.7.3-1).
0030|python-requests is already the newest version (2.21.0-1+deb10u1).
0031|The following packages were automatically installed and are no longer required:
0032|ipset libipset11 python3-decorator python3-selinux python3-slip
0033|python3-slip-dbus
0034|Use 'sudo apt autoremove' to remove them.
0035|0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
0036|-- Installation of chromium
0037|Reading package lists...
0038|Building dependency tree...
0039|Reading state information...
0040|E: Unable to locate package chromium-chromedriver
0041|Reading package lists...
0042|Building dependency tree...
0043|Reading state information...
0044|chromium-driver is already the newest version (90.0.4430.212-1~deb10u1).
0045|The following packages were automatically installed and are no longer required:
0046|ipset libipset11 python3-decorator python3-selinux python3-slip
0047|python3-slip-dbus
0048|Use 'sudo apt autoremove' to remove them.
0049|0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
0050|Reading package lists...
0051|Building dependency tree...
0052|Reading state information...
0053|Package chromium-browser is not available, but is referred to by another package.
0054|This may mean that the package is missing, has been obsoleted, or
0055|is only available from another source
0056|E: Package 'chromium-browser' has no installation candidate
0057|-- Installed version of pip :
0058|pip 23.3 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
0059|-- Installation of python library 'selenium' with command pip3.7
0060|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
0061|WARNING There was an error checking the latest version of pip.
0062|cat: /tmp/jeedom/noip/dependancy_noip: No such file or directory
0063|-- Installation of dependencies is done !
Le log de noIp :
0000|[2023-10-30 17:45:03]DEBUG : Pas de mise à jour d'IP à réaliser
0001|[2023-10-30 17:46:44]DEBUG : Execution de la commande refresh
0002|[2023-10-30 17:46:44]INFO : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py --loglevel info --user georgein --pwd "************" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../..<<
0003|[2023-10-30 17:46:44]INFO : Log level : info
0004|[2023-10-30 17:46:44]INFO : User : georgein
0005|[2023-10-30 17:46:44]INFO : Threshold : 7
0006|[2023-10-30 17:46:44]INFO : Renew : 1
0007|[2023-10-30 17:46:58]DEBUG : Execution de la commande refresh
0008|[2023-10-30 17:46:58]INFO : Starting daemon with cmd >>sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py --loglevel info --user georgein --pwd "************" --threshold 7 --renew 1 --noip_path /var/www/html/plugins/noip/core/class/../..<<
0009|[2023-10-30 17:46:58]INFO : Log level : info
0010|[2023-10-30 17:46:58]INFO : User : georgein
0011|[2023-10-30 17:46:58]INFO : Threshold : 7
0012|[2023-10-30 17:46:58]INFO : Renew : 1
0013|[2023-10-30 17:46:58]WARNING : The chromedriver version (90.0.4430.212) detected in PATH at /usr/bin/chromedriver might not be compatible with the detected chrome version (118.0.5993.70); currently, chromedriver 118.0.5993.70 is recommended for chrome 118.*, so it is advised to delete the driver in PATH and retry
0014|[2023-10-30 17:46:59]WARNING : The chromedriver version (90.0.4430.212) detected in PATH at /usr/bin/chromedriver might not be compatible with the detected chrome version (118.0.5993.70); currently, chromedriver 118.0.5993.70 is recommended for chrome 118.*, so it is advised to delete the driver in PATH and retry
0015|[2023-10-30 17:46:59]ERROR : Exception has been thrown. Message: session not created: This version of ChromeDriver only supports Chrome version 90
0016|Current browser version is 118.0.5993.70 with binary path /root/.cache/selenium/chrome/linux64/118.0.5993.70/chrome
0017|Stacktrace:
0018|#0 0x5615c43677f9 <unknown>
0019|#1 0x5615c43073b3 <unknown>
0020|#2 0x5615c404f016 <unknown>
0021|#3 0x5615c4075e4a <unknown>
0022|#4 0x5615c407199a <unknown>
0023|#5 0x5615c406e89a <unknown>
0024|#6 0x5615c40ac00a <unknown>
0025|#7 0x5615c40a6c93 <unknown>
0026|#8 0x5615c4078ce4 <unknown>
0027|#9 0x5615c407a4d2 <unknown>
0028|#10 0x5615c4333542 <unknown>
0029|#11 0x5615c4342ce7 <unknown>
0030|#12 0x5615c43429e4 <unknown>
0031|#13 0x5615c434713a <unknown>
0032|#14 0x5615c43435b9 <unknown>
0033|#15 0x5615c4328e00 <unknown>
0034|#16 0x5615c435a5d2 <unknown>
0035|#17 0x5615c435a778 <unknown>
0036|#18 0x5615c4372a1f <unknown>
0037|#19 0x7fb5a12c0fa3 start_thread
0038|#20 0x7fb5a051606f clone
0039|[2023-10-30 17:46:59]DEBUG : [Maison][Compte NoIp georgein] file content:
0040|[2023-10-30 17:46:59]ERROR : [Maison][Compte NoIp georgein] file content empty
0041|[2023-10-30 17:46:59]DEBUG : Set a new refresh in 5min
0042|[2023-10-30 17:46:59]DEBUG : Task 'refreshInfoEq' scheduled at 2023-10-30 17:51:59
0043|[2023-10-30 17:47:00]ERROR : Exception has been thrown. Message: session not created: This version of ChromeDriver only supports Chrome version 90
0044|Current browser version is 118.0.5993.70 with binary path /root/.cache/selenium/chrome/linux64/118.0.5993.70/chrome
0045|Stacktrace:
0046|#0 0x557f96cb07f9 <unknown>
0047|#1 0x557f96c503b3 <unknown>
0048|#2 0x557f96998016 <unknown>
0049|#3 0x557f969bee4a <unknown>
0050|#4 0x557f969ba99a <unknown>
0051|#5 0x557f969b789a <unknown>
0052|#6 0x557f969f500a <unknown>
0053|#7 0x557f969efc93 <unknown>
0054|#8 0x557f969c1ce4 <unknown>
0055|#9 0x557f969c34d2 <unknown>
0056|#10 0x557f96c7c542 <unknown>
0057|#11 0x557f96c8bce7 <unknown>
0058|#12 0x557f96c8b9e4 <unknown>
0059|#13 0x557f96c9013a <unknown>
0060|#14 0x557f96c8c5b9 <unknown>
0061|#15 0x557f96c71e00 <unknown>
0062|#16 0x557f96ca35d2 <unknown>
0063|#17 0x557f96ca3778 <unknown>
0064|#18 0x557f96cbba1f <unknown>
0065|#19 0x7f1e99241fa3 start_thread
0066|#20 0x7f1e9849706f clone