Impossible de récupérer les données Téléo Veolia eau ile de france

Bonjour à tous,
Suite à une réinstallation totale sur un pi4, je rencontre un problème avec le plugin Veolia-Eau.
En effet, je n’arrive plus à récupérer les données sur le site.
J’ai réinstallé une sauvegarde, relancer les dépendances et même réinstaller le plugin.

Vesion du plugin installé :
market / plugin : teleo beta
Version installé : 2023-05-06 01:11:37
DernièreVersion : 2023-05-06 01:11:37
Mise à jour faite : 2023-08-08 12:29:01
Configuration de l’équipement:

Log téléo_Update :

0000|********************************************************
0001|Installation des dépendances
0002|********************************************************
0003|********************************************************
0004|Update package lists from repositories
0005|********************************************************
0006|Hit:1 http://deb.debian.org/debian buster InRelease
0007|Hit:2 http://deb.debian.org/debian-security buster/updates InRelease
0008|Hit:3 http://deb.debian.org/debian buster-updates InRelease
0009|Hit:4 http://archive.raspberrypi.org/debian buster InRelease
0010|Hit:5 https://deb.nodesource.com/node_16.x buster InRelease
0011|Reading package lists...
0012|********************************************************
0013|Install Firefox
0014|********************************************************
0015|Reading package lists...
0016|Building dependency tree...
0017|Reading state information...
0018|firefox-esr is already the newest version (102.13.0esr-1~deb10u1).
0019|0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
0020|********************************************************
0021|Install xvfb
0022|********************************************************
0023|Reading package lists...
0024|Building dependency tree...
0025|Reading state information...
0026|xvfb is already the newest version (2:1.20.4-1+rpt4+deb10u9).
0027|0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
0028|********************************************************
0029|Install geckodriver
0030|********************************************************
0031|Machine Hardware name: aarch64
0032|--2023-08-08 12:32:23--  https://github.com/mozilla/geckodriver/releases/download/v0.32.0/geckodriver-v0.32.0-linux-aarch64.tar.gz
0033|Resolving github.com (github.com)... 140.82.121.4
0034|Connecting to github.com (github.com)|140.82.121.4|:443... connected.
0035|HTTP request sent, awaiting response... 302 Found
0036|Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/25354393/dd5ab593-1c3f-434c-84ca-0d62f6b5ad6c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230808%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230808T103022Z&X-Amz-Expires=300&X-Amz-Signature=012dcd1c897b42f442862733736d963c408817c7cf7e82435bc9ff93e43e8d81&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=25354393&response-content-disposition=attachment%3B%20filename%3Dgeckodriver-v0.32.0-linux-aarch64.tar.gz&response-content-type=application%2Foctet-stream [following]
0037|--2023-08-08 12:32:24--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/25354393/dd5ab593-1c3f-434c-84ca-0d62f6b5ad6c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230808%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230808T103022Z&X-Amz-Expires=300&X-Amz-Signature=012dcd1c897b42f442862733736d963c408817c7cf7e82435bc9ff93e43e8d81&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=25354393&response-content-disposition=attachment%3B%20filename%3Dgeckodriver-v0.32.0-linux-aarch64.tar.gz&response-content-type=application%2Foctet-stream
0038|Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
0039|Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
0040|HTTP request sent, awaiting response... 200 OK
0041|Length: 3018009 (2.9M) [application/octet-stream]
0042|Saving to: 'geckodriver-v0.32.0-linux-aarch64.tar.gz'
0043|0K .......... .......... .......... .......... ..........  1% 2.78M 1s
0044|50K .......... .......... .......... .......... ..........  3% 4.05M 1s
0045|100K .......... .......... .......... .......... ..........  5% 10.1M 1s
0046|150K .......... .......... .......... .......... ..........  6% 7.04M 1s
0047|200K .......... .......... .......... .......... ..........  8% 8.69M 1s
0048|250K .......... .......... .......... .......... .......... 10% 6.49M 0s
0049|300K .......... .......... .......... .......... .......... 11% 7.87M 0s
0050|350K .......... .......... .......... .......... .......... 13% 6.74M 0s
0051|400K .......... .......... .......... .......... .......... 15% 1.81M 1s
0052|450K .......... .......... .......... .......... .......... 16% 4.06M 1s
0053|500K .......... .......... .......... .......... .......... 18% 8.00M 0s
0054|550K .......... .......... .......... .......... .......... 20% 5.42M 0s
0055|600K .......... .......... .......... .......... .......... 22% 7.88M 0s
0056|650K .......... .......... .......... .......... .......... 23% 3.14M 0s
0057|700K .......... .......... .......... .......... .......... 25% 2.54M 0s
0058|750K .......... .......... .......... .......... .......... 27% 3.96M 0s
0059|800K .......... .......... .......... .......... .......... 28% 8.06M 0s
0060|850K .......... .......... .......... .......... .......... 30% 4.37M 0s
0061|900K .......... .......... .......... .......... .......... 32% 7.05M 0s
0062|950K .......... .......... .......... .......... .......... 33% 2.32M 0s
0063|1000K .......... .......... .......... .......... .......... 35% 6.49M 0s
0064|1050K .......... .......... .......... .......... .......... 37% 6.66M 0s
0065|1100K .......... .......... .......... .......... .......... 39% 4.44M 0s
0066|1150K .......... .......... .......... .......... .......... 40% 7.77M 0s
0067|1200K .......... .......... .......... .......... .......... 42% 5.37M 0s
0068|1250K .......... .......... .......... .......... .......... 44% 5.46M 0s
0069|1300K .......... .......... .......... .......... .......... 45% 8.12M 0s
0070|1350K .......... .......... .......... .......... .......... 47% 3.84M 0s
0071|1400K .......... .......... .......... .......... .......... 49% 4.82M 0s
0072|1450K .......... .......... .......... .......... .......... 50% 7.71M 0s
0073|1500K .......... .......... .......... .......... .......... 52% 4.54M 0s
0074|1550K .......... .......... .......... .......... .......... 54% 1.94M 0s
0075|1600K .......... .......... .......... .......... .......... 55% 5.35M 0s
0076|1650K .......... .......... .......... .......... .......... 57% 7.40M 0s
0077|1700K .......... .......... .......... .......... .......... 59% 5.95M 0s
0078|1750K .......... .......... .......... .......... .......... 61% 2.86M 0s
0079|1800K .......... .......... .......... .......... .......... 62% 7.36M 0s
0080|1850K .......... .......... .......... .......... .......... 64% 5.79M 0s
0081|1900K .......... .......... .......... .......... .......... 66% 7.76M 0s
0082|1950K .......... .......... .......... .......... .......... 67% 2.56M 0s
0083|2000K .......... .......... .......... .......... .......... 69% 7.96M 0s
0084|2050K .......... .......... .......... .......... .......... 71% 5.58M 0s
0085|2100K .......... .......... .......... .......... .......... 72% 7.24M 0s
0086|2150K .......... .......... .......... .......... .......... 74% 4.29M 0s
0087|2200K .......... .......... .......... .......... .......... 76% 5.05M 0s
0088|2250K .......... .......... .......... .......... .......... 78% 7.07M 0s
0089|2300K .......... .......... .......... .......... .......... 79% 5.81M 0s
0090|2350K .......... .......... .......... .......... .......... 81% 8.23M 0s
0091|2400K .......... .......... .......... .......... .......... 83% 8.00M 0s
0092|2450K .......... .......... .......... .......... .......... 84%  852K 0s
0093|2500K .......... .......... .......... .......... .......... 86% 22.0M 0s
0094|2550K .......... .......... .......... .......... .......... 88% 21.4M 0s
0095|2600K .......... .......... .......... .......... .......... 89% 21.6M 0s
0096|2650K .......... .......... .......... .......... .......... 91% 20.7M 0s
0097|2700K .......... .......... .......... .......... .......... 93% 21.5M 0s
0098|2750K .......... .......... .......... .......... .......... 95% 21.6M 0s
0099|2800K .......... .......... .......... .......... .......... 96% 21.5M 0s
0100|2850K .......... .......... .......... .......... .......... 98% 6.50M 0s
0101|2900K .......... .......... .......... .......... .......   100% 15.0M=0.6s
0102|2023-08-08 12:32:24 (4.97 MB/s) - 'geckodriver-v0.32.0-linux-aarch64.tar.gz' saved [3018009/3018009]
0103|geckodriver driver successfully installed
0104|********************************************************
0105|Install Python3 and dependencies
0106|********************************************************
0107|Reading package lists...
0108|Building dependency tree...
0109|Reading state information...
0110|python3 is already the newest version (3.7.3-1).
0111|python3-pip is already the newest version (18.1-5+rpt1).
0112|0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
0113|********************************************************
0114|Python3 'selenium' module
0115|********************************************************
0116|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0117|Requirement already satisfied: selenium in /usr/local/lib/python3.7/dist-packages (4.11.2)
0118|Requirement already satisfied: trio~=0.17 in /usr/local/lib/python3.7/dist-packages (from selenium) (0.22.2)
0119|Requirement already satisfied: certifi>=2021.10.8 in /usr/local/lib/python3.7/dist-packages (from selenium) (2023.7.22)
0120|Requirement already satisfied: urllib3[socks]<3,>=1.26 in /usr/local/lib/python3.7/dist-packages (from selenium) (2.0.4)
0121|Requirement already satisfied: trio-websocket~=0.9 in /usr/local/lib/python3.7/dist-packages (from selenium) (0.10.3)
0122|Requirement already satisfied: exceptiongroup>=1.0.0rc9; python_version < "3.11" in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (1.1.2)
0123|Requirement already satisfied: sortedcontainers in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (2.4.0)
0124|Requirement already satisfied: idna in /usr/lib/python3/dist-packages (from trio~=0.17->selenium) (2.6)
0125|Requirement already satisfied: sniffio in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (1.3.0)
0126|Requirement already satisfied: attrs>=20.1.0 in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (23.1.0)
0127|Requirement already satisfied: outcome in /usr/local/lib/python3.7/dist-packages (from trio~=0.17->selenium) (1.2.0)
0128|Requirement already satisfied: pysocks!=1.5.7,<2.0,>=1.5.6; extra == "socks" in /usr/local/lib/python3.7/dist-packages (from urllib3[socks]<3,>=1.26->selenium) (1.7.1)
0129|Requirement already satisfied: wsproto>=0.14 in /usr/local/lib/python3.7/dist-packages (from trio-websocket~=0.9->selenium) (1.2.0)
0130|Requirement already satisfied: importlib-metadata; python_version < "3.8" in /usr/local/lib/python3.7/dist-packages (from attrs>=20.1.0->trio~=0.17->selenium) (6.7.0)
0131|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)
0132|Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata; python_version < "3.8"->attrs>=20.1.0->trio~=0.17->selenium) (3.15.0)
0133|Requirement already satisfied: typing-extensions>=3.6.4; python_version < "3.8" in /usr/local/lib/python3.7/dist-packages (from importlib-metadata; python_version < "3.8"->attrs>=20.1.0->trio~=0.17->selenium) (4.7.1)
0134|********************************************************
0135|Python3 'pyvirtualdisplay' module
0136|********************************************************
0137|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0138|Requirement already satisfied: pyvirtualdisplay in /usr/local/lib/python3.7/dist-packages (3.0)
0139|********************************************************
0140|Python3 'urllib3' module
0141|********************************************************
0142|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0143|Requirement already satisfied: urllib3 in /usr/local/lib/python3.7/dist-packages (2.0.4)
0144|********************************************************
0145|Installation terminée
0146|********************************************************
0147|Résumé installation :
0148|1. Mozilla Firefox 102.13.0esr
0149|2. geckodriver :
0150|aarch64 geckodriver 0.32.0 (4563dd583110 2022-10-13 09:22 +0000)
0151|The source code of this program is available from
0152|testing/geckodriver in https://hg.mozilla.org/mozilla-central.
0153|This program is subject to the terms of the Mozilla Public License 2.0.
0154|You can obtain a copy of the license at https://mozilla.org/MPL/2.0/.
0155|3. Packages:
0156|firefox-esr					install
0157|python3-pip					install
0158|xvfb						install
0159|4. Python 3.7.3
0160|5. Python modules:
0161|PyVirtualDisplay    3.0
0162|selenium            4.11.2
0163|urllib3             2.0.4

