Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config checker fails 0.107.5->0.107.6 - pyozw 0.1.10 not found #1194

Closed
uphillbattle opened this issue Mar 25, 2020 · 14 comments · Fixed by #1201
Closed

Config checker fails 0.107.5->0.107.6 - pyozw 0.1.10 not found #1194

uphillbattle opened this issue Mar 25, 2020 · 14 comments · Fixed by #1201

Comments

@uphillbattle
Copy link

The problem

It seems that pyozw 0.1.10 is not available?

Environment

  • Home Assistant release with the issue: 0.107.5
  • Last working Home Assistant release (if known): 0.107.4
  • Operating environment (Hass.io/Docker/Windows/etc.): Docker
  • Integration causing this issue: config-checker
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml

Traceback/Error logs

INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0,
INFO:homeassistant.util.package:Attempting install of zeroconf==0.24.5,
INFO:homeassistant.util.package:Attempting install of PyNaCl==1.3.0,
INFO:homeassistant.util.package:Attempting install of hass-nabucasa==0.32.2,
INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20200318.1,
INFO:homeassistant.util.package:Attempting install of sqlalchemy==1.3.13,
INFO:homeassistant.util.package:Attempting install of HAP-python==2.7.0,
INFO:homeassistant.util.package:Attempting install of defusedxml==0.6.0,
INFO:homeassistant.util.package:Attempting install of netdisco==2.6.0,
INFO:homeassistant.util.package:Attempting install of pyfttt==0.3,
INFO:homeassistant.util.package:Attempting install of influxdb==5.2.3,
INFO:homeassistant.util.package:Attempting install of distro==1.4.0,
INFO:homeassistant.util.package:Attempting install of hbmqtt==0.9.5,
INFO:homeassistant.util.package:Attempting install of paho-mqtt==1.5.0,
INFO:homeassistant.util.package:Attempting install of jsonpath==0.82,
INFO:homeassistant.util.package:Attempting install of xmltodict==0.12.0,
INFO:homeassistant.util.package:Attempting install of pyTibber==0.13.3,
INFO:homeassistant.util.package:Attempting install of mutagen==1.43.0,
INFO:homeassistant.util.package:Attempting install of gTTS-token==1.1.3,
INFO:homeassistant.util.package:Attempting install of google-api-python-client==1.6.4,
INFO:homeassistant.util.package:Attempting install of httplib2==0.10.3,
INFO:homeassistant.util.package:Attempting install of oauth2client==4.0.0,
INFO:homeassistant.util.package:Attempting install of pymyq==2.0.1,
INFO:homeassistant.util.package:Attempting install of pywebpush==1.9.2,
INFO:homeassistant.util.package:Attempting install of aioharmony==0.1.13,
INFO:homeassistant.util.package:Attempting install of homeassistant-pyozw==0.1.10,
ERROR:homeassistant.util.package:Unable to install package homeassistant-pyozw==0.1.10: ERROR: Command errored out with exit status 1:,
   command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
