Bonjour,
J’ai toujours un problème persistant avec le plugin Jeezigbee.
Il fonctionne très bien une fois lancé mais les mises à jour soit du plugin lui même soit de Zigbee2mqtt bloquent ma machine.
Pour Jeedom je suis à la dernière version 4.4.17
Pour le plugin Jeezigbee je suis en version d’aout 2024
Pour zigbee2mqtt je suis en version 1.39.1
Et impossible de mettre à jour.
Lorsque je lance la mise à jour du plugin, cela tourne en boucle indéfiniment avec cette erreur qui apparait de temps en temps :
core/ajax/log.ajax.php/ … failed to fetch Asynctrue.
Jeedom est installé sur une machine virtuelle debian 11 sous virtualbox,
La machine est à jour et quand je fais les vérifications dans configuration/OSDB tout est ok.
J’ai cherché des erreurs dans les logs
Il y en a une dans le Log 22md avec
zigbee2mqtt@1.39.1 start
node index.js
Starting Zigbee2MQTT without watchdog.
[2024-09-13 10:47:25] e[31merrore[39m: z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2024-09-13 10:47:25] e[31merrore[39m: z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-09-13 10:47:25] e[31merrore[39m: z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
Mais je n’ai aucune idée de ce que cela implique.
J’ai également 3 modules python qui ne veulent pas se mettre à jour
Lorsque je lance la mise à jour j’ai cette erreur.
+ echo '*******************Begin of package upgrade type pip3******************'
*******************Begin of package upgrade type pip3******************
+ sudo python3 -m pip install --force-reinstall --upgrade pycups
Collecting pycups
Using cached pycups-2.0.4.tar.gz (65 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: pycups
Building wheel for pycups (setup.py): started
Building wheel for pycups (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
In file included from cupsconnection.c:22:
cupsconnection.h:26:10: fatal error: cups/http.h: No such file or directory
26 | #include <cups/http.h>
| ^~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycups
Running setup.py clean for pycups
Failed to build pycups
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pycups)
+ sudo python3 -m pip install --force-reinstall --upgrade pysmbc
Collecting pysmbc
Using cached pysmbc-1.0.25.1.tar.gz (33 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Package smbclient was not found in the pkg-config search path.
Perhaps you should add the directory containing `smbclient.pc'
to the PKG_CONFIG_PATH environment variable
No package 'smbclient' found
Package smbclient was not found in the pkg-config search path.
Perhaps you should add the directory containing `smbclient.pc'
to the PKG_CONFIG_PATH environment variable
No package 'smbclient' found
Package smbclient was not found in the pkg-config search path.
Perhaps you should add the directory containing `smbclient.pc'
to the PKG_CONFIG_PATH environment variable
No package 'smbclient' found
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-x3blti6x/pysmbc_2573cc4a30f6424c982975267c497a15/setup.py", line 120, in <module>
define_macros=pkgconfig_Dversion("smbclient"),
File "/tmp/pip-install-x3blti6x/pysmbc_2573cc4a30f6424c982975267c497a15/setup.py", line 85, in pkgconfig_Dversion
ver = str(int(vers[0]))
ValueError: invalid literal for int() with base 10: ''
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
+ sudo python3 -m pip install --force-reinstall --upgrade xdg
Collecting xdg
Using cached xdg-6.0.0-py3-none-any.whl.metadata (1.3 kB)
Using cached xdg-6.0.0-py3-none-any.whl (3.9 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: xdg
Attempting uninstall: xdg
Found existing installation: xdg 5
error: uninstall-distutils-installed-package
× Cannot uninstall xdg 5
╰─> It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Du coup je ne sais pas si mon problème vient de ces modules python pas à jour.
Comment puis je chercher (et trouver) une solution ?
Merci pour votre aide.


