Erreur "file content empty" : Unable to obtain driver for chrome using Selenium Manager

Bonjour @tomitomas ,

Durant les vacances, j’ai mis à jour la version de PI OS sur mon raspberry PI3B.
J’ai donc fait une installation de l’OS Lite en version 11 et installé Jeedom 4.3.21 avant d’importer ma dernière sauvegarde.

J’ai l’erreur file content empty qui remonte.
J’ai désinstallé le plugin et je l’ai réinstallé. La version actuelle est 2024-01-06 20:09:50 (Stable).

Voici le log de l’installation des dépendances :
`

Launch install of noip dependencies
-- Current OS version :
Description:	Raspbian GNU/Linux 11 (bullseye)
-- Updating repo...
Hit:1 https://deb.nodesource.com/node_18.x nodistro InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 http://archive.raspberrypi.org/debian bullseye 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).
python-dev-is-python2 is already the newest version (2.7.18-9).
python3 is already the newest version (3.9.2-3).
0 upgraded, 0 newly installed, 0 to remove and 0 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 (106.0.5249.119-1~deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-- Installed version of pip :
pip 23.3.2 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)
-- Installation of python library 'selenium' with command pip3.9
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
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
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: selenium in /usr/local/lib/python3.9/dist-packages (4.16.0)
Requirement already satisfied: urllib3<3,>=1.26 in /usr/local/lib/python3.9/dist-packages (from urllib3[socks]<3,>=1.26->selenium) (2.1.0)
Requirement already satisfied: trio~=0.17 in /usr/local/lib/python3.9/dist-packages (from selenium) (0.23.2)
Requirement already satisfied: trio-websocket~=0.9 in /usr/local/lib/python3.9/dist-packages (from selenium) (0.11.1)
Requirement already satisfied: certifi>=2021.10.8 in /usr/local/lib/python3.9/dist-packages (from selenium) (2023.11.17)
Requirement already satisfied: attrs>=20.1.0 in /usr/local/lib/python3.9/dist-packages (from trio~=0.17->selenium) (23.2.0)
Requirement already satisfied: sortedcontainers in /usr/local/lib/python3.9/dist-packages (from trio~=0.17->selenium) (2.4.0)
Requirement already satisfied: idna in /usr/local/lib/python3.9/dist-packages (from trio~=0.17->selenium) (3.6)
Requirement already satisfied: outcome in /usr/local/lib/python3.9/dist-packages (from trio~=0.17->selenium) (1.3.0.post0)
Requirement already satisfied: sniffio>=1.3.0 in /usr/local/lib/python3.9/dist-packages (from trio~=0.17->selenium) (1.3.0)
Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.9/dist-packages (from trio~=0.17->selenium) (1.2.0)
Requirement already satisfied: wsproto>=0.14 in /usr/local/lib/python3.9/dist-packages (from trio-websocket~=0.9->selenium) (1.2.0)
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)
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)
-- Installation of dependencies is done !`

et le log de l’erreur :

[2024-01-13 09:40:31]INFO : Log level : info
[2024-01-13 09:40:31]INFO : User : toto@hotmail.com
[2024-01-13 09:40:31]INFO : Threshold : 7
[2024-01-13 09:40:31]INFO : Renew : 0
[2024-01-13 09:40:31]INFO : ForcePath : 0
[2024-01-13 09:40: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
[2024-01-13 09:40:31]ERROR : [surveillance][NOIP] file content empty

Puisque la dernière fois, tu avais demandé ca pour avancer sur le debut :

sudo apt-cache show chromium-browser
Package: chromium-browser
Version: 120.0.6099.102-rpt1
Architecture: armhf
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Installed-Size: 356864
Pre-Depends: dpkg (>= 1.15.6)
Depends: libasound2 (>= 1.0.17), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>=                                                                                                              2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.6.0), libcup                                                                                                             s2 (>= 1.7.0), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.75), libexpat1 (>= 2.1~b                                                                                                             eta3), libgbm1 (>= 17.1.0~rc2), libgcc-s1 (>= 3.5), libglib2.0-0 (>= 2.39.4), li                                                                                                             bnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.31), libpango-1.0-0 (>= 1.14.0), libqt5cor                                                                                                             e5a (>= 5.3.0), libqt5gui5 (>= 5.10.0) | libqt5gui5-gles (>= 5.10.0), libqt5widg                                                                                                             ets5 (>= 5.0.2), libstdc++6 (>= 4.1.1), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.                                                                                                             9.2), libxcomposite1 (>= 1:0.4.5), libxdamage1 (>= 1:1.1), libxext6, libxfixes3,                                                                                                              libxkbcommon0 (>= 0.5.0), libxrandr2, bash (>= 4), libgtk-3-0, xdg-utils, chrom                                                                                                             ium-codecs-ffmpeg-extra (= 120.0.6099.102-rpt1) | chromium-codecs-ffmpeg (= 120.                                                                                                             0.6099.102-rpt1), libgl1-mesa-dri, libgles2, libegl1, libpulse0, zenity
Recommends: chromium-browser-l10n
Conflicts: chromium, chromium-browser-inspector
Replaces: chromium, chromium-browser-inspector
Provides: chromium, chromium-browser-inspector, www-browser
Multi-Arch: foreign
Homepage: https://chromium.googlesource.com/chromium/src/
Priority: optional
Section: web
Filename: pool/main/c/chromium-browser/chromium-browser_120.0.6099.102-rpt1_armh                                                                                                             f.deb
Size: 110013816
SHA256: f816dce221b0852236b074f2dc7b0381e9d59b90e8560543bcf63ec9dfb6d059
SHA1: b5db7bba471fdd67879f1c4d5d050da391a09990
MD5sum: 98212bee6ecbe85ce975907e7168b0ae
Description: Chromium web browser, open-source version of Chrome
 An open-source browser project that aims to build a safer, faster, and more
 stable way for all Internet users to experience the web.
Description-md5: 4a155380274636a47c53917539df83d7

Méthode de résolution appliquée :

sudo apt install chromium-driver

Puis cocher la case :
image

Ce qui a surtout résolu ton probleme c est la derniere version du plugin…

Puisque les manips que tu as realisees ne corrige pas l erreur mentionnée plus haut…

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