,�
'"'"', '"'"',
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-13sw1opp --python-tag cp37,
       cwd: /tmp/pip-install-_cqgce7c/homeassistant-pyozw/,
  Complete output (17 lines):,
  sysargv ['/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py', 'bdist_wheel', '-d', '/tmp/pip-wheel-13sw1opp', '--python-tag', 'cp37'],
  Found SETUP_DIR : /tmp/pip-install-_cqgce7c/homeassistant-pyozw,
  <pyozw_setup.EmbedTemplate object at 0x7fef8e1271d0>,
  {'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.10'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'},
  ['six', 'PyDispatcher>=2.0.5'],
  running bdist_wheel,
  running build,
  running build_openzwave,
  Found g++ : None,
  Found gcc : None,
  Found make : None,
  Found gmake : None,
  Found cython : None,
  Found pkg-config : None,
  fetching https://raw.githubusercontent.com/home-assistant/python-openzwave/hass/archives/open-zwave-hass-0.1.10.zip into openzwave-embed/open-zwave.zip for version 0.1.10,
  Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...,
  error: [Errno 2] No such file or directory: 'make': 'make',
  ----------------------------------------,
  ERROR: Failed building wheel for homeassistant-pyozw,
  ERROR: Command errored out with exit status 1:,
   command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
,�
'"'"', '"'"',
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all,
       cwd: /tmp/pip-install-_cqgce7c/homeassistant-pyozw,
  Complete output (8 lines):,
  sysargv ['/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py', 'clean', '--all'],
  Found SETUP_DIR : /tmp/pip-install-_cqgce7c/homeassistant-pyozw,
  <pyozw_setup.EmbedTemplate object at 0x7f88ed2cb110>,
  {'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.10'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'},
  ['six', 'PyDispatcher>=2.0.5'],
  running clean,
  Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...,
  error: [Errno 2] No such file or directory: 'make': 'make',
  ----------------------------------------,
  ERROR: Failed cleaning build dir for homeassistant-pyozw,
    ERROR: Command errored out with exit status 1:,
     command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
,�
'"'"', '"'"',
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-bv9_w096/install-record.txt --single-version-externally-managed --compile,
         cwd: /tmp/pip-install-_cqgce7c/homeassistant-pyozw/,
    Complete output (16 lines):,
    sysargv ['/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py', 'install', '--record', '/tmp/pip-record-bv9_w096/install-record.txt', '--single-version-externally-managed', '--compile'],
    Found SETUP_DIR : /tmp/pip-install-_cqgce7c/homeassistant-pyozw,
    <pyozw_setup.EmbedTemplate object at 0x7f0aacf473d0>,
    {'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.10'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'},
    ['six', 'PyDispatcher>=2.0.5'],
    running install,
    flavor embed,
    running build_openzwave,
    Found g++ : None,
    Found gcc : None,
    Found make : None,
    Found gmake : None,
    Found cython : None,
    Found pkg-config : None,
    Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...,
    error: [Errno 2] No such file or directory: 'make': 'make',
    ----------------------------------------,
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_cqgce7c/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
,�
'"'"', '"'"',
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-bv9_w096/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.,
WARNING: You are using pip version 19.2.2, however version 20.0.2 is available.,
You should consider upgrading via the 'pip install --upgrade pip' command.,
Failed config,
  General Errors: ,
    - Component error: zwave - Requirements for zwave not found: ['homeassistant-pyozw==0.1.10'].,
,
Successful config (partial),

Additional information

@probot-home-assistant
Copy link

Hey there @home-assistant/z-wave, mind taking a look at this issue as its been labeled with a integration (zwave) you are listed as a codeowner for? Thanks!

@pcroozen
Copy link

pcroozen commented Mar 25, 2020

Are you sure the environment in the OP shouldn't be (considering the subject):

Environment

  • Home Assistant release with the issue: 0.107.6
  • Last working Home Assistant release (if known): 0.107.5

I'm on 0.107.5 and running the config checker against latest (0.107.6) and getting the same issue as you posted above. But when I run config checker against 0.107.5 (the same version as HA is currently running on my pi3) there are no issues (as expected).

Could it be an Add-on issue (Check Home Assistant configuration)? I don't dare to update to try it out.

@sutyagin-tef
Copy link

same problem

@uphillbattle
Copy link
Author

Same problem when, on 0.107.5, running the config checker for upgrade to 0.107.7

@pcroozen
Copy link

@pvizeli Do you have any thoughts on this issue?

@pvizeli
Copy link
Member

pvizeli commented Mar 26, 2020

Yes, is a add-on issue, let me fix that

@mickt34
Copy link

mickt34 commented Mar 26, 2020

Excellent, glad you found it have the same problem. But Ive already installed 107.6 :-(

@mickt34
Copy link

mickt34 commented Mar 26, 2020

Not sure if this helps, I forgot to do an apt-get update before I upgraded to 107.6, so after doing that all my z-wave devices magically came back. I'm using a pi 4 with buster and HA is installed by hand.

@pcroozen
Copy link

@mickt34 That is good news. I did that before running the config checker again. It doesn't fix the issue with the config checker for me (pi 3, buster and HA manually installed). And I'd like to wait to update before that is fixed.

@pvizeli pvizeli transferred this issue from home-assistant/core Mar 27, 2020
@sutyagin
Copy link

This is from my error log:
`2020-03-29 09:34:19 ERROR (SyncWorker_3) [homeassistant.util.package] Unable to install package homeassistant-pyozw==0.1.7: ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py'"'"'; file='"'"'/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-qf37prv_
cwd: /tmp/pip-install-118zd8_n/homeassistant-pyozw/
Complete output (17 lines):
sysargv ['/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py', 'bdist_wheel', '-d', '/tmp/pip-wheel-qf37prv_']
Found SETUP_DIR : /tmp/pip-install-118zd8_n/homeassistant-pyozw
<pyozw_setup.EmbedTemplate object at 0x7f786c0b1250>
{'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.7'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
['six', 'PyDispatcher>=2.0.5']
running bdist_wheel
running build
running build_openzwave
Found g++ : None
Found gcc : None
Found make : None
Found gmake : None
Found cython : /usr/local/bin/cython
Found pkg-config : None
fetching https://raw.githubusercontent.com/home-assistant/python-openzwave/hass/archives/open-zwave-hass-0.1.7.zip into openzwave-embed/open-zwave.zip for version 0.1.7
Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
error: [Errno 2] No such file or directory: 'make': 'make'

ERROR: Failed building wheel for homeassistant-pyozw
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py'"'"'; file='"'"'/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' clean --all
cwd: /tmp/pip-install-118zd8_n/homeassistant-pyozw
Complete output (8 lines):
sysargv ['/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py', 'clean', '--all']
Found SETUP_DIR : /tmp/pip-install-118zd8_n/homeassistant-pyozw
<pyozw_setup.EmbedTemplate object at 0x7f931032d350>
{'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.7'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
['six', 'PyDispatcher>=2.0.5']
running clean
Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
error: [Errno 2] No such file or directory: 'make': 'make'

ERROR: Failed cleaning build dir for homeassistant-pyozw
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py'"'"'; file='"'"'/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-r8njikpk/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7m/homeassistant-pyozw
cwd: /tmp/pip-install-118zd8_n/homeassistant-pyozw/
Complete output (16 lines):
sysargv ['/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py', 'install', '--record', '/tmp/pip-record-r8njikpk/install-record.txt', '--single-version-externally-managed', '--compile', '--install-headers', '/usr/local/include/python3.7m/homeassistant-pyozw']
Found SETUP_DIR : /tmp/pip-install-118zd8_n/homeassistant-pyozw
<pyozw_setup.EmbedTemplate object at 0x7eff2b9b83d0>
{'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.7'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
['six', 'PyDispatcher>=2.0.5']
running install
flavor embed
running build_openzwave
Found g++ : None
Found gcc : None
Found make : None
Found gmake : None
Found cython : /usr/local/bin/cython
Found pkg-config : None
Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
error: [Errno 2] No such file or directory: 'make': 'make'
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py'"'"'; file='"'"'/tmp/pip-install-118zd8_n/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-r8njikpk/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7m/homeassistant-pyozw Check the logs for full command output.`

@canedje
Copy link

canedje commented Mar 29, 2020

In 107.7 still the same error:

INFO:homeassistant.util.package:Attempting install of homeassistant-pyozw==0.1.10
ERROR:homeassistant.util.package:Unable to install package homeassistant-pyozw==0.1.10: ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-8vrsdlcg --python-tag cp37
       cwd: /tmp/pip-install-yl9m_8l0/homeassistant-pyozw/
  Complete output (17 lines):
  sysargv ['/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py', 'bdist_wheel', '-d', '/tmp/pip-wheel-8vrsdlcg', '--python-tag', 'cp37']
  Found SETUP_DIR : /tmp/pip-install-yl9m_8l0/homeassistant-pyozw
  <pyozw_setup.EmbedTemplate object at 0x7f91892290>
  {'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.10'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
  ['six', 'PyDispatcher>=2.0.5']
  running bdist_wheel
  running build
  running build_openzwave
  Found g++ : None
  Found gcc : None
  Found make : None
  Found gmake : None
  Found cython : None
  Found pkg-config : None
  fetching https://raw.githubusercontent.com/home-assistant/python-openzwave/hass/archives/open-zwave-hass-0.1.10.zip into openzwave-embed/open-zwave.zip for version 0.1.10
  Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
  error: [Errno 2] No such file or directory: 'make': 'make'
  ----------------------------------------
  ERROR: Failed building wheel for homeassistant-pyozw
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
       cwd: /tmp/pip-install-yl9m_8l0/homeassistant-pyozw
  Complete output (8 lines):
  sysargv ['/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py', 'clean', '--all']
  Found SETUP_DIR : /tmp/pip-install-yl9m_8l0/homeassistant-pyozw
  <pyozw_setup.EmbedTemplate object at 0x7f991842d0>
  {'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.10'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
  ['six', 'PyDispatcher>=2.0.5']
  running clean
  Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
  error: [Errno 2] No such file or directory: 'make': 'make'
  ----------------------------------------
  ERROR: Failed cleaning build dir for homeassistant-pyozw
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-1n1fi340/install-record.txt --single-version-externally-managed --compile
         cwd: /tmp/pip-install-yl9m_8l0/homeassistant-pyozw/
    Complete output (16 lines):
    sysargv ['/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py', 'install', '--record', '/tmp/pip-record-1n1fi340/install-record.txt', '--single-version-externally-managed', '--compile']
    Found SETUP_DIR : /tmp/pip-install-yl9m_8l0/homeassistant-pyozw
    <pyozw_setup.EmbedTemplate object at 0x7fa9042450>
    {'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.10'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
    ['six', 'PyDispatcher>=2.0.5']
    running install
    flavor embed
    running build_openzwave
    Found g++ : None
    Found gcc : None
    Found make : None
    Found gmake : None
    Found cython : None
    Found pkg-config : None
    Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
    error: [Errno 2] No such file or directory: 'make': 'make'
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-1n1fi340/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
WARNING: You are using pip version 19.2.2, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
INFO:homeassistant.util.package:Attempting install of mutagen==1.43.0
INFO:homeassistant.util.package:Attempting install of gTTS-token==1.1.3
Failed config
  General Errors: 
    - Component error: zwave - Requirements for zwave not found: ['homeassistant-pyozw==0.1.10'].

Successful config (partial)

@uphillbattle
Copy link
Author

this is a poor show.

@sutyagin The way I understand it, major parts of the Home Assistant development is done by volunteers and you get it for free. A bit of patience is therefore the least we (who don't contribute much) can show.

@tprelog
Copy link

tprelog commented Mar 31, 2020

Yes, is a add-on issue, let me fix that

@pvizeli - Could this be more than just an addon issue?

I'm having the same issue as well except I'm still running Home Assistant Core from virtualenv. I first noticed this starting with homeassistant-pyozw==0.1.09

In my case I was able to fix this by manually installing homeassistant-pyozw==0.1.10 to the venv
( I had to use this same workaround for homeassistant-pyozw==0.1.09 )

Stop Home Assistant

## Exec these commands as the homeassistant user

source /srv/homeassistant/bin/activate
pip3 install --upgrade homeassistant-pyozw==0.1.10
deactivate

Restart Home Assistant

@pcroozen
Copy link

pcroozen commented Apr 1, 2020

Thanks for fixing!
I've updated config checker to 3.2.0 and it ran successfully. I do see some strange messages after the check has completed:
[07:22:54] INFO: Configuration check finished - no error found! :)
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

I updated HA to 0.107.7 without problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants