Bonjour,
Merci pour la MAJ du plugin.
Je viens de tester la dernière beta (installé depuis Github sur une fresh install Debian 12) et j’ai la même erreur.
Cette erreur semble souvent causée par des dépendances Python manquantes ou mal installées mais j’avoue être un peu perdu avec les venv, il faut que je me mette à jour.
Est-ce que les dépendances nécessaires au module doivent être présentes dans le dossier python_venv ?
Page santé :
Debian à jour :

Preuve que j’ai la dernière version :
Log dépendances :
0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_broadlink
0003|+ echo 1
0004|+ echo 2
0005|+ sudo killall apt apt-get unattended-upgr
0006|apt: no process found
0007|apt-get: no process found
0008|unattended-upgr: no process found
0009|+ sudo rm /var/lib/apt/lists/lock
0010|+ sudo rm /var/cache/apt/archives/lock
0011|+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
0012|+ sudo sudo dpkg --configure -a --force-confdef
0013|+ sudo apt update
0014|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0015|Hit:1 http://deb.debian.org/debian bookworm InRelease
0016|Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
0017|Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
0018|Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
0019|Reading package lists...
0020|Building dependency tree...
0021|Reading state information...
0022|All packages are up to date.
0023|+ echo 3
0024|+ sudo apt install -o Dpkg::Options::=--force-confdef -y libudev-dev
0025|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0026|Reading package lists...
0027|Building dependency tree...
0028|Reading state information...
0029|The following NEW packages will be installed:
0030|libudev-dev
0031|0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
0032|Need to get 52.5 kB of archives.
0033|After this operation, 144 kB of additional disk space will be used.
0034|Get:1 http://deb.debian.org/debian bookworm/main amd64 libudev-dev amd64 252.26-1~deb12u2 [52.5 kB]
0035|debconf: unable to initialize frontend: Dialog
0036|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0037|debconf: falling back to frontend: Readline
0038|debconf: unable to initialize frontend: Readline
0039|debconf: (This frontend requires a controlling tty.)
0040|debconf: falling back to frontend: Teletype
0041|dpkg-preconfigure: unable to re-open stdin:
0042|Fetched 52.5 kB in 0s (661 kB/s)
0043|Selecting previously unselected package libudev-dev:amd64.
0044|(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 73371 files and directories currently installed.)
0045|Preparing to unpack .../libudev-dev_252.26-1~deb12u2_amd64.deb ...
0046|Unpacking libudev-dev:amd64 (252.26-1~deb12u2) ...
0047|Setting up libudev-dev:amd64 (252.26-1~deb12u2) ...
0048|Processing triggers for man-db (2.11.2-2) ...
0049|+ echo 4
0050|+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-serial
0051|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0052|Reading package lists...
0053|Building dependency tree...
0054|Reading state information...
0055|Suggested packages:
0056|python3-wxgtk3.0 | python3-wxgtk
0057|The following NEW packages will be installed:
0058|python3-serial
0059|0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
0060|Need to get 89.4 kB of archives.
0061|After this operation, 470 kB of additional disk space will be used.
0062|Get:1 http://deb.debian.org/debian bookworm/main amd64 python3-serial all 3.5-1.1 [89.4 kB]
0063|debconf: unable to initialize frontend: Dialog
0064|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0065|debconf: falling back to frontend: Readline
0066|debconf: unable to initialize frontend: Readline
0067|debconf: (This frontend requires a controlling tty.)
0068|debconf: falling back to frontend: Teletype
0069|dpkg-preconfigure: unable to re-open stdin:
0070|Fetched 89.4 kB in 0s (1035 kB/s)
0071|Selecting previously unselected package python3-serial.
0072|(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 73447 files and directories currently installed.)
0073|Preparing to unpack .../python3-serial_3.5-1.1_all.deb ...
0074|Unpacking python3-serial (3.5-1.1) ...
0075|Setting up python3-serial (3.5-1.1) ...
0076|+ echo 5
0077|+ sudo apt install -o Dpkg::Options::=--force-confdef -y libffi-dev
0078|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0079|Reading package lists...
0080|Building dependency tree...
0081|Reading state information...
0082|The following NEW packages will be installed:
0083|libffi-dev
0084|0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
0085|Need to get 59.4 kB of archives.
0086|After this operation, 323 kB of additional disk space will be used.
0087|Get:1 http://deb.debian.org/debian bookworm/main amd64 libffi-dev amd64 3.4.4-1 [59.4 kB]
0088|debconf: unable to initialize frontend: Dialog
0089|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0090|debconf: falling back to frontend: Readline
0091|debconf: unable to initialize frontend: Readline
0092|debconf: (This frontend requires a controlling tty.)
0093|debconf: falling back to frontend: Teletype
0094|dpkg-preconfigure: unable to re-open stdin:
0095|Fetched 59.4 kB in 0s (769 kB/s)
0096|Selecting previously unselected package libffi-dev:amd64.
0097|(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 73505 files and directories currently installed.)
0098|Preparing to unpack .../libffi-dev_3.4.4-1_amd64.deb ...
0099|Unpacking libffi-dev:amd64 (3.4.4-1) ...
0100|Setting up libffi-dev:amd64 (3.4.4-1) ...
0101|Processing triggers for man-db (2.11.2-2) ...
0102|+ echo 6
0103|+ sudo apt update
0104|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0105|Hit:1 http://deb.debian.org/debian bookworm InRelease
0106|Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
0107|Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
0108|Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
0109|Reading package lists...
0110|Building dependency tree...
0111|Reading state information...
0112|All packages are up to date.
0113|+ sudo apt-get install -y python3 python3-pip python3-dev python3-venv
0114|Reading package lists...
0115|Building dependency tree...
0116|Reading state information...
0117|python3 is already the newest version (3.11.2-1+b1).
0118|python3-pip is already the newest version (23.0.1+dfsg-1).
0119|python3-dev is already the newest version (3.11.2-1+b1).
0120|python3-dev set to manually installed.
0121|python3-venv is already the newest version (3.11.2-1+b1).
0122|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0123|+ echo 7
0124|+ sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/broadlink/resources/python_venv
0125|+ echo 8
0126|+ sudo /var/www/html/core/class/../../plugins/broadlink/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel
0127|Requirement already satisfied: pip in /var/www/html/plugins/broadlink/resources/python_venv/lib/python3.11/site-packages (24.2)
0128|Collecting wheel
0129|Downloading wheel-0.44.0-py3-none-any.whl.metadata (2.3 kB)
0130|Downloading wheel-0.44.0-py3-none-any.whl (67 kB)
0131|Installing collected packages: wheel
0132|Successfully installed wheel-0.44.0
0133|+ echo 9
0134|+ sudo /var/www/html/core/class/../../plugins/broadlink/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade wheel
0135|Collecting wheel
0136|Using cached wheel-0.44.0-py3-none-any.whl.metadata (2.3 kB)
0137|Using cached wheel-0.44.0-py3-none-any.whl (67 kB)
0138|Installing collected packages: wheel
0139|Attempting uninstall: wheel
0140|Found existing installation: wheel 0.44.0
0141|Uninstalling wheel-0.44.0:
0142|Successfully uninstalled wheel-0.44.0
0143|Successfully installed wheel-0.44.0
0144|+ echo 10
0145|+ sudo /var/www/html/core/class/../../plugins/broadlink/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade cryptography==2.6.1
0146|Collecting cryptography==2.6.1
0147|Downloading cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl.metadata (5.1 kB)
0148|Collecting asn1crypto>=0.21.0 (from cryptography==2.6.1)
0149|Downloading asn1crypto-1.5.1-py2.py3-none-any.whl.metadata (13 kB)
0150|Collecting six>=1.4.1 (from cryptography==2.6.1)
0151|Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
0152|Collecting cffi!=1.11.3,>=1.8 (from cryptography==2.6.1)
0153|Downloading cffi-1.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
0154|Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography==2.6.1)
0155|Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
0156|Downloading cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl (2.3 MB)
0157|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 25.9 MB/s eta 0:00:00
0158|Downloading asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
0159|Downloading cffi-1.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (466 kB)
0160|Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
0161|Downloading pycparser-2.22-py3-none-any.whl (117 kB)
0162|Installing collected packages: asn1crypto, six, pycparser, cffi, cryptography
0163|Successfully installed asn1crypto-1.5.1 cffi-1.17.0 cryptography-2.6.1 pycparser-2.22 six-1.16.0
0164|+ echo 11
0165|+ sudo /var/www/html/core/class/../../plugins/broadlink/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade pycrypto
0166|Collecting pycrypto
0167|Downloading pycrypto-2.6.1.tar.gz (446 kB)
0168|Preparing metadata (setup.py): started
0169|Preparing metadata (setup.py): finished with status 'done'
0170|Building wheels for collected packages: pycrypto
0171|Building wheel for pycrypto (setup.py): started
0172|Building wheel for pycrypto (setup.py): finished with status 'done'
0173|Created wheel for pycrypto: filename=pycrypto-2.6.1-cp311-cp311-linux_x86_64.whl size=494665 sha256=8967c39b1c259e717603597f532a3c38a86b7fadc759557dc80c6554b614afe1
0174|Stored in directory: /root/.cache/pip/wheels/88/0a/1a/35933feb1f6b635d5b661781fb1361a728fcde50f1cd164b7c
0175|Successfully built pycrypto
0176|Installing collected packages: pycrypto
0177|Successfully installed pycrypto-2.6.1
0178|+ echo 12
0179|+ sudo /var/www/html/core/class/../../plugins/broadlink/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade pyudev
0180|Collecting pyudev
0181|Downloading pyudev-0.24.3-py3-none-any.whl.metadata (4.6 kB)
0182|Downloading pyudev-0.24.3-py3-none-any.whl (62 kB)
0183|Installing collected packages: pyudev
0184|Successfully installed pyudev-0.24.3
0185|+ echo 13
0186|+ sudo /var/www/html/core/class/../../plugins/broadlink/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade asn1crypto
0187|Collecting asn1crypto
0188|Using cached asn1crypto-1.5.1-py2.py3-none-any.whl.metadata (13 kB)
0189|Using cached asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
0190|Installing collected packages: asn1crypto
0191|Attempting uninstall: asn1crypto
0192|Found existing installation: asn1crypto 1.5.1
0193|Uninstalling asn1crypto-1.5.1:
0194|Successfully uninstalled asn1crypto-1.5.1
0195|Successfully installed asn1crypto-1.5.1
0196|+ echo 14
0197|+ sudo /var/www/html/core/class/../../plugins/broadlink/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade requests
0198|Collecting requests
0199|Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
0200|Collecting charset-normalizer<4,>=2 (from requests)
0201|Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
0202|Collecting idna<4,>=2.5 (from requests)
0203|Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB)
0204|Collecting urllib3<3,>=1.21.1 (from requests)
0205|Downloading urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB)
0206|Collecting certifi>=2017.4.17 (from requests)
0207|Downloading certifi-2024.7.4-py3-none-any.whl.metadata (2.2 kB)
0208|Downloading requests-2.32.3-py3-none-any.whl (64 kB)
0209|Downloading certifi-2024.7.4-py3-none-any.whl (162 kB)
0210|Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
0211|Downloading idna-3.7-py3-none-any.whl (66 kB)
0212|Downloading urllib3-2.2.2-py3-none-any.whl (121 kB)
0213|Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
0214|Successfully installed certifi-2024.7.4 charset-normalizer-3.3.2 idna-3.7 requests-2.32.3 urllib3-2.2.2
0215|+ echo 15
0216|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end broadlink
0217|+ echo 16
0218|+ rm /tmp/jeedom_install_in_progress_broadlink
0219|+ echo '*******************End of package installation******************'
0220|*******************End of package installation******************
Log démon :
0000|[2024-08-15 19:18:32] INFO : Démarrage du démon Broadlink : /var/www/html/core/class/../../plugins/broadlink/resources/python_venv/bin/python3 /var/www/html/plugins/broadlink/resources/broadlinkd/broadlinkd.py --loglevel debug --socketport 55013 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/broadlink/core/php/jeeBroadlink.php --apikey SuiydyUz02pDELHODw1bXsMi8cmeoisdLxx1X16Vq80sQqNFHBbiI4P78c6GWU0m --cycle 0.3 --pid /tmp/jeedom/broadlink/deamon.pid
0001|Error: importing module from jeedom folder
0002|[2024-08-15 19:19:02] ERROR : Impossible de démarrer le démon Broadlink, vérifiez les logs
Informations Jeedom
Core : 4.4.10 (master)
DNS Jeedom : non
Plugin : Broadlink
Version : 5fe1e6c61dd8258811367d680a8fa515c2ffae8d (beta)
Statut Démon : Stoppé - (2024-08-15 19:20:02)



