Problème suite mise à jour / dépendances ko

Bonjour

J’ai réalisé la mise à jour ce jour sur mon jeedom version 4.2.21 et PI4 : Version OS debian 10.13
J’ai regardé avant de réaliser le changelog mais rien était indiqué du coup je suppose une mise à jour mineur du plugin…
Depuis les dépendances ne se lancent plus et impossible de les réinstaller, cela se bloque à installation en cours 4 % et KO :

J’ai pu relancer le daemon du plugin manuellement.

J’ai peu de logs même en mode debug et aucune log dans le Logs des dépendances (aucun soucis avec un autre plugin pour info et j’ai déjà tenté une restauration de la sauvegarde jeedom) :

Log XiaomiHome :

`2022-09-24 19:35:14.821]INFO : Cycle : 0.05
[2022-09-24 19:35:14.821]DEBUG : Writing PID 17086 to /tmp/jeedom/xiaomihome/deamon.pid
[2022-09-24 19:35:14.822]DEBUG : Init request module v2.26.0
[2022-09-24 19:35:14.831]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-09-24 19:35:14]DEBUG : Format Invalide
[2022-09-24 19:35:14.855]DEBUG : http://127.0.0.1:80 "GET /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=xxxxxxxxccc HTTP/1.1" 200 0
[2022-09-24 19:35:14.857]DEBUG : Socket interface started
[2022-09-24 19:35:14.858]DEBUG : LoopNetServer Thread started
[2022-09-24 19:35:14.858]INFO : Start listening...
[2022-09-24 19:35:14.859]DEBUG : Listening on: [127.0.0.1:55019]
[2022-09-24 19:35:14.860]DEBUG : Read Socket Thread Launched
[2022-09-24 19:35:14.861]DEBUG : Aquara Thread Launched
[2022-09-24 19:36:43.985]DEBUG : Client connected to [127.0.0.1:54712]
[2022-09-24 19:36:43.986]DEBUG : Message read from socket: b'{"apikey":"xxxxxxxxccc","type":"yeelight","cmd":"send","dest":"192.168.0.169","model":"color","sid":"0x00000000035c1458","short_id":"76","command":"temperature 6500","option":"","id":"192.168.0.169","sup":""}'
[2022-09-24 19:36:43.986]DEBUG : Client disconnected from [127.0.0.1:54712]
[2022-09-24 19:36:44.077]DEBUG : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2022-09-24 19:36:44.077]DEBUG : SOCKET-READ------Received command from jeedom : send
[2022-09-24 19:36:44.078]DEBUG : SOCKET-READ------Executing action on : color
[2022-09-24 19:36:44.078]DEBUG : {'apikey': 'xxxxxxxxccc', 'type': 'yeelight', 'cmd': 'send', 'dest': '192.168.0.169', 'model': 'color', 'sid': '0x00000000035c1458', 'short_id': '76', 'command': 'temperature 6500', 'option': '', 'id': '192.168.0.169', 'sup': ''}
[2022-09-24 19:36:44.078]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> > {'id': 0, 'method': 'get_prop', 'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'music_on', 'name', 'bg_power', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
[2022-09-24 19:36:44.088]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> < {'id': 0, 'result': ['off', '95', '6500', '2717685', '217', '83', '1', '0', '0', '0', '', '', '', '', '', '', '', '', '', '']}
[2022-09-24 19:36:44.088]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Color> > {'id': 1, 'method': 'set_power', 'params': ['on', 'smooth', 500]}
[2022-09-24 19:36:44.094]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Color> < {'id': 1, 'result': ['ok']}
[2022-09-24 19:36:44.094]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Color> > {'id': 2, 'method': 'set_ct_abx', 'params': [6500, 'smooth', 500]}
[2022-09-24 19:36:44.099]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Color> < {'id': 2, 'result': ['ok']}
[2022-09-24 19:36:45.263]DEBUG : Client connected to [127.0.0.1:54718]
[2022-09-24 19:36:45.264]DEBUG : Message read from socket: b'{"apikey":"xxxxxxxxccc","type":"yeelight","cmd":"send","dest":"192.168.0.169","model":"color","sid":"0x00000000035c1458","short_id":"76","command":"temperature 6500","option":"","id":"192.168.0.169","sup":""}'
[2022-09-24 19:36:45.264]DEBUG : Client disconnected from [127.0.0.1:54718]
[2022-09-24 19:36:45.302]DEBUG : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2022-09-24 19:36:45.303]DEBUG : SOCKET-READ------Received command from jeedom : send
[2022-09-24 19:36:45.303]DEBUG : SOCKET-READ------Executing action on : color
[2022-09-24 19:36:45.303]DEBUG : {'apikey': 'xxxxxxxxccc', 'type': 'yeelight', 'cmd': 'send', 'dest': '192.168.0.169', 'model': 'color', 'sid': '0x00000000035c1458', 'short_id': '76', 'command': 'temperature 6500', 'option': '', 'id': '192.168.0.169', 'sup': ''}
[2022-09-24 19:36:45.303]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> > {'id': 0, 'method': 'get_prop', 'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'music_on', 'name', 'bg_power', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
[2022-09-24 19:36:45.311]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> < {'id': 0, 'result': ['on', '95', '6500', '2717685', '217', '83', '2', '0', '0', '0', '', '', '', '', '', '', '', '', '', '']}
[2022-09-24 19:36:45.311]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Color> > {'id': 1, 'method': 'set_ct_abx', 'params': [6500, 'smooth', 500]}
[2022-09-24 19:36:45.321]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Color> < {'id': 1, 'result': ['ok']}
[2022-09-24 19:36:46.100]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> > {'id': 0, 'method': 'get_prop', 'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'music_on', 'name', 'bg_power', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
[2022-09-24 19:36:46.110]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> < {'id': 0, 'result': ['on', '95', '6500', '2717685', '217', '83', '2', '0', '0', '0', '', '', '', '', '', '', '', '', '', '']}
[2022-09-24 19:36:46.120]DEBUG : Send to jeedom : {'devices': {'yeelight_192.168.0.169': {'ip': '192.168.0.169', 'capabilities': {'id': '192.168.0.169', 'power': 'on', 'bright': '95', 'ct': '6500', 'rgb': '2717685', 'hue': '217', 'sat': '83', 'color_mode': '2', 'flowing': '0', 'delayoff': '0', 'music_on': '0', 'name': None, 'bg_power': None, 'bg_flowing': None, 'bg_ct': None, 'bg_bright': None, 'bg_hue': None, 'bg_sat': None, 'bg_rgb': None, 'nl_br': None, 'active_mode': None, 'current_brightness': '95'}}}}
[2022-09-24 19:36:46.126]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-09-24 19:36:46.434]DEBUG : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=xxxxxxxxccc HTTP/1.1" 200 0
[2022-09-24 19:36:47.322]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> > {'id': 0, 'method': 'get_prop', 'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'music_on', 'name', 'bg_power', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
[2022-09-24 19:36:47.328]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> < {'id': 0, 'result': ['on', '95', '6500', '2717685', '217', '83', '2', '0', '0', '0', '', '', '', '', '', '', '', '', '', '']}
[2022-09-24 19:36:47.352]DEBUG : Send to jeedom : {'devices': {'yeelight_192.168.0.169': {'ip': '192.168.0.169', 'capabilities': {'id': '192.168.0.169', 'power': 'on', 'bright': '95', 'ct': '6500', 'rgb': '2717685', 'hue': '217', 'sat': '83', 'color_mode': '2', 'flowing': '0', 'delayoff': '0', 'music_on': '0', 'name': None, 'bg_power': None, 'bg_flowing': None, 'bg_ct': None, 'bg_bright': None, 'bg_hue': None, 'bg_sat': None, 'bg_rgb': None, 'nl_br': None, 'active_mode': None, 'current_brightness': '95'}}}}
[2022-09-24 19:36:47.356]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-09-24 19:36:47.380]DEBUG : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=xxxxxxxxccc HTTP/1.1" 200 0
[2022-09-24 19:36:49.101]DEBUG : Client connected to [127.0.0.1:54742]
[2022-09-24 19:36:49.101]DEBUG : Message read from socket: b'{"apikey":"xxxxxxxxccc","type":"yeelight","cmd":"send","dest":"192.168.0.169","model":"color","sid":"0x00000000035c1458","short_id":"76","command":"turn off","option":"","id":"192.168.0.169","sup":""}'
[2022-09-24 19:36:49.102]DEBUG : Client disconnected from [127.0.0.1:54742]
[2022-09-24 19:36:49.226]DEBUG : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2022-09-24 19:36:49.227]DEBUG : SOCKET-READ------Received command from jeedom : send
[2022-09-24 19:36:49.227]DEBUG : SOCKET-READ------Executing action on : color
[2022-09-24 19:36:49.227]DEBUG : {'apikey': 'xxxxxxxxccc', 'type': 'yeelight', 'cmd': 'send', 'dest': '192.168.0.169', 'model': 'color', 'sid': '0x00000000035c1458', 'short_id': '76', 'command': 'turn off', 'option': '', 'id': '192.168.0.169', 'sup': ''}
[2022-09-24 19:36:49.228]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> > {'id': 0, 'method': 'set_power', 'params': ['off', 'smooth', 500]}
[2022-09-24 19:36:49.237]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> < {'id': 0, 'result': ['ok']}
[2022-09-24 19:36:51.238]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> > {'id': 0, 'method': 'get_prop', 'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'music_on', 'name', 'bg_power', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
[2022-09-24 19:36:51.255]DEBUG : Bulb<192.168.0.169:55443, type=BulbType.Unknown> < {'id': 0, 'result': ['off', '95', '6500', '2717685', '217', '83', '2', '0', '0', '0', '', '', '', '', '', '', '', '', '', '']}
[2022-09-24 19:36:51.272]DEBUG : Send to jeedom : {'devices': {'yeelight_192.168.0.169': {'ip': '192.168.0.169', 'capabilities': {'id': '192.168.0.169', 'power': 'off', 'bright': '95', 'ct': '6500', 'rgb': '2717685', 'hue': '217', 'sat': '83', 'color_mode': '2', 'flowing': '0', 'delayoff': '0', 'music_on': '0', 'name': None, 'bg_power': None, 'bg_flowing': None, 'bg_ct': None, 'bg_bright': None, 'bg_hue': None, 'bg_sat': None, 'bg_rgb': None, 'nl_br': None, 'active_mode': None, 'current_brightness': '95'}}}}
[2022-09-24 19:36:51.276]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-09-24 19:36:51.365]DEBUG : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=xxxxxxxxccc HTTP/1.1" 200 0
[2022-09-24 19:39:34.000]DEBUG : Signal 15 caught, exiting...
[2022-09-24 19:39:34.001]DEBUG : Shutdown
[2022-09-24 19:39:34.001]DEBUG : Removing PID file /tmp/jeedom/xiaomihome/deamon.pid
[2022-09-24 19:40:12]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-09-24 19:40:13]INFO : Lancement démon xiaomihome : /usr/bin/python3 /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py --loglevel debug --socketport 55019 --callback http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php --apikey xxxxxxxxccc --cycle 0.05 --pid /tmp/jeedom/xiaomihome/deamon.pid
[2022-09-24 19:40:15.635]INFO : Start xiaomihomed
[2022-09-24 19:40:15.635]INFO : Log level : debug
[2022-09-24 19:40:15.635]INFO : Socket port : 55019
[2022-09-24 19:40:15.635]INFO : Socket host : 127.0.0.1
[2022-09-24 19:40:15.641]INFO : PID file : /tmp/jeedom/xiaomihome/deamon.pid
[2022-09-24 19:40:15.641]INFO : Apikey : xxxxxxxxccc
[2022-09-24 19:40:15.641]INFO : Callback : http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php
[2022-09-24 19:40:15.642]INFO : Cycle : 0.05
[2022-09-24 19:40:15.642]DEBUG : Writing PID 31432 to /tmp/jeedom/xiaomihome/deamon.pid
[2022-09-24 19:40:15.649]DEBUG : Init request module v2.26.0
[2022-09-24 19:40:15.659]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-09-24 19:40:15]DEBUG : Format Invalide
[2022-09-24 19:40:15.684]DEBUG : http://127.0.0.1:80 "GET /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=xxxxxxxxccc HTTP/1.1" 200 0
[2022-09-24 19:40:15.687]DEBUG : Socket interface started
[2022-09-24 19:40:15.708]DEBUG : LoopNetServer Thread started
[2022-09-24 19:40:15.709]INFO : Start listening...
[2022-09-24 19:40:15.710]DEBUG : Listening on: [127.0.0.1:55019]
[2022-09-24 19:40:15.724]DEBUG : Read Socket Thread Launched
[2022-09-24 19:40:15.734]DEBUG : Aquara Thread Launched
`

