Jump to content

Botsmall

Forum Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Botsmall

  1. Добрый день.

    Правильно ли я понимаю, чтобы это дело подвязать в HA, неоходимо помимо установки Node-RED Companion через HACS в HA, поставить node-red-contrib-home-assistant-websocket в пакете node-red.

    Если это так, то я никак не могу победить проблему:

    Цитата

    25 Jul 13:42:06 - [info] Installed module: node-red-contrib-home-assistant-websocket
    25 Jul 13:42:08 - [info] Added node types:
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha_entity_filter : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-api : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-binary-sensor : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-button : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:api-call-service : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:server : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:api-current-state : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-device : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-device-config : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-entity : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-entity-config : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:server-events : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:server-state-changed : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-fire-event : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-get-entities : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:api-get-history : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-number : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:poll-state : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:api-render-template : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-select : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-sensor : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-sentence : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-switch : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-tag : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-text : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-time : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-time-entity : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:trigger-state : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-update-config : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-wait-until : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-webhook : ReferenceError: Intl is not defined
    25 Jul 13:42:08 - [info]  - node-red-contrib-home-assistant-websocket:ha-zone : ReferenceError: Intl is not defined

    В списке palette вижу восклицательный знак с описанием: [object Object].

    Подскажите в каком направлении двигаться. Заранее спасибо.

  2. Добрый день.

    При попытке поставить интеграцию ZHA, имею:

    Цитата

    2023-07-14 00:06:35.432 ERROR (SyncWorker_2) [scapy.runtime] Cannot set filter: libpcap is not available. Cannot compile filter !
    2023-07-14 00:06:35.647 ERROR (SyncWorker_2) [homeassistant.components.dhcp] Cannot watch for dhcp packets without a functional packet filter: libpcap is not available. Cannot compile filter !
    2023-07-14 00:12:35.272 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package zigpy-znp==0.11.1: error: subprocess-exited-with-error
      
      × pip subprocess to install build dependencies did not run successfully.
      │ exit code: 1
      ╰─> [57 lines of output]
          Collecting maturin<2.0,>=1.0
            Downloading maturin-1.1.0.tar.gz (181 kB)
               ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.2/181.2 kB 56.0 kB/s eta 0:00:00
            Installing build dependencies: started
            Installing build dependencies: still running...
            Installing build dependencies: finished with status 'done'
            Getting requirements to build wheel: started
            Getting requirements to build wheel: finished with status 'done'
            Preparing metadata (pyproject.toml): started
            Preparing metadata (pyproject.toml): finished with status 'done'
          Building wheels for collected packages: maturin
            Building wheel for maturin (pyproject.toml): started
            Building wheel for maturin (pyproject.toml): finished with status 'error'
            error: subprocess-exited-with-error
          
            × Building wheel for maturin (pyproject.toml) did not run successfully.
            │ exit code: 1
            ╰─> [33 lines of output]
                running bdist_wheel
                running build
                running build_py
                creating build
                creating build/lib.linux-mips-cpython-311
                creating build/lib.linux-mips-cpython-311/maturin
                copying maturin/__main__.py -> build/lib.linux-mips-cpython-311/maturin
                copying maturin/import_hook.py -> build/lib.linux-mips-cpython-311/maturin
                copying maturin/__init__.py -> build/lib.linux-mips-cpython-311/maturin
                running egg_info
                creating maturin.egg-info
                writing maturin.egg-info/PKG-INFO
                writing dependency_links to maturin.egg-info/dependency_links.txt
                writing requirements to maturin.egg-info/requires.txt
                writing top-level names to maturin.egg-info/top_level.txt
                writing manifest file 'maturin.egg-info/SOURCES.txt'
                reading manifest file 'maturin.egg-info/SOURCES.txt'
                reading manifest template 'MANIFEST.in'
                warning: no files found matching '*.json' under directory 'src/python_interpreter'
                writing manifest file 'maturin.egg-info/SOURCES.txt'
                running build_ext
                running build_rust
                error: can't find Rust compiler
          
                If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
          
                To update pip, run:
          
                    pip install --upgrade pip
          
                and then retry package installation.
          
                If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
                [end of output]
          
            note: This error originates from a subprocess, and is likely not a problem with pip.
            ERROR: Failed building wheel for maturin
          Failed to build maturin
          ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects
          [end of output]
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error

    × pip subprocess to install build dependencies did not run successfully.
    │ exit code: 1
    ╰─> See above for output.

    note: This error originates from a subprocess, and is likely not a problem with pip.
    2023-07-14 00:16:07.045 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package zigpy-znp==0.11.1: error: subprocess-exited-with-error
      
      × pip subprocess to install build dependencies did not run successfully.
      │ exit code: 1
      ╰─> [56 lines of output]
          Collecting maturin<2.0,>=1.0
            Using cached maturin-1.1.0.tar.gz (181 kB)
            Installing build dependencies: started
            Installing build dependencies: still running...
            Installing build dependencies: finished with status 'done'
            Getting requirements to build wheel: started
            Getting requirements to build wheel: finished with status 'done'
            Preparing metadata (pyproject.toml): started
            Preparing metadata (pyproject.toml): finished with status 'done'
          Building wheels for collected packages: maturin
            Building wheel for maturin (pyproject.toml): started
            Building wheel for maturin (pyproject.toml): finished with status 'error'
            error: subprocess-exited-with-error
          
            × Building wheel for maturin (pyproject.toml) did not run successfully.
            │ exit code: 1
            ╰─> [33 lines of output]
                running bdist_wheel
                running build
                running build_py
                creating build
                creating build/lib.linux-mips-cpython-311
                creating build/lib.linux-mips-cpython-311/maturin
                copying maturin/__main__.py -> build/lib.linux-mips-cpython-311/maturin
                copying maturin/import_hook.py -> build/lib.linux-mips-cpython-311/maturin
                copying maturin/__init__.py -> build/lib.linux-mips-cpython-311/maturin
                running egg_info
                creating maturin.egg-info
                writing maturin.egg-info/PKG-INFO
                writing dependency_links to maturin.egg-info/dependency_links.txt
                writing requirements to maturin.egg-info/requires.txt
                writing top-level names to maturin.egg-info/top_level.txt
                writing manifest file 'maturin.egg-info/SOURCES.txt'
                reading manifest file 'maturin.egg-info/SOURCES.txt'
                reading manifest template 'MANIFEST.in'
                warning: no files found matching '*.json' under directory 'src/python_interpreter'
                writing manifest file 'maturin.egg-info/SOURCES.txt'
                running build_ext
                running build_rust
                error: can't find Rust compiler
          
                If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
          
                To update pip, run:
          
                    pip install --upgrade pip
          
                and then retry package installation.
          
                If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
                [end of output]
          
            note: This error originates from a subprocess, and is likely not a problem with pip.
            ERROR: Failed building wheel for maturin
          Failed to build maturin
          ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects
          [end of output]
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error

    × pip subprocess to install build dependencies did not run successfully.
    │ exit code: 1
    ╰─> See above for output.

    note: This error originates from a subprocess, and is likely not a problem with pip.
     

     

    Я так понимаю, это все в эту корзину? : 

    "....т.к. один из пакетов затребовал rust компилятор.....Решил дальше не копать и дождаться обновления HA для работы с питоном 3.11."

×
×
  • Create New...