NEWS
ESPHome: Reinstallation aber wie?
-
@smarthome2020 sagte in ESPHome: Reinstallation aber wie?:
iobroker add esphome --host raspberrypi --debug
-
pi@raspberrypi:~ $ iobroker add esphome --host raspberrypi --debug NPM version: 9.5.1 Installing iobroker.esphome@0.2.4... (System call) npm ERR! code 1 npm ERR! path /opt/iobroker/node_modules/iobroker.esphome npm ERR! command failed npm ERR! command sh -c npip install npm ERR! No python_modules directory; installing pip locally if needed. npm ERR! Successfully completed pip check. npm ERR! Collecting esphome>=2021.8 npm ERR! Using cached esphome-2023.4.1-py2.py3-none-any.whl (2.6 MB) npm ERR! Collecting tornado>=3.2 npm ERR! Using cached tornado-6.3.1.tar.gz (508 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'done' npm ERR! Getting requirements to build wheel: started npm ERR! Getting requirements to build wheel: finished with status 'done' npm ERR! Preparing metadata (pyproject.toml): started npm ERR! Preparing metadata (pyproject.toml): finished with status 'done' npm ERR! Collecting voluptuous==0.13.1 (from esphome>=2021.8) npm ERR! Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB) npm ERR! Collecting PyYAML==6.0 (from esphome>=2021.8) npm ERR! Using cached PyYAML-6.0.tar.gz (124 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'done' npm ERR! Getting requirements to build wheel: started npm ERR! Getting requirements to build wheel: finished with status 'done' npm ERR! Preparing metadata (pyproject.toml): started npm ERR! Preparing metadata (pyproject.toml): finished with status 'done' npm ERR! Collecting paho-mqtt==1.6.1 (from esphome>=2021.8) npm ERR! Using cached paho-mqtt-1.6.1.tar.gz (99 kB) npm ERR! Preparing metadata (setup.py): started npm ERR! Preparing metadata (setup.py): finished with status 'done' npm ERR! Collecting colorama==0.4.6 (from esphome>=2021.8) npm ERR! Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) npm ERR! Collecting tornado>=3.2 npm ERR! Using cached tornado-6.2.tar.gz (504 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'done' npm ERR! Getting requirements to build wheel: started npm ERR! Getting requirements to build wheel: finished with status 'done' npm ERR! Preparing metadata (pyproject.toml): started npm ERR! Preparing metadata (pyproject.toml): finished with status 'done' npm ERR! Collecting tzlocal==4.2 (from esphome>=2021.8) npm ERR! Using cached tzlocal-4.2-py3-none-any.whl (19 kB) npm ERR! Collecting tzdata>=2021.1 (from esphome>=2021.8) npm ERR! Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB) npm ERR! Collecting pyserial==3.5 (from esphome>=2021.8) npm ERR! Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB) npm ERR! Collecting platformio==6.1.6 (from esphome>=2021.8) npm ERR! Using cached platformio-6.1.6.tar.gz (236 kB) npm ERR! Preparing metadata (setup.py): started npm ERR! Preparing metadata (setup.py): finished with status 'done' npm ERR! Collecting esptool==4.5.1 (from esphome>=2021.8) npm ERR! Using cached esptool-4.5.1.tar.gz (252 kB) npm ERR! Preparing metadata (setup.py): started npm ERR! Preparing metadata (setup.py): finished with status 'done' npm ERR! Collecting click==8.1.3 (from esphome>=2021.8) npm ERR! Using cached click-8.1.3-py3-none-any.whl (96 kB) npm ERR! Collecting esphome-dashboard==20230214.0 (from esphome>=2021.8) npm ERR! Using cached esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB) npm ERR! Collecting aioesphomeapi==13.5.1 (from esphome>=2021.8) npm ERR! Using cached aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB) npm ERR! Collecting zeroconf==0.56.0 (from esphome>=2021.8) npm ERR! Using cached zeroconf-0.56.0.tar.gz (140 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'done' npm ERR! Getting requirements to build wheel: started npm ERR! Getting requirements to build wheel: finished with status 'done' npm ERR! Preparing metadata (pyproject.toml): started npm ERR! Preparing metadata (pyproject.toml): finished with status 'done' npm ERR! Collecting kconfiglib==13.7.1 (from esphome>=2021.8) npm ERR! Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB) npm ERR! Collecting protobuf>=3.19.0 (from aioesphomeapi==13.5.1->esphome>=2021.8) npm ERR! Using cached protobuf-4.22.3-py3-none-any.whl (172 kB) npm ERR! Collecting noiseprotocol<1.0,>=0.3.1 (from aioesphomeapi==13.5.1->esphome>=2021.8) npm ERR! Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB) npm ERR! Collecting async-timeout>=4.0 (from aioesphomeapi==13.5.1->esphome>=2021.8) npm ERR! Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB) npm ERR! Collecting bitstring>=3.1.6 (from esptool==4.5.1->esphome>=2021.8) npm ERR! Using cached bitstring-4.0.2-py3-none-any.whl (46 kB) npm ERR! Collecting cryptography>=2.1.4 (from esptool==4.5.1->esphome>=2021.8) npm ERR! Using cached cryptography-40.0.2.tar.gz (625 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'error' npm ERR! /usr/bin/python3: No module named pip npm ERR! /usr/bin/python3: No module named ensurepip npm ERR! error: subprocess-exited-with-error npm ERR! npm ERR! × pip subprocess to install build dependencies did not run successfully. npm ERR! │ exit code: 1 npm ERR! ╰─> [81 lines of output] npm ERR! Collecting setuptools!=60.9.0,>=40.6.0 npm ERR! Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB) npm ERR! Collecting wheel npm ERR! Using cached wheel-0.40.0-py3-none-any.whl (64 kB) npm ERR! Collecting cffi>=1.12 npm ERR! Using cached cffi-1.15.1.tar.gz (508 kB) npm ERR! Preparing metadata (setup.py): started npm ERR! Preparing metadata (setup.py): finished with status 'done' npm ERR! Collecting setuptools-rust>=0.11.4 npm ERR! Using cached setuptools_rust-1.5.2-py3-none-any.whl (23 kB) npm ERR! Collecting pycparser (from cffi>=1.12) npm ERR! Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) npm ERR! Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4) npm ERR! Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) npm ERR! Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4) npm ERR! Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB) npm ERR! Building wheels for collected packages: cffi npm ERR! Building wheel for cffi (setup.py): started npm ERR! Building wheel for cffi (setup.py): finished with status 'error' npm ERR! error: subprocess-exited-with-error npm ERR! npm ERR! × python setup.py bdist_wheel did not run successfully. npm ERR! │ exit code: 1 npm ERR! ╰─> [50 lines of output] npm ERR! /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` npm ERR! !! npm ERR! npm ERR! ******************************************************************************** npm ERR! The license_file parameter is deprecated, use license_files instead. npm ERR! npm ERR! By 2023-Oct-30, you need to update your project and remove deprecated calls npm ERR! or your builds will no longer be supported. npm ERR! npm ERR! See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. npm ERR! ******************************************************************************** npm ERR! npm ERR! !! npm ERR! parsed = self.parsers.get(option_name, lambda x: x)(value) npm ERR! running bdist_wheel npm ERR! running build npm ERR! running build_py npm ERR! creating build npm ERR! creating build/lib.linux-aarch64-cpython-39 npm ERR! creating build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/lock.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/error.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/model.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/api.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-39/cffi npm ERR! running build_ext npm ERR! building '_cffi_backend' extension npm ERR! creating build/temp.linux-aarch64-cpython-39 npm ERR! creating build/temp.linux-aarch64-cpython-39/c npm ERR! arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-39/c/_cffi_backend.o npm ERR! c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory npm ERR! 2 | #include <Python.h> npm ERR! | ^~~~~~~~~~ npm ERR! compilation terminated. npm ERR! error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 npm ERR! [end of output] npm ERR! npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip. npm ERR! ERROR: Failed building wheel for cffi npm ERR! Running setup.py clean for cffi npm ERR! Failed to build cffi npm ERR! ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects npm ERR! [end of output] npm ERR! npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip. npm ERR! error: subprocess-exited-with-error npm ERR! npm ERR! × pip subprocess to install build dependencies did not run successfully. npm ERR! │ exit code: 1 npm ERR! ╰─> See above for output. npm ERR! npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-04-24T21_18_47_600Z-debug-0.log host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
-
@smarthome2020 sagte in ESPHome: Reinstallation aber wie?:
Python.h: No such file or directory
Hast du python-3.9-dev installiert?
python --version sudo apt update sudo apt install python3.9-dev
-
pi@raspberrypi:~ $ sudo apt update Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB] Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease Fetched 15.0 kB in 1s (13.2 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. pi@raspberrypi:~ $ sudo apt install python3.9-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libpython3.9-dev The following NEW packages will be installed: libpython3.9-dev python3.9-dev 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 3,556 kB of archives. After this operation, 14.5 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libpython3.9-dev armhf 3.9.2-1+rpi1 [3,055 kB] Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3.9-dev armhf 3.9.2-1+rpi1 [501 kB] Fetched 3,556 kB in 1s (3,592 kB/s) Selecting previously unselected package libpython3.9-dev:armhf. (Reading database ... 56419 files and directories currently installed.) Preparing to unpack .../libpython3.9-dev_3.9.2-1+rpi1_armhf.deb ... Unpacking libpython3.9-dev:armhf (3.9.2-1+rpi1) ... Selecting previously unselected package python3.9-dev. Preparing to unpack .../python3.9-dev_3.9.2-1+rpi1_armhf.deb ... Unpacking python3.9-dev (3.9.2-1+rpi1) ... Setting up libpython3.9-dev:armhf (3.9.2-1+rpi1) ... Setting up python3.9-dev (3.9.2-1+rpi1) ... Processing triggers for man-db (2.9.4-2) ... pi@raspberrypi:~ $ iobroker add esphome --host raspberrypi --debug NPM version: 9.5.1 Installing iobroker.esphome@0.2.4... (System call) npm ERR! code 1 npm ERR! path /opt/iobroker/node_modules/iobroker.esphome npm ERR! command failed npm ERR! command sh -c npip install npm ERR! No python_modules directory; installing pip locally if needed. npm ERR! Successfully completed pip check. npm ERR! Collecting esphome>=2021.8 npm ERR! Using cached esphome-2023.4.1-py2.py3-none-any.whl (2.6 MB) npm ERR! Collecting tornado>=3.2 npm ERR! Using cached tornado-6.3.1.tar.gz (508 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'done' npm ERR! Getting requirements to build wheel: started npm ERR! Getting requirements to build wheel: finished with status 'done' npm ERR! Preparing metadata (pyproject.toml): started npm ERR! Preparing metadata (pyproject.toml): finished with status 'done' npm ERR! Collecting voluptuous==0.13.1 (from esphome>=2021.8) npm ERR! Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB) npm ERR! Collecting PyYAML==6.0 (from esphome>=2021.8) npm ERR! Using cached PyYAML-6.0.tar.gz (124 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'done' npm ERR! Getting requirements to build wheel: started npm ERR! Getting requirements to build wheel: finished with status 'done' npm ERR! Preparing metadata (pyproject.toml): started npm ERR! Preparing metadata (pyproject.toml): finished with status 'done' npm ERR! Collecting paho-mqtt==1.6.1 (from esphome>=2021.8) npm ERR! Using cached paho-mqtt-1.6.1.tar.gz (99 kB) npm ERR! Preparing metadata (setup.py): started npm ERR! Preparing metadata (setup.py): finished with status 'done' npm ERR! Collecting colorama==0.4.6 (from esphome>=2021.8) npm ERR! Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) npm ERR! Collecting tornado>=3.2 npm ERR! Using cached tornado-6.2.tar.gz (504 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'done' npm ERR! Getting requirements to build wheel: started npm ERR! Getting requirements to build wheel: finished with status 'done' npm ERR! Preparing metadata (pyproject.toml): started npm ERR! Preparing metadata (pyproject.toml): finished with status 'done' npm ERR! Collecting tzlocal==4.2 (from esphome>=2021.8) npm ERR! Using cached tzlocal-4.2-py3-none-any.whl (19 kB) npm ERR! Collecting tzdata>=2021.1 (from esphome>=2021.8) npm ERR! Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB) npm ERR! Collecting pyserial==3.5 (from esphome>=2021.8) npm ERR! Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB) npm ERR! Collecting platformio==6.1.6 (from esphome>=2021.8) npm ERR! Using cached platformio-6.1.6.tar.gz (236 kB) npm ERR! Preparing metadata (setup.py): started npm ERR! Preparing metadata (setup.py): finished with status 'done' npm ERR! Collecting esptool==4.5.1 (from esphome>=2021.8) npm ERR! Using cached esptool-4.5.1.tar.gz (252 kB) npm ERR! Preparing metadata (setup.py): started npm ERR! Preparing metadata (setup.py): finished with status 'done' npm ERR! Collecting click==8.1.3 (from esphome>=2021.8) npm ERR! Using cached click-8.1.3-py3-none-any.whl (96 kB) npm ERR! Collecting esphome-dashboard==20230214.0 (from esphome>=2021.8) npm ERR! Using cached esphome_dashboard-20230214.0-py3-none-any.whl (1.6 MB) npm ERR! Collecting aioesphomeapi==13.5.1 (from esphome>=2021.8) npm ERR! Using cached aioesphomeapi-13.5.1-py2.py3-none-any.whl (54 kB) npm ERR! Collecting zeroconf==0.56.0 (from esphome>=2021.8) npm ERR! Using cached zeroconf-0.56.0.tar.gz (140 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'done' npm ERR! Getting requirements to build wheel: started npm ERR! Getting requirements to build wheel: finished with status 'done' npm ERR! Preparing metadata (pyproject.toml): started npm ERR! Preparing metadata (pyproject.toml): finished with status 'done' npm ERR! Collecting kconfiglib==13.7.1 (from esphome>=2021.8) npm ERR! Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB) npm ERR! Collecting protobuf>=3.19.0 (from aioesphomeapi==13.5.1->esphome>=2021.8) npm ERR! Using cached protobuf-4.22.3-py3-none-any.whl (172 kB) npm ERR! Collecting noiseprotocol<1.0,>=0.3.1 (from aioesphomeapi==13.5.1->esphome>=2021.8) npm ERR! Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB) npm ERR! Collecting async-timeout>=4.0 (from aioesphomeapi==13.5.1->esphome>=2021.8) npm ERR! Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB) npm ERR! Collecting bitstring>=3.1.6 (from esptool==4.5.1->esphome>=2021.8) npm ERR! Using cached bitstring-4.0.2-py3-none-any.whl (46 kB) npm ERR! Collecting cryptography>=2.1.4 (from esptool==4.5.1->esphome>=2021.8) npm ERR! Using cached cryptography-40.0.2.tar.gz (625 kB) npm ERR! Installing build dependencies: started npm ERR! Installing build dependencies: finished with status 'done' npm ERR! Getting requirements to build wheel: started npm ERR! Getting requirements to build wheel: finished with status 'done' npm ERR! Preparing metadata (pyproject.toml): started npm ERR! Preparing metadata (pyproject.toml): finished with status 'done' npm ERR! Collecting ecdsa>=0.16.0 (from esptool==4.5.1->esphome>=2021.8) npm ERR! Downloading ecdsa-0.18.0-py2.py3-none-any.whl (142 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.9/142.9 kB 427.0 kB/s eta 0:00:00 npm ERR! Collecting reedsolo<=1.6.0,>=1.5.3 (from esptool==4.5.1->esphome>=2021.8) npm ERR! Downloading reedsolo-1.6.0.tar.gz (278 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 278.6/278.6 kB 5.2 MB/s eta 0:00:00 npm ERR! Preparing metadata (setup.py): started npm ERR! Preparing metadata (setup.py): finished with status 'done' npm ERR! Collecting bottle==0.12.* (from platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading bottle-0.12.25-py3-none-any.whl (90 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.2/90.2 kB 3.7 MB/s eta 0:00:00 npm ERR! Collecting marshmallow==3.* (from platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading marshmallow-3.19.0-py3-none-any.whl (49 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.1/49.1 kB 2.1 MB/s eta 0:00:00 npm ERR! Collecting pyelftools<1,>=0.27 (from platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading pyelftools-0.29-py2.py3-none-any.whl (174 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 174.3/174.3 kB 5.1 MB/s eta 0:00:00 npm ERR! Requirement already satisfied: requests==2.* in /usr/lib/python3/dist-packages (from platformio==6.1.6->esphome>=2021.8) (2.25.1) npm ERR! Collecting semantic_version==2.10.* (from platformio==6.1.6->esphome>=2021.8) npm ERR! Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) npm ERR! Collecting tabulate==0.9.* (from platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading tabulate-0.9.0-py3-none-any.whl (35 kB) npm ERR! Collecting aiofiles==22.1.* (from platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading aiofiles-22.1.0-py3-none-any.whl (14 kB) npm ERR! Collecting ajsonrpc==1.* (from platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading ajsonrpc-1.2.0-py3-none-any.whl (22 kB) npm ERR! Collecting starlette==0.23.* (from platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading starlette-0.23.1-py3-none-any.whl (64 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 kB 3.6 MB/s eta 0:00:00 npm ERR! Collecting uvicorn==0.20.* (from platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading uvicorn-0.20.0-py3-none-any.whl (56 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 2.3 MB/s eta 0:00:00 npm ERR! Collecting wsproto==1.2.* (from platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading wsproto-1.2.0-py3-none-any.whl (24 kB) npm ERR! Collecting pytz-deprecation-shim (from tzlocal==4.2->esphome>=2021.8) npm ERR! Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB) npm ERR! Collecting ifaddr>=0.1.7 (from zeroconf==0.56.0->esphome>=2021.8) npm ERR! Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB) npm ERR! Collecting packaging>=17.0 (from marshmallow==3.*->platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading packaging-23.1-py3-none-any.whl (48 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 2.9 MB/s eta 0:00:00 npm ERR! Collecting anyio<5,>=3.4.0 (from starlette==0.23.*->platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading anyio-3.6.2-py3-none-any.whl (80 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 kB 4.2 MB/s eta 0:00:00 npm ERR! Collecting typing-extensions>=3.10.0 (from starlette==0.23.*->platformio==6.1.6->esphome>=2021.8) npm ERR! Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB) npm ERR! Collecting h11>=0.8 (from uvicorn==0.20.*->platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading h11-0.14.0-py3-none-any.whl (58 kB) npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 3.1 MB/s eta 0:00:00 npm ERR! Collecting cffi>=1.12 (from cryptography>=2.1.4->esptool==4.5.1->esphome>=2021.8) npm ERR! Using cached cffi-1.15.1.tar.gz (508 kB) npm ERR! Preparing metadata (setup.py): started npm ERR! Preparing metadata (setup.py): finished with status 'done' npm ERR! Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from ecdsa>=0.16.0->esptool==4.5.1->esphome>=2021.8) (1.16.0) npm ERR! Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio<5,>=3.4.0->starlette==0.23.*->platformio==6.1.6->esphome>=2021.8) (2.10) npm ERR! Collecting sniffio>=1.1 (from anyio<5,>=3.4.0->starlette==0.23.*->platformio==6.1.6->esphome>=2021.8) npm ERR! Downloading sniffio-1.3.0-py3-none-any.whl (10 kB) npm ERR! Collecting pycparser (from cffi>=1.12->cryptography>=2.1.4->esptool==4.5.1->esphome>=2021.8) npm ERR! Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) npm ERR! Building wheels for collected packages: tornado, esptool, paho-mqtt, platformio, PyYAML, zeroconf, cryptography, reedsolo, cffi npm ERR! Building wheel for tornado (pyproject.toml): started npm ERR! Building wheel for tornado (pyproject.toml): finished with status 'done' npm ERR! Created wheel for tornado: filename=tornado-6.2-cp37-abi3-linux_aarch64.whl size=422461 sha256=aeb1d1960da0fb3afc4c4c1ebfeeef00387f601ca5fd7dc2842c213ab5a20aae npm ERR! Stored in directory: /home/iobroker/.cache/pip/wheels/90/7b/73/1df52e0a3fb1604361eb56c578af8de175b5f5262c626762f7 npm ERR! Building wheel for esptool (setup.py): started npm ERR! Building wheel for esptool (setup.py): finished with status 'done' npm ERR! Created wheel for esptool: filename=esptool-4.5.1-py3-none-any.whl size=320921 sha256=6a88b547e2ae0117edbd299c3d8cde05f65def500fd1165f0225f9907bc9d038 npm ERR! Stored in directory: /home/iobroker/.cache/pip/wheels/78/54/f8/0507bb484d688824cea726ae932d3f8339a1ccd039612d3b7e npm ERR! Building wheel for paho-mqtt (setup.py): started npm ERR! Building wheel for paho-mqtt (setup.py): finished with status 'done' npm ERR! Created wheel for paho-mqtt: filename=paho_mqtt-1.6.1-py3-none-any.whl size=62118 sha256=f80ab02eaea54f89a42c38014b49c4d0b7f55043a8d9da7cae59be86305aeda8 npm ERR! Stored in directory: /home/iobroker/.cache/pip/wheels/0f/90/29/db29bb8ddc98ec5f2363b959130c9ddbcf5cfdb4a00b6184dd npm ERR! Building wheel for platformio (setup.py): started npm ERR! Building wheel for platformio (setup.py): finished with status 'done' npm ERR! Created wheel for platformio: filename=platformio-6.1.6-py3-none-any.whl size=416715 sha256=32ecef86ff72e883a3c38d0dc71d415a8869dc115435ca42fe722616d265f948 npm ERR! Stored in directory: /home/iobroker/.cache/pip/wheels/1e/91/74/6e84ce10899b29c1c504acc5399a1f0828f531c069fa4914cc npm ERR! Building wheel for PyYAML (pyproject.toml): started npm ERR! Building wheel for PyYAML (pyproject.toml): finished with status 'done' npm ERR! Created wheel for PyYAML: filename=PyYAML-6.0-cp39-cp39-linux_aarch64.whl size=45333 sha256=65d75f3e2112561ab7fc09cab32a98719197464e8c673d3550f97544bdeff626 npm ERR! Stored in directory: /home/iobroker/.cache/pip/wheels/b4/0f/9a/d6af48581dda678920fccfb734f5d9f827c6ed5b4074c7eda8 npm ERR! Building wheel for zeroconf (pyproject.toml): started npm ERR! Building wheel for zeroconf (pyproject.toml): still running... npm ERR! Building wheel for zeroconf (pyproject.toml): finished with status 'done' npm ERR! Created wheel for zeroconf: filename=zeroconf-0.56.0-cp39-cp39-manylinux_2_31_armv7l.whl size=2101325 sha256=118fd225fe23a463591d45c4775dad4fbd6da8c11da62b506e675b358ceb1572 npm ERR! Stored in directory: /home/iobroker/.cache/pip/wheels/72/ac/bd/e36f8455a390cd9cbb284caf9f3ae3b8048c75380a37f4945e npm ERR! Building wheel for cryptography (pyproject.toml): started npm ERR! Building wheel for cryptography (pyproject.toml): finished with status 'error' npm ERR! Building wheel for reedsolo (setup.py): started npm ERR! Building wheel for reedsolo (setup.py): finished with status 'done' npm ERR! Created wheel for reedsolo: filename=reedsolo-1.6.0-py3-none-any.whl size=31053 sha256=8f5d7a542cb368189268c4dc92c3137fd09bbda4857fe35f059090ee1170e5a4 npm ERR! Stored in directory: /home/iobroker/.cache/pip/wheels/0a/69/f4/ff4c4b80781195a115015f14b39ba1e708ef6a77a0fd5187fb npm ERR! Building wheel for cffi (setup.py): started npm ERR! Building wheel for cffi (setup.py): finished with status 'done' npm ERR! Created wheel for cffi: filename=cffi-1.15.1-cp39-cp39-linux_aarch64.whl size=364680 sha256=491068733de3ca0619733c0a2d64f46ee760a8cb7c235f0ebdcfbd219b839024 npm ERR! Stored in directory: /home/iobroker/.cache/pip/wheels/d0/6e/69/346a0fb73c6a05221ee65cf8d51e67742e36c57aa5b8c7c5ed npm ERR! Successfully built tornado esptool paho-mqtt platformio PyYAML zeroconf reedsolo cffi npm ERR! Failed to build cryptography npm ERR! /usr/bin/python3: No module named pip npm ERR! /usr/bin/python3: No module named ensurepip npm ERR! error: subprocess-exited-with-error npm ERR! npm ERR! × Building wheel for cryptography (pyproject.toml) did not run successfully. npm ERR! │ exit code: 1 npm ERR! ╰─> [247 lines of output] npm ERR! running bdist_wheel npm ERR! running build npm ERR! running build_py npm ERR! creating build npm ERR! creating build/lib.linux-aarch64-cpython-39 npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography npm ERR! copying src/cryptography/exceptions.py -> build/lib.linux-aarch64-cpython-39/cryptography npm ERR! copying src/cryptography/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography npm ERR! copying src/cryptography/fernet.py -> build/lib.linux-aarch64-cpython-39/cryptography npm ERR! copying src/cryptography/__about__.py -> build/lib.linux-aarch64-cpython-39/cryptography npm ERR! copying src/cryptography/utils.py -> build/lib.linux-aarch64-cpython-39/cryptography npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat npm ERR! copying src/cryptography/hazmat/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat npm ERR! copying src/cryptography/hazmat/_oid.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/x509 npm ERR! copying src/cryptography/x509/extensions.py -> build/lib.linux-aarch64-cpython-39/cryptography/x509 npm ERR! copying src/cryptography/x509/ocsp.py -> build/lib.linux-aarch64-cpython-39/cryptography/x509 npm ERR! copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-aarch64-cpython-39/cryptography/x509 npm ERR! copying src/cryptography/x509/general_name.py -> build/lib.linux-aarch64-cpython-39/cryptography/x509 npm ERR! copying src/cryptography/x509/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/x509 npm ERR! copying src/cryptography/x509/base.py -> build/lib.linux-aarch64-cpython-39/cryptography/x509 npm ERR! copying src/cryptography/x509/oid.py -> build/lib.linux-aarch64-cpython-39/cryptography/x509 npm ERR! copying src/cryptography/x509/name.py -> build/lib.linux-aarch64-cpython-39/cryptography/x509 npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends npm ERR! copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings npm ERR! copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/backends/openssl npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/asymmetric npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/twofactor npm ERR! copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/twofactor npm ERR! copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/twofactor npm ERR! copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/twofactor npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/serialization npm ERR! copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/serialization npm ERR! copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/serialization npm ERR! copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/serialization npm ERR! copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/serialization npm ERR! copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/serialization npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/ciphers npm ERR! copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/ciphers npm ERR! copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/ciphers npm ERR! copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/ciphers npm ERR! copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/ciphers npm ERR! copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/ciphers npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/kdf npm ERR! copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/kdf npm ERR! copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/kdf npm ERR! copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/kdf npm ERR! copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/kdf npm ERR! copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/kdf npm ERR! copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/kdf npm ERR! copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/primitives/kdf npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/openssl npm ERR! copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/openssl npm ERR! copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/openssl npm ERR! copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/openssl npm ERR! running egg_info npm ERR! writing src/cryptography.egg-info/PKG-INFO npm ERR! writing dependency_links to src/cryptography.egg-info/dependency_links.txt npm ERR! writing requirements to src/cryptography.egg-info/requires.txt npm ERR! writing top-level names to src/cryptography.egg-info/top_level.txt npm ERR! reading manifest file 'src/cryptography.egg-info/SOURCES.txt' npm ERR! reading manifest template 'MANIFEST.in' npm ERR! no previously-included directories found matching 'docs/_build' npm ERR! warning: no previously-included files found matching 'vectors' npm ERR! warning: no previously-included files matching '*' found under directory 'vectors' npm ERR! warning: no previously-included files matching '*' found under directory '.github' npm ERR! warning: no previously-included files found matching 'release.py' npm ERR! warning: no previously-included files found matching '.readthedocs.yml' npm ERR! warning: no previously-included files found matching 'ci-constraints-requirements.txt' npm ERR! warning: no previously-included files found matching 'mypy.ini' npm ERR! adding license file 'LICENSE' npm ERR! adding license file 'LICENSE.APACHE' npm ERR! adding license file 'LICENSE.BSD' npm ERR! adding license file 'LICENSE.PSF' npm ERR! writing manifest file 'src/cryptography.egg-info/SOURCES.txt' npm ERR! /tmp/pip-build-env-vl9y10zd/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'cryptography.hazmat.bindings._rust' is absent from the `packages` configuration. npm ERR! !! npm ERR! npm ERR! ******************************************************************************** npm ERR! ############################ npm ERR! # Package would be ignored # npm ERR! ############################ npm ERR! Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package[^1], npm ERR! but it is absent from setuptools' `packages` configuration. npm ERR! npm ERR! This leads to an ambiguous overall configuration. If you want to distribute this npm ERR! package, please make sure that 'cryptography.hazmat.bindings._rust' is explicitly added npm ERR! to the `packages` configuration field. npm ERR! npm ERR! Alternatively, you can also rely on setuptools' discovery methods npm ERR! (for example by using `find_namespace_packages(...)`/`find_namespace:` npm ERR! instead of `find_packages(...)`/`find:`). npm ERR! npm ERR! You can read more about "package discovery" on setuptools documentation page: npm ERR! npm ERR! - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html npm ERR! npm ERR! If you don't want 'cryptography.hazmat.bindings._rust' to be distributed and are npm ERR! already explicitly excluding 'cryptography.hazmat.bindings._rust' via npm ERR! `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, npm ERR! you can try to use `exclude_package_data`, or `include-package-data=False` in npm ERR! combination with a more fine grained `package-data` configuration. npm ERR! npm ERR! You can read more about "package data files" on setuptools documentation page: npm ERR! npm ERR! - https://setuptools.pypa.io/en/latest/userguide/datafiles.html npm ERR! npm ERR! npm ERR! [^1]: For Python, any directory (with suitable naming) can be imported, npm ERR! even if it does not contain any `.py` files. npm ERR! On the other hand, currently there is no concept of package data npm ERR! directory, all directories are treated like packages. npm ERR! ******************************************************************************** npm ERR! npm ERR! !! npm ERR! check.warn(importable) npm ERR! /tmp/pip-build-env-vl9y10zd/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'cryptography.hazmat.bindings._rust.openssl' is absent from the `packages` configuration. npm ERR! !! npm ERR! npm ERR! ******************************************************************************** npm ERR! ############################ npm ERR! # Package would be ignored # npm ERR! ############################ npm ERR! Python recognizes 'cryptography.hazmat.bindings._rust.openssl' as an importable package[^1], npm ERR! but it is absent from setuptools' `packages` configuration. npm ERR! npm ERR! This leads to an ambiguous overall configuration. If you want to distribute this npm ERR! package, please make sure that 'cryptography.hazmat.bindings._rust.openssl' is explicitly added npm ERR! to the `packages` configuration field. npm ERR! npm ERR! Alternatively, you can also rely on setuptools' discovery methods npm ERR! (for example by using `find_namespace_packages(...)`/`find_namespace:` npm ERR! instead of `find_packages(...)`/`find:`). npm ERR! npm ERR! You can read more about "package discovery" on setuptools documentation page: npm ERR! npm ERR! - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html npm ERR! npm ERR! If you don't want 'cryptography.hazmat.bindings._rust.openssl' to be distributed and are npm ERR! already explicitly excluding 'cryptography.hazmat.bindings._rust.openssl' via npm ERR! `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, npm ERR! you can try to use `exclude_package_data`, or `include-package-data=False` in npm ERR! combination with a more fine grained `package-data` configuration. npm ERR! npm ERR! You can read more about "package data files" on setuptools documentation page: npm ERR! npm ERR! - https://setuptools.pypa.io/en/latest/userguide/datafiles.html npm ERR! npm ERR! npm ERR! [^1]: For Python, any directory (with suitable naming) can be imported, npm ERR! even if it does not contain any `.py` files. npm ERR! On the other hand, currently there is no concept of package data npm ERR! directory, all directories are treated like packages. npm ERR! ******************************************************************************** npm ERR! npm ERR! !! npm ERR! check.warn(importable) npm ERR! copying src/cryptography/py.typed -> build/lib.linux-aarch64-cpython-39/cryptography npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust npm ERR! copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust npm ERR! copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust npm ERR! copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust npm ERR! copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust npm ERR! copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust npm ERR! copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust npm ERR! creating build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust/openssl npm ERR! copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust/openssl npm ERR! copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-aarch64-cpython-39/cryptography/hazmat/bindings/_rust/openssl npm ERR! running build_ext npm ERR! running build_rust npm ERR! npm ERR! =============================DEBUG ASSISTANCE============================= npm ERR! If you are seeing a compilation error please try the following steps to npm ERR! successfully install cryptography: npm ERR! 1) Upgrade to the latest pip and try again. This will fix errors for most npm ERR! users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip npm ERR! 2) Read https://cryptography.io/en/latest/installation/ for specific npm ERR! instructions for your platform. npm ERR! 3) Check our frequently asked questions for more information: npm ERR! https://cryptography.io/en/latest/faq/ npm ERR! 4) Ensure you have a recent Rust toolchain installed: npm ERR! https://cryptography.io/en/latest/installation/#rust npm ERR! npm ERR! Python: 3.9.2 npm ERR! platform: Linux-6.1.21-v8+-aarch64-with-glibc2.31 npm ERR! pip: n/a npm ERR! setuptools: 67.7.2 npm ERR! setuptools_rust: 1.5.2 npm ERR! rustc: n/a npm ERR! =============================DEBUG ASSISTANCE============================= npm ERR! npm ERR! error: can't find Rust compiler npm ERR! npm ERR! 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. npm ERR! npm ERR! To update pip, run: npm ERR! npm ERR! pip install --upgrade pip npm ERR! npm ERR! and then retry package installation. npm ERR! npm ERR! 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. npm ERR! npm ERR! This package requires Rust >=1.48.0. npm ERR! [end of output] npm ERR! npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip. npm ERR! ERROR: Failed building wheel for cryptography npm ERR! ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-04-24T21_30_35_350Z-debug-0.log host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
-
@smarthome2020 sagte in ESPHome: Reinstallation aber wie?:
This package requires Rust >=1.48.0.
sudo apt install build-essential libssl-dev libffi-dev python3-dev cargo pkg-config
If you are on RHEL/CentOS/Fedora/Debian/Ubuntu or another distribution derived from the preceding list, then you should upgrade pip and attempt to install cryptography again before following the instructions to compile it below. These platforms will receive a binary wheel and require no compiler if you have an updated pip!
The Rust available in most Debian versions is older than the minimum supported version. Debian Bookworm is sufficiently new
Möglich das dein pip bzw. Rust zu alt ist. Bei mir läuft Debian Unstable / Bookworm, das ist aktuell.
-
pi@raspberrypi:~ $ sudo apt install build-essential libssl-dev libffi-dev python3-dev cargo pkg-config Reading package lists... Done Building dependency tree... Done Reading state information... Done build-essential is already the newest version (12.9). libffi-dev is already the newest version (3.3-6). libffi-dev set to manually installed. pkg-config is already the newest version (0.29.2-1). The following additional packages will be installed: javascript-common libgit2-1.1 libhttp-parser2.9 libjs-jquery libjs-sphinxdoc libjs-underscore libllvm11 libmbedcrypto3 libmbedtls12 libmbedx509-0 libpython3-dev libstd-rust-1.48 libstd-rust-dev libz3-4 rust-gdb rustc Suggested packages: cargo-doc apache2 | lighttpd | httpd libssl-doc gdb-doc rust-doc rust-src lld-11 Recommended packages: cargo The following NEW packages will be installed: cargo javascript-common libgit2-1.1 libhttp-parser2.9 libjs-jquery libjs-sphinxdoc libjs-underscore libllvm11 libmbedcrypto3 libmbedtls12 libmbedx509-0 libpython3-dev libssl-dev libstd-rust-1.48 libstd-rust-dev libz3-4 python3-dev rust-gdb rustc 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. Need to get 73.3 MB of archives. After this operation, 312 MB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://archive.raspberrypi.org/debian bullseye/main armhf libssl-dev armhf 1.1.1n-0+deb11u4+rpt1 Temporary failure resolving 'archive.raspberrypi.org' Err:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libhttp-parser2.9 armhf 2.9.4-4+deb11u1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libmbedcrypto3 armhf 2.16.9-0.1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libmbedx509-0 armhf 2.16.9-0.1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libmbedtls12 armhf 2.16.9-0.1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libgit2-1.1 armhf 1.1.0+dfsg.1-4 Temporary failure resolving 'raspbian.raspberrypi.org' Err:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libz3-4 armhf 4.8.10-1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libllvm11 armhf 1:11.0.1-2+rpi1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libstd-rust-1.48 armhf 1.48.0+dfsg1-1+rpi1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:10 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libstd-rust-dev armhf 1.48.0+dfsg1-1+rpi1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:11 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf rustc armhf 1.48.0+dfsg1-1+rpi1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:12 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf cargo armhf 0.47.0-3 Temporary failure resolving 'raspbian.raspberrypi.org' Err:13 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf javascript-common all 11+nmu1 Temporary failure resolving 'raspbian.raspberrypi.org' Err:14 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-jquery all 3.5.1+dfsg+~3.5.5-7 Temporary failure resolving 'raspbian.raspberrypi.org' Err:15 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-underscore all 1.9.1~dfsg-3 Temporary failure resolving 'raspbian.raspberrypi.org' Err:16 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-sphinxdoc all 3.4.3-2 Temporary failure resolving 'raspbian.raspberrypi.org' Err:17 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libpython3-dev armhf 3.9.2-3 Temporary failure resolving 'raspbian.raspberrypi.org' Err:18 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-dev armhf 3.9.2-3 Temporary failure resolving 'raspbian.raspberrypi.org' Err:19 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf rust-gdb all 1.48.0+dfsg1-1+rpi1 Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/h/http-parser/libhttp-parser2.9_2.9.4-4%2bdeb11u1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/m/mbedtls/libmbedcrypto3_2.16.9-0.1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/m/mbedtls/libmbedx509-0_2.16.9-0.1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/m/mbedtls/libmbedtls12_2.16.9-0.1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libg/libgit2/libgit2-1.1_1.1.0%2bdfsg.1-4_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/z/z3/libz3-4_4.8.10-1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/l/llvm-toolchain-11/libllvm11_11.0.1-2%2brpi1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/r/rustc/libstd-rust-1.48_1.48.0%2bdfsg1-1%2brpi1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/r/rustc/libstd-rust-dev_1.48.0%2bdfsg1-1%2brpi1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/r/rustc/rustc_1.48.0%2bdfsg1-1%2brpi1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/c/cargo/cargo_0.47.0-3_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/j/javascript-common/javascript-common_11%2bnmu1_all.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/n/node-jquery/libjs-jquery_3.5.1%2bdfsg%2b%7e3.5.5-7_all.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/u/underscore/libjs-underscore_1.9.1%7edfsg-3_all.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/sphinx/libjs-sphinxdoc_3.4.3-2_all.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3-defaults/libpython3-dev_3.9.2-3_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://archive.raspberrypi.org/debian/pool/main/o/openssl/libssl-dev_1.1.1n-0%2bdeb11u4%2brpt1_armhf.deb Temporary failure resolving 'archive.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3-defaults/python3-dev_3.9.2-3_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/r/rustc/rust-gdb_1.48.0%2bdfsg1-1%2brpi1_all.deb Temporary failure resolving 'raspbian.raspberrypi.org' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
-
@smarthome2020 sagte in ESPHome: Reinstallation aber wie?:
Temporary failure resolving 'raspbian.raspberrypi.org'
Du kannst den Server nicht erreichen.
Später nochmal probieren. -
Der Adapter läuft so wieder, jedoch geht das Dashboard nicht. Das ist zum Mäuse melken
esphome.0 2023-05-01 12:20:23.163 warn ESPHome Dashboard deactivated esphome.0 2023-05-01 12:20:23.117 error [dashboardProcess ERROR] Error: ENOENT: no such file or directory, lstat '/opt/iobroker/node_modules/iobroker.esphome/python_modules/bin/esphome' esphome.0 2023-05-01 12:20:20.270 debug espHomeDashboard_Process {"_events":{},"_eventsCount":0,"_maxListeners":100,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"npm","_handle":{"pid":7826},"spawnargs":["npm","run","-s","nopy","/opt/iobroker/node_modules/iobroker.esphome/python_modules/bin/esphome","dashboard","/opt/iobroker/iobroker-data/esphome.0"],"pid":7826,"stdin":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":true,"endEmitted":true,"reading":false,"constructed":true,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":1,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"constructed":true,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdout":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":true,"constructed":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":2,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"constructed":true,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stderr":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":true,"constructed":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":2,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"constructed":true,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdio":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":true,"endEmitted":true,"reading":false,"constructed":true,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":1,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"constructed":true,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":true,"constructed":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":2,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"constructed":true,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":true,"constructed":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"dataEmitted":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":2,"_maxListeners":100,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"constructed":true,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":true,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null}]} esphome.0 2023-05-01 12:20:20.251 info Native Integration of ESPHome Dashboard enabled esphome.0 2023-05-01 12:20:20.242 info Auto Discovery startet, new devices (or IP changes) will be detected automatically esphome.0 2023-05-01 12:20:20.087 info starting. Version 0.2.4 in /opt/iobroker/node_modules/iobroker.esphome, node: v18.16.0, js-controller: 4.0.24 esphome.0 2023-05-01 12:20:19.493 debug Plugin sentry Initialize Plugin (enabled=true) host.raspberrypi 2023-05-01 12:20:16.578 info instance system.adapter.esphome.0 started with pid 7811 host.raspberrypi 2023-05-01 12:20:13.982 info instance system.adapter.esphome.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.raspberrypi 2023-05-01 12:20:13.394 info stopInstance system.adapter.esphome.0 send kill signal esphome.0 2023-05-01 12:20:13.258 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason esphome.0 2023-05-01 12:20:13.257 debug Plugin sentry destroyed esphome.0 2023-05-01 12:20:13.252 info terminating esphome.0 2023-05-01 12:20:13.235 debug {} esphome.0 2023-05-01 12:20:13.233 info Got terminate signal TERMINATE_YOURSELF
-
Also nach dem Installieren aller Punkte kann ich zwar nun den ESPHome Adapter laden, das Dashboard geht aber nicht mehr . Andere Adapter kann ich nicht aktualisieren. Ein Beispiel :
pi@raspberrypi:~ $ iobroker upgrade backitup@2.6.20 --debug This upgrade of "backitup" will introduce the following changes: ========================================================================== -> 2.6.20: FTP self signed Certificates added dependencies updated ========================================================================== Would you like to upgrade backitup from @2.6.19 to @2.6.20 now? [(y)es, (n)o]: y Update backitup from @2.6.19 to @2.6.20 NPM version: 9.5.1 Installing iobroker.backitup@2.6.20... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.ham/node_modules/ansi-styles npm ERR! dest /opt/iobroker/node_modules/iobroker.ham/node_modules/.ansi-styles-WEBLKjJI npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.ham/node_modules/ansi-styles' -> '/opt/iobroker/node_modules/iobroker.ham/node_modules/.ansi-styles-WEBLKjJI' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-05-03T12_44_17_463Z-debug-0.log host.raspberrypi Cannot install iobroker.backitup@2.6.20: 217
-
-
-
@thomas-braun
Hab ich die Tage schon paar mal laufen lassen. Ist immer mein erster Versuch. Nur das Dashboardproblem bei ESPHome bleibt. In einem Thread von 2019 wurde das zur Betazeit beschrieben . Der damalige Beitrag hat als Lösung ein häufiges installieren hand deinstallieren beschrieben . Auch das hab ich versucht , bringt mich aber nicht weiter . -
Nach nochmaligen Installierens des Adapters geht es nun jedenfalls so weit, dass ich ins Dashboard komme. Dann gibts aber gleich ein neues Problem. Wenn ich eine .yaml auf ein Device ziehen will, spuckt er mir neue Fehlermeldungen aus:
INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/esp32-radar.yaml... INFO Generating C++ source... INFO Compiling app... Processing esp32-radar (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 5.3.0) -------------------------------------------------------------------------------- HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 warning: Calling missing SConscript without error is deprecated. Transition by adding must_exist=False to SConscript calls. Missing SConscript '/home/iobroker/.platformio/packages/framework-arduinoespressif32/tools/platformio-build.py' File "/home/iobroker/.platformio/platforms/espressif32/builder/frameworks/arduino.py", line 41, in <module> Library Manager: Installing FS Warning! Could not find the package with 'FS' requirements for your system 'linux_aarch64' Library Manager: Installing Update Warning! Could not find the package with 'Update' requirements for your system 'linux_aarch64' Library Manager: Installing ESPmDNS Warning! Could not find the package with 'ESPmDNS' requirements for your system 'linux_aarch64' Dependency Graph |-- AsyncTCP-esphome @ 1.2.2 |-- WiFi @ 1.2.7 |-- ESPAsyncWebServer-esphome @ 2.1.0 | |-- AsyncTCP-esphome @ 1.2.2 |-- DNSServer @ 1.1.0 Compiling .pioenvs/esp32-radar/src/esphome/components/api/api_connection.cpp.o sh: 1: xtensa-esp32-elf-g++: not found Compiling .pioenvs/esp32-radar/src/esphome/components/api/api_frame_helper.cpp.o sh: 1: xtensa-esp32-elf-g++: not found Compiling .pioenvs/esp32-radar/src/esphome/components/api/api_pb2.cpp.o sh: 1: xtensa-esp32-elf-g++: not found *** [.pioenvs/esp32-radar/src/esphome/components/api/api_connection.cpp.o] Error 127 Compiling .pioenvs/esp32-radar/src/esphome/components/api/api_pb2_service.cpp.o *** [.pioenvs/esp32-radar/src/esphome/components/api/api_frame_helper.cpp.o] Error 127 *** [.pioenvs/esp32-radar/src/esphome/components/api/api_pb2.cpp.o] Error 127 sh: 1: xtensa-esp32-elf-g++: not found *** [.pioenvs/esp32-radar/src/esphome/components/api/api_pb2_service.cpp.o] Error 127 ========================== [FAILED] Took 2.66 seconds ==========================