Log Xiaomi Home Packages (mais j’ai pas la date je suppose que c’est lié à la dernière installation) :

`
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_xiaomihome
+ echo 1
+ echo 2
++ cut -f 2-
++ awk '$1 <= 4'
++ find /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ xargs rm -rf
+ echo ''
+ echo 3
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (22.2.2)
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
+ echo 4
+ sudo pip3 install --force-reinstall --upgrade python-miio
Collecting python-miio
Using cached python_miio-0.5.12-py3-none-any.whl (330 kB)
Collecting appdirs<2,>=1
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting cryptography>=35
Using cached cryptography-38.0.1.tar.gz (599 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
=============================DEBUG ASSISTANCE==========================
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in 
main()
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
return hook(config_settings)
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 178, in get_requires_for_build_wheel
config_settings, requirements=['wheel'])
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 159, in _get_build_requires
self.run_setup()
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 174, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 17, in 
from setuptools_rust import RustExtension
File "/tmp/pip-build-env-go4e5svg/overlay/lib/python3.7/site-packages/setuptools_rust/__init__.py", line 1, in 
from .build import build_rust
File "/tmp/pip-build-env-go4e5svg/overlay/lib/python3.7/site-packages/setuptools_rust/build.py", line 23, in 
from setuptools.command.build import build as CommandBuild  # type: ignore[import]
ModuleNotFoundError: No module named 'setuptools.command.build'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
+ echo 5
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end xiaomihome
+ rm /tmp/jeedom_install_in_progress_xiaomihome
+ echo '*******************End of package installation******************'
*******************End of package installation******************
`