Log Téléo:

0000|[2023-08-08 23:13:04]ERROR : [Ma Maison][Compteur Eau] Aucune donnée n'a pu être récupérée pour la journée du 2023-08-07

Log Téléo_Python:

0000|[2023-08-08 14:13:09,165]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0001|[2023-08-08 14:13:09,942]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0002|[2023-08-08 15:13:42,827]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0003|[2023-08-08 15:13:43,552]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0004|[2023-08-08 16:13:34,265]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0005|[2023-08-08 16:13:34,972]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0006|[2023-08-08 17:13:47,377]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0007|[2023-08-08 17:13:48,096]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0008|[2023-08-08 18:13:15,295]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0009|[2023-08-08 18:13:16,063]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0010|[2023-08-08 19:13:27,705]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0011|[2023-08-08 19:13:28,422]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0012|[2023-08-08 20:13:20,214]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0013|[2023-08-08 20:13:20,924]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0014|[2023-08-08 21:13:33,389]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0015|[2023-08-08 21:13:34,104]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0016|[2023-08-08 22:13:17,597]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0017|[2023-08-08 22:13:18,311]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0018|[2023-08-09 04:13:20,217]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0019|[2023-08-09 04:13:20,928]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0020|[2023-08-09 05:13:50,183]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0021|[2023-08-09 05:13:50,955]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0022|[2023-08-09 06:13:27,815]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0023|[2023-08-09 06:13:28,544]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0024|[2023-08-09 07:13:27,223]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0025|[2023-08-09 07:13:27,942]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0026|[2023-08-09 08:13:44,117]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0027|[2023-08-09 08:13:44,826]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0028|[2023-08-09 09:13:16,196]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0029|[2023-08-09 09:13:16,971]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0030|[2023-08-09 10:13:26,309]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0031|[2023-08-09 10:13:27,021]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0032|[2023-08-09 11:13:53,100]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0033|[2023-08-09 11:13:53,818]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0034|[2023-08-09 12:13:28,889]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'
0035|[2023-08-09 12:13:29,592]ERROR : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'

