Bonjour,
Suite à mise à jour de mon RFXCOM XL (version 1048 XL1), j’ai cette ligne dans les logs.
J’ai réinstallé les dépendances, toujours cette ligne au démarrage du daemon.
Dois-je installer une librairie python ? et comment faire svp ? suis pas expert de la ligne de commande. Le daemon se lance bien. il ne me semble pas qu’il y ait de problème dans le fonctionnement. Mais je ne comprends pas cette ligne. Merci bcp d’avance.
0002|/usr/local/lib/python3.7/dist-packages/requests/__init__.py:114: RequestsDependencyWarning: urllib3 (2.0.4) or chardet (3.0.4)/charset_normalizer (3.0.1) doesn't match a supported version!
0003|RequestsDependencyWarning,
Et tout semble à jour côté packages :
python apt OK oui core 2.7.16-1
python-dev apt OK oui core 2.7.16-1
python-pip apt OK oui core 18.1-5+rpt1
python3 apt OK oui core rfxcom 3.7.3-1
python3-dev apt OK oui rfxcom 3.7.3-1
python3-pip apt OK oui core rfxcom 18.1-5+rpt1
python3-pyudev apt OK oui rfxcom 0.21.0-1
python3-requests apt OK oui rfxcom 2.21.0-1
python3-setuptools apt OK oui rfxcom 40.8.0-1
et voici le log d’install des dépendances :
0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_rfxcom
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh
0007|Launch pre-install of rfxcom dependancy
0008|WARNING: Skipping serial as it is not installed.
0009|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
0010|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0011|Reading package lists...
0012|Building dependency tree...
0013|Reading state information...
0014|Package 'python3-serial' is not installed, so not removed
0015|0 upgraded, 0 newly installed, 0 to remove and 295 not upgraded.
0016|+ echo 3
0017|++ awk '$1 <= 4'
0018|++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
0019|++ cut -f 2-
0020|+ RESULTTODELETE=
0021|++ echo ''
0022|++ sed 's, ,\ ,g'
0023|+ RESULTTODELETE2=
0024|+ echo ''
0025|+ xargs rm -rf
0026|+ echo 4
0027|+ sudo pip3 cache purge
0028|Files removed: 29
0029|+ echo 5
0030|+ sudo pip3 install --upgrade pip
0031|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0032|Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.2.1)
0033|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0034|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
0035|+ echo 6
0036|+ sudo pip3 install --force-reinstall --upgrade six
0037|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0038|Collecting six
0039|Downloading https://www.piwheels.org/simple/six/six-1.16.0-py2.py3-none-any.whl (11 kB)
0040|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0041|Installing collected packages: six
0042|Attempting uninstall: six
0043|Found existing installation: six 1.16.0
0044|Uninstalling six-1.16.0:
0045|Successfully uninstalled six-1.16.0
0046|Successfully installed six-1.16.0
0047|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
0048|+ echo 7
0049|+ sudo pip3 install --force-reinstall --upgrade requests
0050|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0051|Collecting requests
0052|Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB)
0053|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 79.8 kB/s eta 0:00:00
0054|Collecting charset-normalizer<4,>=2 (from requests)
0055|Downloading https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.2.0-py3-none-any.whl (46 kB)
0056|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.7/46.7 kB 730.3 kB/s eta 0:00:00
0057|Collecting idna<4,>=2.5 (from requests)
0058|Downloading https://www.piwheels.org/simple/idna/idna-3.4-py3-none-any.whl (61 kB)
0059|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 1.4 MB/s eta 0:00:00
0060|Collecting urllib3<3,>=1.21.1 (from requests)
0061|Downloading https://www.piwheels.org/simple/urllib3/urllib3-2.0.4-py3-none-any.whl (123 kB)
0062|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.9/123.9 kB 1.0 MB/s eta 0:00:00
0063|Collecting certifi>=2017.4.17 (from requests)
0064|Downloading https://www.piwheels.org/simple/certifi/certifi-2023.7.22-py3-none-any.whl (158 kB)
0065|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 2.3 MB/s eta 0:00:00
0066|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0067|Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
0068|Attempting uninstall: urllib3
0069|Found existing installation: urllib3 2.0.4
0070|Uninstalling urllib3-2.0.4:
0071|Successfully uninstalled urllib3-2.0.4
0072|Attempting uninstall: idna
0073|Found existing installation: idna 3.4
0074|Uninstalling idna-3.4:
0075|Successfully uninstalled idna-3.4
0076|Attempting uninstall: charset-normalizer
0077|WARNING: No metadata found in /usr/local/lib/python3.7/dist-packages
0078|Found existing installation: charset-normalizer 2.0.12
0079|ERROR: Cannot uninstall charset-normalizer 2.0.12, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps charset-normalizer==2.0.12'.
0080|+ echo 8
0081|+ sudo pip3 install --force-reinstall --upgrade setuptools
0082|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0083|Collecting setuptools
0084|Downloading https://www.piwheels.org/simple/setuptools/setuptools-68.0.0-py3-none-any.whl (804 kB)
0085|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.0/804.0 kB 1.1 MB/s eta 0:00:00
0086|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0087|Installing collected packages: setuptools
0088|Attempting uninstall: setuptools
0089|Found existing installation: setuptools 68.0.0
0090|Uninstalling setuptools-68.0.0:
0091|Successfully uninstalled setuptools-68.0.0
0092|Successfully installed setuptools-68.0.0
0093|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
0094|+ echo 9
0095|+ sudo pip3 install --force-reinstall --upgrade pyudev
0096|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0097|Collecting pyudev
0098|Downloading https://www.piwheels.org/simple/pyudev/pyudev-0.24.1-py3-none-any.whl (62 kB)
0099|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.9/62.9 kB 725.7 kB/s eta 0:00:00
0100|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0101|Installing collected packages: pyudev
0102|Attempting uninstall: pyudev
0103|Found existing installation: pyudev 0.24.1
0104|Uninstalling pyudev-0.24.1:
0105|Successfully uninstalled pyudev-0.24.1
0106|Successfully installed pyudev-0.24.1
0107|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
0108|+ echo 10
0109|+ sudo pip3 install --force-reinstall --upgrade pyserial
0110|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0111|Collecting pyserial
0112|Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
0113|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 1.5 MB/s eta 0:00:00
0114|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0115|Installing collected packages: pyserial
0116|Attempting uninstall: pyserial
0117|Found existing installation: pyserial 3.5
0118|Uninstalling pyserial-3.5:
0119|Successfully uninstalled pyserial-3.5
0120|Successfully installed pyserial-3.5
0121|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
0122|+ echo 11
0123|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end rfxcom
0124|+ rm /tmp/jeedom_install_in_progress_rfxcom
0125|+ echo '*******************End of package installation******************'
0126|*******************End of package installation******************