Commande pip list :

`
Package           Version
----------------- -----------
arandr            0.1.9
asn1crypto        0.24.0
automationhat     0.2.0
blinker           1.4
blinkt            0.1.2
buttonshim        0.0.2
Cap1xxx           0.1.3
certifi           2019.11.28
chardet           3.0.4
Click             7.0
colorama          0.3.7
configparser      3.5.0b2
construct         2.9.45
cookies           2.2.1
cryptography      2.6.1
drumhat           0.1.0
duplicity         0.7.19
entrypoints       0.3
enum-compat       0.0.3
enum34            1.1.6
envirophat        1.0.0
ExplorerHAT       0.4.2
fasteners         0.15
Flask             1.0.2
fourletterphat    0.1.0
funcsigs          1.0.2
future            0.18.2
gpg               1.12.0
gpiozero          1.6.2
idna              2.8
ipaddress         1.0.17
itsdangerous      0.24
Jinja2            2.10
keyring           17.1.1
keyrings.alt      3.1.1
MarkupSafe        1.1.0
mcpi              0.1.1
microdotphat      0.2.1
mock              2.0.0
monotonic         1.5
mote              0.0.4
motephat          0.0.3
numpy             1.16.2
oauthlib          2.1.0
olefile           0.46
pantilthat        0.0.7
pbr               4.2.0
phatbeat          0.1.1
pianohat          0.1.0
picamera          1.13
picraft           1.0
piglow            1.2.5
pigpio            1.78
Pillow            5.4.1
pip               20.3.4
psutil            5.5.1
pycairo           1.16.2
pycrypto          2.6.1
pyflakes          2.0.0
pygame            1.9.4.post1
PyGObject         3.30.4
pyinotify         0.9.6
PyJWT             1.7.0
pyOpenSSL         19.0.0
pyserial          3.4
pyudev            0.21.0
pyxdg             0.25
rainbowhat        0.1.0
requests          2.22.0
requests-oauthlib 1.0.0
responses         0.9.0
RPi.GPIO          0.7.0
RTIMULib          7.2.1
scrollphat        0.0.7
scrollphathd      1.2.1
SecretStorage     2.3.1
sense-emu         1.1
sense-hat         2.2.0
setuptools        40.8.0
simplejson        3.16.0
six               1.13.0
skywriter         0.0.7
sn3218            1.2.7
speedtest-cli     2.1.3
spidev            3.5
touchphat         0.0.1
twython           3.7.0
unicornhathd      0.0.4
urllib3           1.25.7
virtualenv        15.1.0
Werkzeug          0.14.1
wheel             0.33.6
`

