Jump to content

panama

Forum Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by panama

  1. В 17.10.2022 в 20:19, Jabber сказал:

    Напишите пожалуйста сколько примерно по времени. 

    С python3-aiohomekit стремительно, а затем 'Downloading http://bin.entware.net/mipselsf-k3.4/test/HA/homeassistant_2022.9.5-1_mipsel-3.4.ipk' И уже второй час пошел, а все на том-же месте. Вижу что opkg upgrade отъедает до 49% от CPU все..

    Допишу - часа два то точно обновлялось. Работает, в финале установки выдало такое -

    Collected errors:
     * remove_obsolesced_files: unlinking /opt/lib/python3.10/site-packages/homeassistant-2022.9.4-py3.10.egg-info/entry_points.txt failed: No such file or directory.
     * remove_obsolesced_files: unlinking /opt/lib/python3.10/site-packages/homeassistant-2022.9.4-py3.10.egg-info/requires.txt failed: No such file or directory.
     * remove_obsolesced_files: unlinking /opt/lib/python3.10/site-packages/homeassistant-2022.9.4-py3.10.egg-info/PKG-INFO failed: No such file or directory.
     * remove_obsolesced_files: unlinking /opt/lib/python3.10/site-packages/homeassistant-2022.9.4-py3.10.egg-info/not-zip-safe failed: No such file or directory.
     * remove_obsolesced_files: unlinking /opt/lib/python3.10/site-packages/homeassistant-2022.9.4-py3.10.egg-info/dependency_links.txt failed: No such file or directory.
     * remove_obsolesced_files: unlinking /opt/lib/python3.10/site-packages/homeassistant-2022.9.4-py3.10.egg-info/SOURCES.txt failed: No such file or directory.
     * remove_obsolesced_files: unlinking /opt/lib/python3.10/site-packages/homeassistant-2022.9.4-py3.10.egg-info/top_level.txt failed: No such file or directory.
     * opkg_install_pkg: Failed to determine obsolete files from previously installed homeassistant

     

    ждать приходилось более часа точно

  2. Скрытый текст
    В 15.06.2022 в 16:21, TheBB сказал:

    bump to 2022.6.6 (прим. те же, см. выше)

    screen_2022-06-15_16:02:32-ha.png

     

     

    Обновляю первый раз.

    Что-то не получается обновиться. 

    /opt/etc/init.d/S99hass stop

    opkg update
    opkg upgrade

    без ошибок, просто висит на 

    Upgrading homeassistant on root from 2022.6.1-1 to 2022.6.6-1...
    Downloading http://bin.entware.net/mipselsf-k3.4/test/HA/homeassistant_2022.6.6-1_mipsel-3.4.ipk
    Пробовал скачать этот файл и установить вручную, тоже самое

    Upgrading homeassistant on root from 2022.6.1-1 to 2022.6.6-1...

    Что я делаю не так.

    Может мало жду, минут 10 ждал точно. Реакции нет. 

  3. ошибки, которые при запуске команды hass -c /opt/var/lib/homeassistant --debug

    Скрытый текст

    2022-06-11 11:48:17 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package aiodiscover==1.4.11: error: subprocess-exited-with-error

      × Running setup.py install for netifaces did not run successfully.
      │ exit code: 1
      ╰─> [19 lines of output]
          /opt/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
            warnings.warn(msg, warning_class)
          running install
          /opt/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
            warnings.warn(
          running build
          running build_ext
          checking for getifaddrs...not found.
          checking for getnameinfo...not found.
          checking for socket IOCTLs...not found.
          checking for optional header files...none found.
          checking whether struct sockaddr has a length field...no.
          checking which sockaddr_xxx structs are defined...none!
          checking for routing socket support...no.
          checking for sysctl(CTL_NET...) support...no.
          checking for netlink support...no.
          building 'netifaces' extension
          gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -pthread -I/opt/include -fPIC -DNETIFACES_VERSION=0.11.0 -I/opt/include/python3.10 -c netifaces.c -o build/temp.linux-mips-cpython-310/netifaces.o
          error: command 'gcc' failed: No such file or directory
          [end of output]

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

    × Encountered error while trying to install package.
    ╰─> netifaces

    note: This is an issue with the package mentioned above, not pip.
    hint: See above for output from the failure.


     

  4. У меня прошла установка на KN-1011 по данному сценарию:

    Скрытый текст

    echo "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA" >> /opt/etc/opkg.conf
    opkg update
    opkg install homeassistant
    opkg install python3-pyturbojpeg
    opkg update
    /opt/etc/init.d/S99hass start

    обновить питон
    python -m pip install pip==21.2.4

    После установки есть ошибки

     
    Скрытый текст
    Unable to install package aiodiscover==1.4.11: WARNING: Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages sysconfig: /lib/python3.10/site-packages WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages sysconfig: /lib/python3.10/site-packages WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps/include/python3.10/netifaces sysconfig: /include/python3.10/netifaces WARNING: Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps/bin sysconfig: /bin WARNING: Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps sysconfig: . WARNING: Additional context: user = True home = None root = None prefix = '' ERROR: Command errored out with exit status 1: command: /opt/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-gubraa19/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-gubraa19/netifaces/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-8zx_1hba/install-record.txt --single-version-externally-managed --prefix '' --user --prefix= --compile --install-headers /opt/var/lib/homeassistant/deps/include/python3.10/netifaces cwd: /opt/tmp/pip-install-gubraa19/netifaces/ Complete output (15 lines): running install running build running build_ext checking for getifaddrs...not found. checking for getnameinfo...not found. checking for socket IOCTLs...not found. checking for optional header files...none found. checking whether struct sockaddr has a length field...no. checking which sockaddr_xxx structs are defined...none! checking for routing socket support...no. checking for sysctl(CTL_NET...) support...no. checking for netlink support...no. building 'netifaces' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -pthread -I/opt/include -fPIC -DNETIFACES_VERSION=0.11.0 -I/opt/include/python3.10 -c netifaces.c -o build/temp.linux-mips-3.10/netifaces.o error: command 'gcc' failed: No such file or directory ---------------------------------------- ERROR: Command errored out with exit status 1: /opt/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-gubraa19/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-gubraa19/netifaces/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-8zx_1hba/install-record.txt --single-version-externally-managed --prefix '' --user --prefix= --compile --install-headers /opt/var/lib/homeassistant/deps/include/python3.10/netifaces Check the logs for full command output. WARNING: You are using pip version 21.2.4; however, version 22.1.2 is available. You should consider upgrading via the '/opt/bin/python3 -m pip install --upgrade pip' command.
    03:48:25  (ОШИБКА) util/package.py - первое сообщение получено 10 июня 2022 г., 23:02:13 и повторялось 6 раз
     

    Logger: haffmpeg.core
    Source: deps/lib/python3.10/site-packages/haffmpeg/core.py:136
    First occurred: 10 июня 2022 г., 23:07:28 (1 occurrences)
    Last logged: 10 июня 2022 г., 23:07:28

    FFmpeg fails [Errno 2] No such file or directory: 'ffmpeg'
    Traceback (most recent call last):
      File "/opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/haffmpeg/core.py", line 136, in open
        self._proc = await self._loop.run_in_executor(None, proc_func)
      File "/opt/lib/python3.10/concurrent/futures/thread.py", line 58, in run
      File "/opt/lib/python3.10/subprocess.py", line 966, in __init__
      File "/opt/lib/python3.10/subprocess.py", line 1842, in _execute_child
    FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
     

    Logger: homeassistant.setup
    Source: setup.py:162
    First occurred: 10 июня 2022 г., 23:04:11 (2 occurrences)
    Last logged: 10 июня 2022 г., 23:04:52

    Setup failed for dhcp: Requirements for dhcp not found: ['aiodiscover==1.4.11'].
    Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: dhcp')

    Logger: homeassistant.setup
    Source: setup.py:136
    First occurred: 10 июня 2022 г., 23:04:52 (1 occurrences)
    Last logged: 10 июня 2022 г., 23:04:52

    Unable to set up dependencies of default_config. Setup failed for dependencies: dhcp

     

    В целом НА работает.

    Интеграции нужные мне, tuya, xiaomi не устанавливаются, ругается на "Не удалось загрузить мастер настройки: undefined"

    Пока разбираюсь.

    • Upvote 1
×
×
  • Create New...