Bonjour à tous,
Tout d’abord, merci pour ce plugin très utile !
Je l’ai installé et configuré il y a 1 ou 2 semaines, et je n’avais pas vu d’erreur particulière.
Ces derniers jours j’ai également une notification « file content empty » dans le centre de messages…
J’ai passé les logs en DEBUG.
J’ai réinstallé les dépendances, tout semble OK :
Launch install of noip dependencies
-- Current OS version :
Description: Debian GNU/Linux 10 (buster)
-- Updating repo...
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Hit:5 https://deb.nodesource.com/node_14.x buster InRelease
Fetched 164 kB in 5s (31.3 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 4 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 4 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 (89.0.4389.114-1~deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 4 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 !
Dans la page du plugin, le scan ne semble plus fonctionner : spinner infini (je ne sais pas si cela peut avoir un lien avec l’erreur ci-dessous)
Log correspondant au scan :
[2021-07-12 11:49:20][INFO] : syncNoIp
[2021-07-12 11:49:20][INFO] : Lancement script No-Ip : sudo python3 /var/www/html/plugins/noip/core/class/../../resources/noip-renew.py yoannc "#####" 7 0 /var/www/html/plugins/noip/core/class/../.. 2
→ aucune erreur n’est remontée…
Et enfin le log du cron :
Traceback (most recent call last):
File "/var/www/html/plugins/noip/core/class/../../resources/noip-renew.py", line 241, in <module>
sys.exit(main())
File "/var/www/html/plugins/noip/core/class/../../resources/noip-renew.py", line 219, in main
return (Robot(noip_username, noip_password, noip_threshold, noip_renew, noip_rootpath, debug)).run()
File "/var/www/html/plugins/noip/core/class/../../resources/noip-renew.py", line 51, in __init__
self.browser = self.init_browser()
File "/var/www/html/plugins/noip/core/class/../../resources/noip-renew.py", line 66, in init_browser
browser = webdriver.Chrome(options=options)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__
desired_capabilities=desired_capabilities)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created
from timeout: Timed out receiving message from renderer: 600.000
(Session info: headless chrome=89.0.4389.114)
[2021-07-12 11:59:22][DEBUG] : [Maison][No-Ip] file content:
[2021-07-12 11:59:22][ERROR] : [Maison][No-Ip] file content empty
Est-ce que vous rencontrez également cette (nouvelle) erreur ?
A votre dispo si vous avez besoin d’infos / tests complémentaires.