Je suis le seul à avoir le problème avec la mise à jour du plugin ?

Bonjour,

J’ai un problème d’installation des dépendances, je comprends que cela doit tourner autour de la mise à jour de cryptography

J’ai tenté plein de choses sans succès

https://community.jeedom.com/t/no-module-named-cryptography/81459/6
Et
https://forum.jeedom.com/viewtopic.php?t=35094&start=20

sudo pip3 install cryptography==2.6.1
Ou
sudo pip3 install cryptography==3.4.8

pip -V
pip 20.3.4

pip3 -V
pip 22.2.2

Merci de vos idées

 running build_py
      creating build
      creating build/lib.linux-armv7l-cpython-37
      creating build/lib.linux-armv7l-cpython-37/cryptography
      copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography
      copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-37/cryptography
      copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-37/cryptography
      copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-37/cryptography
      copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography
      creating build/lib.linux-armv7l-cpython-37/cryptography/x509
      copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
      copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
      copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
      copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
      copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
      copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
      copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
      copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat
      copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat
      copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends
      copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings
      copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl
      running egg_info
      writing src/cryptography.egg-info/PKG-INFO
      writing dependency_links to src/cryptography.egg-info/dependency_links.txt
      writing requirements to src/cryptography.egg-info/requires.txt
      writing top-level names to src/cryptography.egg-info/top_level.txt
      reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      no previously-included directories found matching 'docs/_build'
      warning: no previously-included files found matching 'vectors'
      warning: no previously-included files matching '*' found under directory 'vectors'
      warning: no previously-included files matching '*' found under directory '.github'
      warning: no previously-included files found matching 'release.py'
      warning: no previously-included files found matching '.readthedocs.yml'
      warning: no previously-included files found matching 'dev-requirements.txt'
      warning: no previously-included files found matching 'tox.ini'
      warning: no previously-included files found matching 'mypy.ini'
      warning: no previously-included files matching '*' found under directory '.circleci'
      adding license file 'LICENSE'
      adding license file 'LICENSE.APACHE'
      adding license file 'LICENSE.BSD'
      adding license file 'LICENSE.PSF'
      writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
      copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-37/cryptography
      copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings
      creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
      running build_ext
      running build_rust
      /usr/local/lib/python3.7/dist-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      
          =============================DEBUG ASSISTANCE=============================
          If you are seeing a compilation error please try the following steps to
          successfully install cryptography:
          1) Upgrade to the latest pip and try again. This will fix errors for most
             users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
          2) Read https://cryptography.io/en/latest/installation/ for specific
             instructions for your platform.
          3) Check our frequently asked questions for more information:
             https://cryptography.io/en/latest/faq/
          4) Ensure you have a recent Rust toolchain installed:
             https://cryptography.io/en/latest/installation/#rust
      
          Python: 3.7.3
          platform: Linux-5.15.65-v7l+-armv7l-with-debian-10.13
          pip: 22.2.2
          setuptools: 62.6.0
          setuptools_rust: 1.5.2
          rustc: n/a
          =============================DEBUG ASSISTANCE=============================
      
      error: can't find Rust compiler
      
      If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
      
      To update pip, run:
      
          pip install --upgrade pip
      
      and then retry package installation.
      
      If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
      
      This package requires Rust >=1.48.0.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
