Bonjour tout le monde,
Ayant parcouru nombre de sujets, je ne pense pas que ce post soit en doublon.
J’ai vu des messages disant que mon problème n’est pas propre à Blea, mais dans mon cas oui.
Alors je me lance en essayant d’être clair.
Je suis sous jeedom 4.4.19. Je suis passé à Debian 11.11.
J’ai vu que Blea était bien compatible, a priori, avec Debian bullseye :
Sujet 1
Sujet 2
Mail il m’est Impossible d’installer les dépendances de Blea :
********************************************************
* Installation des dépendances *
********************************************************
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Ign:4 http://dl.google.com/linux/chrome-remote-desktop/deb stable InRelease
Hit:5 http://dl.google.com/linux/chrome-remote-desktop/deb stable Release
Hit:6 https://linux.teamviewer.com/deb stable InRelease
Hit:7 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
bluetooth is already the newest version (5.55-3.1+deb11u2).
build-essential is already the newest version (12.9).
libatlas-base-dev is already the newest version (3.10.3-10).
libbluetooth-dev is already the newest version (5.55-3.1+deb11u2).
libffi-dev is already the newest version (3.3-6).
libopenjp2-7 is already the newest version (2.4.0-3).
libssl-dev is already the newest version (1.1.1w-0+deb11u2).
libtiff5 is already the newest version (4.2.0-1+deb11u5).
python3-dev is already the newest version (3.9.2-3).
python3-pyudev is already the newest version (0.22.0-2).
python3-requests is already the newest version (2.25.1+dfsg-2).
python3-serial is already the newest version (3.5~b0-1).
python3-setuptools is already the newest version (52.0.0-4+deb11u1).
rfkill is already the newest version (2.36.1-8+deb11u2).
The following packages were automatically installed and are no longer required:
python3-asn1crypto python3-cffi-backend
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Reinstallation of bluez is not possible, it cannot be downloaded.
Reinstallation of python3 is not possible, it cannot be downloaded.
Reinstallation of python3-pip is not possible, it cannot be downloaded.
The following packages were automatically installed and are no longer required:
python3-asn1crypto python3-cffi-backend
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Requirement already satisfied: wheel in /usr/local/lib/python3.9/dist-packages (0.45.0)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
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
Requirement already satisfied: setuptools in /usr/local/lib/python3.9/dist-packages (75.5.0)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
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
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.30.2-1+deb11u3).
libglib2.0-dev is already the newest version (2.66.8-1+deb11u4).
The following packages were automatically installed and are no longer required:
python3-asn1crypto python3-cffi-backend
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Requirement already satisfied: pyudev in /usr/local/lib/python3.9/dist-packages (0.24.3)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
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
Requirement already satisfied: pyserial in /usr/local/lib/python3.9/dist-packages (3.5)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
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
Requirement already satisfied: requests in /usr/local/lib/python3.9/dist-packages (2.32.3)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.9/dist-packages (from requests) (3.4.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests) (2.2.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests) (2024.8.30)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
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
Collecting pybluez
Using cached PyBluez-0.23.tar.gz (97 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
╰─> [1 lines of output]
error in PyBluez setup command: use_2to3 is invalid.
[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.
Requirement already satisfied: pillow in /usr/local/lib/python3.9/dist-packages (9.5.0)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
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
Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (2.0.2)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
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
Collecting bluepy
Using cached bluepy-1.3.0.tar.gz (217 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
╰─> [55 lines of output]
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2025-Mar-03, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
running egg_info
creating /tmp/pip-pip-egg-info-0d1ocsav/bluepy.egg-info
writing /tmp/pip-pip-egg-info-0d1ocsav/bluepy.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-0d1ocsav/bluepy.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-0d1ocsav/bluepy.egg-info/entry_points.txt
writing top-level names to /tmp/pip-pip-egg-info-0d1ocsav/bluepy.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-0d1ocsav/bluepy.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-0d1ocsav/bluepy.egg-info/SOURCES.txt'
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-buw51c0w/bluepy_f86d51703b47465abd0e6298918f1905/setup.py", line 53, in
setup (
File "/usr/local/lib/python3.9/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.9/dist-packages/setuptools/dist.py", line 994, in run_command
super().run_command(command)
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.9/dist-packages/setuptools/command/egg_info.py", line 312, in run
self.find_sources()
File "/usr/local/lib/python3.9/dist-packages/setuptools/command/egg_info.py", line 320, in find_sources
mm.run()
File "/usr/local/lib/python3.9/dist-packages/setuptools/command/egg_info.py", line 548, in run
self.prune_file_list()
File "/usr/local/lib/python3.9/dist-packages/setuptools/command/sdist.py", line 162, in prune_file_list
super().prune_file_list()
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/command/sdist.py", line 380, in prune_file_list
base_dir = self.distribution.get_fullname()
File "/usr/local/lib/python3.9/dist-packages/setuptools/_core_metadata.py", line 267, in get_fullname
return _distribution_fullname(self.get_name(), self.get_version())
File "/usr/local/lib/python3.9/dist-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
[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.
Cloning into 'bluepy'...
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2025-Mar-03, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
running build
running build_py
Working dir is /tmp/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
creating build/lib/bluepy
copying bluepy/get_services.py -> build/lib/bluepy
copying bluepy/scan_fuzz.py -> build/lib/bluepy
copying bluepy/thingy52.py -> build/lib/bluepy
copying bluepy/blescan.py -> build/lib/bluepy
copying bluepy/__init__.py -> build/lib/bluepy
copying bluepy/sensortag.py -> build/lib/bluepy
copying bluepy/btle.py -> build/lib/bluepy
copying bluepy/scanner.py -> build/lib/bluepy
copying bluepy/bluepy-helper -> build/lib/bluepy
copying bluepy/uuids.json -> build/lib/bluepy
copying bluepy/bluez-src.tgz -> build/lib/bluepy
copying bluepy/bluepy-helper.c -> build/lib/bluepy
copying bluepy/version.h -> build/lib/bluepy
copying bluepy/Makefile -> build/lib/bluepy
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2025-Mar-03, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
running install
/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
Traceback (most recent call last):
File "/tmp/bluepy/setup.py", line 53, in
setup (
File "/usr/local/lib/python3.9/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.9/dist-packages/setuptools/dist.py", line 994, in run_command
super().run_command(command)
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 972, in run_command
cmd_obj.ensure_finalized()
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "/usr/local/lib/python3.9/dist-packages/setuptools/command/install.py", line 80, in finalize_options
super().finalize_options()
File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/command/install.py", line 408, in finalize_options
'dist_fullname': self.distribution.get_fullname(),
File "/usr/local/lib/python3.9/dist-packages/setuptools/_core_metadata.py", line 267, in get_fullname
return _distribution_fullname(self.get_name(), self.get_version())
File "/usr/local/lib/python3.9/dist-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python3-cryptography' is not installed, so not removed
The following packages were automatically installed and are no longer required:
python3-asn1crypto python3-cffi-backend
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Found existing installation: cryptography 2.6.1
Uninstalling cryptography-2.6.1:
Successfully uninstalled cryptography-2.6.1
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
Collecting cryptography==2.6.1
Using cached cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl.metadata (5.1 kB)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python3.9/dist-packages (from cryptography==2.6.1) (1.5.1)
Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python3.9/dist-packages (from cryptography==2.6.1) (1.16.0)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/local/lib/python3.9/dist-packages (from cryptography==2.6.1) (1.17.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi!=1.11.3,>=1.8->cryptography==2.6.1) (2.22)
Using cached cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl (2.3 MB)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: cryptography
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
python-miio 0.5.12 requires cryptography>=35, but you have cryptography 2.6.1 which is incompatible.
Successfully installed cryptography-2.6.1
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
Requirement already satisfied: pycrypto in /usr/local/lib/python3.9/dist-packages (2.6.1)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
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
********************************************************
* Installation terminée *
********************************************************
2 problèmes apparaissent régulièrement :
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg
et
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
Mais d’après
Il n’y a pas d’autre version de gpg.
Pour l’autre problème je n’ai rien trouvé de probant.
N’ayant pas réussi à résoudre le truc, je me suis tourné vers :
Ca a l’air de fonctionner,
MAIS
Impossible de remonter mon écran Divoom TimeBox. Et je pense que même si j’y arrive, la solution MQTT ne m’en donnera que la présence, et que je ne pourrai pas gérer et afficher des dessins en pixel.
J’ai donc 2 questions :
- BLEA est il fonctionnel avec bullseye?
- sinon, est il possible de gérer un timebox via MQTT discovery?
Si ce post est trop peu détaillé et/ou s’il doit être splitté en 2 sujets, veuillez m’en excuser je ferai le nécessaire selon vos retours.
Merci de m’avoir lu!
Seb