Quelqu’un pourrait-il me donner une piste ou une solution pour régler cette erreur concernant Firefox ?

En vous remerciant par avance,

cordialement,

Bonjour, je me permets de faire up sur mon problème toujours irrésolu.

Je suis passé en stable pour voir si cela changeait quelque chose mais l’erreur affiché dans le log reste toujours la même.
Les recherches que j’ai effectué sur internet aiguillerait apparement sur selenium mais je dois reconnaitre que je n’ai les pas les compétences requises pour résoudre le problème…

En vous remercaint par avance de l’aide que vous pourriez m’apporter,

Cordialement,

1 « J'aime »

Regarde ici : Pb récupération token

Bonjour,
J’avais vu ce post mais celui-ci apparemment concerne le site de Suez. Dépendant de Veolia eau île de France, je ne pense pas que mon problème soit le même.
N’étant pas a mon domicile pendant quelques jours, j’essaierai tout de même en rentrant par acquis de conscience.
Merci pour ta réponse,
Cordialement,

Bonjour

Idem, impossible depuis des mois de récupérer mes données depuis Veolia IDF, j’avais désactivé le plugin, mais suite aux messages du forum, ce we, j’ai désinstallé le package, mis à jour le noyau, puis les modules PIP2 et PIP3, puis réinstallé le plugins. Les dépendances se sont bien installées, je n’ai pas vu d’erreur d’installation dans les logs que j’ai mis en debug.