+ echo 16
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end xiaomihome
+ rm /tmp/jeedom_install_in_progress_xiaomihome
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Bonjour,

Je me sens moins seul :slight_smile:
Tu as pu avoir ou les logs ? Etrange je n’ai aucune logs dans le xiaomihome_Dep en mode debug…

Tu as sauvegarder et relancer les dépendances après avoir sélectionné debug ?

1 « J'aime »

Oui tout à fait, et de toute façon l’installation se lance toutes 5 minutes depuis hier soir… et échoue à 4 %
Cela log bien en mode Debug dans le fichier xiaomihome mais dependances :frowning: donc si d’autres on le problème similaire avec des informations pour dépanner c’est rassurant
Après j’ai les logs du fichier xiaomihome_packages (plus haut dans le sujet)
Les logs :

Je vais regarder d’après les logs de @SWR ma version est : cryptography 2.6.1 après si le Dev a une idée car je n’avais pas de soucis avant la Maj d’hier soir.
je précise mon buster est à jour je passe tous les jours via cron les commandes
Apt update
Apt upgrade
Des informations complémentaires sur mon debian :
image

Bonjour,

Sur mon RPi4B / Debian 10 et toutes les versions à jour, je viens de faire la mise à jour du plugin Xiaomihome et tout s’est bien passé.
Les dépendances se sont lancées automatiquement puis statut OK

