bonjour,
j’ai un petit souci pour installer gkeep, j’avais pas la bonne version de python alors j’ai fais une mise à jour.
Mais d’après les logs d’installations j’ai encore un souci
********************************
*Launch install of dependencies*
********************************
Fri Dec 15 18:37:45 CET 2023
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 http://phoscon.de/apt/deconz buster InRelease
Hit:5 https://download.docker.com/linux/debian buster InRelease
Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
*****************************
Install modules using apt-get
*****************************
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5).
python3-setuptools is already the newest version (40.8.0-1).
python3 is already the newest version (3.7.3-1).
python3-venv is already the newest version (3.7.3-1).
python3-requests is already the newest version (2.21.0-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 285 not upgraded.
*************************************
Creating python 3 virtual environment
*************************************
Done
*************************************
Install the required python libraries
*************************************
Requirement already satisfied: pip in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (23.3.1)
Requirement already satisfied: wheel in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (0.42.0)
Requirement already satisfied: urllib3<2 in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (1.26.18)
Requirement already satisfied: gkeepapi in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (0.15.1)
Requirement already satisfied: gpsoauth>=1.0.3 in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (from gkeepapi) (1.0.4)
Requirement already satisfied: future>=0.16.0 in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (from gkeepapi) (0.18.3)
Requirement already satisfied: pycryptodomex>=3.0 in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (from gpsoauth>=1.0.3->gkeepapi) (3.19.0)
Requirement already satisfied: requests>=2.0.0 in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (from gpsoauth>=1.0.3->gkeepapi) (2.31.0)
Requirement already satisfied: urllib3<2.0 in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (from gpsoauth>=1.0.3->gkeepapi) (1.26.18)
Requirement already satisfied: charset-normalizer<4,>=2 in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (from requests>=2.0.0->gpsoauth>=1.0.3->gkeepapi) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (from requests>=2.0.0->gpsoauth>=1.0.3->gkeepapi) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in /var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages (from requests>=2.0.0->gpsoauth>=1.0.3->gkeepapi) (2023.11.17)
*********************************
Get version of installed packages
*********************************
Python 3.11.3
Package Version
------------------ ----------
certifi 2023.11.17
charset-normalizer 3.3.2
future 0.18.3
gkeepapi 0.15.1
gpsoauth 1.0.4
idna 3.6
pip 23.3.1
pycryptodomex 3.19.0
requests 2.31.0
setuptools 65.5.0
urllib3 1.26.18
wheel 0.42.0
Fri Dec 15 18:38:05 CET 2023
***************
*Install ended*
***************
Je ne comprends pas ça:
python3-pip is already the newest version (18.1-5).
python3-setuptools is already the newest version (40.8.0-1).
python3 is already the newest version (3.7.3-1).
python3-venv is already the newest version (3.7.3-1).
python3-requests is already the newest version (2.21.0-1+deb10u1).
Alors que je suis en 3.11.3
Pour completer
[2023-12-15 18:46:22][DEBUG] : synchronize : début
[2023-12-15 18:46:22][DEBUG] : getNotes : début &
[2023-12-15 18:46:22][DEBUG] : login : début
[2023-12-15 18:46:22][DEBUG] : Commande envoyée : sudo /var/www/html/plugins/gkeep/core/class/../../resources/venv/bin/python3 /var/www/html/plugins/gkeep/core/class/../../resources/gkeepmanager.py --username monadressemail@gmail.com get_master_token --password "monmotdepass"
[2023-12-15 18:46:22][DEBUG] : Résultat brut Traceback (most recent call last): File "/var/www/html/plugins/gkeep/core/class/../../resources/gkeepmanager.py", line 902, in <module> main() File "/var/www/html/plugins/gkeep/core/class/../../resources/gkeepmanager.py", line 786, in main manager.get_master_token(args.username, args.password) File "/var/www/html/plugins/gkeep/core/class/../../resources/gkeepmanager.py", line 61, in get_master_token success = keep.login(self.username, password) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages/gkeepapi/__init__.py", line 703, in login auth.login(email, password, device_id) File "/var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages/gkeepapi/__init__.py", line 58, in login raise exception.LoginException(res.get("Error"), res.get("ErrorDetail")) gkeepapi.exception.LoginException: ('BadAuthentication', None)
[2023-12-15 18:46:22][DEBUG] : sendCmdAndFormatResult : Résultat brut Traceback (most recent call last): File "/var/www/html/plugins/gkeep/core/class/../../resources/gkeepmanager.py", line 902, in <module> main() File "/var/www/html/plugins/gkeep/core/class/../../resources/gkeepmanager.py", line 786, in main manager.get_master_token(args.username, args.password) File "/var/www/html/plugins/gkeep/core/class/../../resources/gkeepmanager.py", line 61, in get_master_token success = keep.login(self.username, password) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages/gkeepapi/__init__.py", line 703, in login auth.login(email, password, device_id) File "/var/www/html/plugins/gkeep/resources/venv/lib/python3.11/site-packages/gkeepapi/__init__.py", line 58, in login raise exception.LoginException(res.get("Error"), res.get("ErrorDetail")) gkeepapi.exception.LoginException: ('BadAuthentication', None)
[2023-12-15 18:46:22][INFO] : sendCmdAndFormatResult : Résultat array null
[2023-12-15 18:46:22][WARNING] : Erreur lors de l'exécution de la commande : --username monadressemail@gmail.com get_master_token --password "monmotdepass"
[2023-12-15 18:46:22][DEBUG] : Commande envoyée : sudo /var/www/html/plugins/gkeep/core/class/../../resources/venv/bin/python3 /var/www/html/plugins/gkeep/core/class/../../resources/gkeepmanager.py --username monadressemail@gmail@gmail.com --token "" get_notes
[2023-12-15 18:46:23][DEBUG] : Résultat brut
[2023-12-15 18:46:23][DEBUG] : sendCmdAndFormatResult : Résultat brut
[2023-12-15 18:46:23][INFO] : sendCmdAndFormatResult : Résultat array null
[2023-12-15 18:46:23][WARNING] : Erreur lors de l'exécution de la commande : --username monadressemail@gmail.com --token "" get_notes
[2023-12-15 18:46:23][DEBUG] : synchronize : fin
[2023-12-15 18:47:02][DEBUG] : update : début
[2023-12-15 18:47:02][DEBUG] : update : fin
Merci