question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version 1.9.6 fails to install glocaltokens==0.6.1 in home assistant official containers

See original GitHub issue

Describe the bug

With the last release (v1.9.6) the integration is unable to start due to dependency install failure due to missing c++ in the container.

This is probably related to a dependency not having a wheel for the Python/OS version of the official Home Assistant containers.

Version of the integration

1.9.6

Logs

Unable to install package glocaltokens==0.6.1: ERROR: Command errored out with exit status 1: command: /usr/local/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-mqsqsqz6/grpcio-tools/setup.py'"'"'; __file__='"'"'/tmp/pip-install-mqsqsqz6/grpcio-tools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-rczzd0sb cwd: /tmp/pip-install-mqsqsqz6/grpcio-tools/ Complete output (11 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-mqsqsqz6/grpcio-tools/setup.py", line 180, in <module> if check_linker_need_libatomic(): File "/tmp/pip-install-mqsqsqz6/grpcio-tools/setup.py", line 91, in check_linker_need_libatomic cpp_test = subprocess.Popen([cxx, '-x', 'c++', '-std=c++11', '-'], File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'c++' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. WARNING: You are using pip version 20.2.4; however, version 22.0.3 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:18

github_iconTop GitHub Comments

2reactions
joostvkempencommented, Feb 5, 2022

works for me! thanks for the great work @KapJI @leikoilja !

2reactions
skgsergiocommented, Feb 4, 2022

Installed component from master and it works again. I did some tests with the sruff I have set up with this component and looks normal.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error updating Home Assistant Core 'HomeAssistantCore. ...
I am unable to update to the latest patch. It complains about Docker, however my system matches the requirement: root@homeassistant:~# ...
Read more >
Journal issues with supervised install after updating to ...
I just finished my migration to Home Assistant Operating System, problem solved. I'm using a second Raspberry Pi to run docker containers that ......
Read more >
Error updating Home Assistant Core 'HomeAssistantCore. ...
I am unable to update to the latest patch. It complains about Docker, however my system matches the requirement: root@homeassistant:~# ...
Read more >
Update 2002.9.5 -> 2002.9.6 fails due to supervisor
I can't update to the latest. home-assistant.log: Traceback (most ... in async_install await async_update_core(self.hass, version=version, ...
Read more >
'HomeAssistantCore.update' blocked from execution ...
Seems my image or container portainer/portainer-ce:latest is bringing up ... Error updating Home Assistant Core 'HomeAssistantCore.update' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found