C’est pour info.

1 « J'aime »

Bizarre, peut on bloquer la relance automatique d’installation des dependances car KO car toutes les 5 minutes cela me génère un grand nombre d’erreur en notification ?

Oui il faut cliquer sur le bouton désactivé sous gestion automatique dans l’encart deamon de la page config du plug-in.

Ok merci je viens d’apprendre un truc tout simple en plus :slight_smile:
Bon j’espère qu’une personne aura une idée car ce plugin me sert pas mal

=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
=============================DEBUG ASSISTANCE==========================
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in 
main()
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
return hook(config_settings)
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 178, in get_requires_for_build_wheel
config_settings, requirements=['wheel'])
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 159, in _get_build_requires
self.run_setup()
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 174, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 17, in 
from setuptools_rust import RustExtension
File "/tmp/pip-build-env-peqptr4u/overlay/lib/python3.7/site-packages/setuptools_rust/__init__.py", line 1, in 
from .build import build_rust
File "/tmp/pip-build-env-peqptr4u/overlay/lib/python3.7/site-packages/setuptools_rust/build.py", line 23, in 
from setuptools.command.build import build as CommandBuild  # type: ignore[import]
ModuleNotFoundError: No module named 'setuptools.command.build'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
+ echo 5
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end xiaomihome
+ rm /tmp/jeedom_install_in_progress_xiaomihome
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Je vois cette erreur mais j’ai bien setupTools pourtant avec la commande pip list:
setuptools 40.8.0

from setuptools.command.build import build as CommandBuild  # type: ignore[import]
ModuleNotFoundError: No module named 'setuptools.command.build'
[end of output]
1 « J'aime »

Cela semble tourner autour « cryptography » qui ne trouve pas " rust compiler "

Oui en effet dans mes logs cela en parle aussi

J’ai trouvé ça sur le forum : Error: Rust 1.41.1 does not match extension requirement >=1.48.0 - #65 par julior

Oui j’ai tenté
curl --proto ‹ =https › --tlsv1.3 https://sh.rustup.rs -sSf | sh

C’est dans la doc pour installer rust
Mais rien de bon

Après je trouve sur le net de relancer un upgrade de pip3 :
pip3 install --upgrade pip
ou
pip3 install --upgrade setuptools pip

J’ai épuisé toutes mes possibilités, rien trouvé sur le net qui fonctionne

Et supprimer pip et/ou pip3 et réinstaller j’ai lu sur le forum ? Ou la commande d’upgrade juste au dessus idem ?
J’ai trouvé ce site aussi : ModuleNotFoundError: No module named 'setuptools' in Python | bobbyhadz

Pour passer cette commande :
python3 -m pip install --upgrade setuptools

On dirait que tout est bien installé
python3 -m pip install --upgrade setuptools

Requirement already satisfied: setuptools in ./.local/lib/python3.7/site-packages (65.4.0)

Et ça ne fonctionne pas…grrrr

Et de supprimer puis réinstaller ?

pip3 uninstall setuptools

pip3 install setuptools