Log teleo_update :


          Installation terminée                     

Résumé installation :

  1. Mozilla Firefox 102.14.0esr
  2. geckodriver :
    aarch64 geckodriver 0.32.0 (4563dd583110 2022-10-13 09:22 +0000)

The source code of this program is available from
testing/geckodriver in mozilla-central: Summary.

This program is subject to the terms of the Mozilla Public License 2.0.
You can obtain a copy of the license at Mozilla Public License, version 2.0.
3. Packages:
firefox-esr install
python3-pip install
xvfb install
4. Python 3.7.3
5. Python modules:
PyVirtualDisplay 3.0
selenium 4.11.2
urllib3 2.0.4

Mais toujours rien à chaque lancement :
2023-08-23 23:05:04 teleo [En TEST][Eau] Aucune donnée n’a pu être récupérée pour la journée du 2023-08-22

Dans le log teleo j’ai :
[2023-08-24 09:05:46][INFO] : [En TEST][Eau] Récupération des données - 1ère étape
[2023-08-24 09:05:46][INFO] : [En TEST][Eau] 1ère étape d’authentification Veolia
[2023-08-24 09:05:46][DEBUG] : [En TEST][Eau] Commande : sudo /var/www/html/plugins/teleo/resources/get_veolia_data.sh IDF ‹ xxxxxxxxxx › « xxxxxxxxx » /tmp/teleo 100 xxxxxxxxx
[2023-08-24 09:05:47][WARNING] : [En TEST][Eau] Erreur de lancement du script : [ 0 ] consulter le log <teleo_python> pour plus d’info - Abandon
[2023-08-24 09:05:47][WARNING] : [En TEST][Eau] Erreur de récupération des données - Abandon

Dans le log teleo_python :
[2023-08-24 09:05:47,553][DEBUG] : [Script Python] command: [‹ Xvfb ›, ‹ -br ›, ‹ -nolisten ›, ‹ tcp ›, ‹ -screen ›, ‹ 0 ›, ‹ 800x600x24 ›, ‹ -displayfd ›, ‹ 5 ›]
[2023-08-24 09:05:47,701][DEBUG] : [Script Python] set $DISPLAY=:0
[2023-08-24 09:05:47,705][INFO] : [Script Python] Initialisation browser
[2023-08-24 09:05:47,706][ERROR] : [Script Python] init() got an unexpected keyword argument ‹ firefox_profile ›
[2023-08-24 09:05:47,706][DEBUG] : [Script Python] Taking screenshot : Exception
[2023-08-24 09:05:47,706][DEBUG] : [Script Python] Fermeture connexion
[2023-08-24 09:05:47,706][INFO] : [Script Python] Fermeture display. Exit code 0
[2023-08-24 09:05:47,706][DEBUG] : [Script Python] unset $DISPLAY
[2023-08-24 09:05:47,714][DEBUG] : [Script Python] stdout=b’’
[2023-08-24 09:05:47,714][DEBUG] : [Script Python] stderr=b’’

Une idée ?

A l’occasion, il n’y a pas d’urgence

Cordialement

Désolé pas vu ces messages, le tag n’est pas le bon

On va suivre le pb ici plutôt : [ERROR] : [Script Python] __init__() got an unexpected keyword argument 'firefox_profile'