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.

Getting a Config Flow Could Not Be Loaded

See original GitHub issue

Describe the bug

I try to install and I get this error: image

I tried to see the log, but no information and apparently the integration is installed

Version of the integration

If you are unsure about the version check the github release here.

1.4.1

Home Assistat  2021.4.3 in FreeNas Jail

Logs

strange but I don’t have any log output during the install


Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
SuperSuavecommented, Apr 29, 2021

I didn’t have any luck following that guide you posted. I guess Home Assistant Docker is based on Alpine and uses different things? After a lot of searching around, I wound up finding another related issue that helped here. From what I can tell on that issue, this should’ve been resolved?

This got me up and running:

  • sudo docker exec -it (container ID) bash
  • apk add gcc g++ linux-headers
1reaction
KapJIcommented, Apr 28, 2021

@SuperSuave I think this is the reason:

2021-04-27 23:35:09 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package glocaltokens==0.3.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-vnzfbo2a/grpcio-tools/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vnzfbo2a/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-1y4q3hr3
         cwd: /tmp/pip-install-vnzfbo2a/grpcio-tools/
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-vnzfbo2a/grpcio-tools/setup.py", line 112, in <module>
        if check_linker_need_libatomic():
      File "/tmp/pip-install-vnzfbo2a/grpcio-tools/setup.py", line 73, in check_linker_need_libatomic
        cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'],
      File "/usr/local/lib/python3.8/subprocess.py", line 854, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "/usr/local/lib/python3.8/subprocess.py", line 1702, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 'cc'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

You need to have compiler installed (build-essential on debian based systems).

Read more comments on GitHub >

github_iconTop Results From Across the Web

HACS installing problem via integration "error: Config flow ...
Is there a solution for this bug? Have the same problem: “Config flow could not be loaded” after following the installation steps for...
Read more >
"config flow could not be loaded" : r/homeassistant - Reddit
I'm getting "config flow could not be loaded" when trying to add my first integration (Tasmota). I've…
Read more >
Config flow could not be loaded: undefined (Deconz) #68165
I am continually getting the following error after any system update to the HA system. image. Then when you click on configure it...
Read more >
Home Assistant | Dose any 1 know why config flow could not ...
Last couple of days I've been experiencing a terrible lagg on all Soundflow commands. And not just a bit slower but more like...
Read more >
Smartthings/Home Assistant integration error message
... smartthings I receive error message “Le flux de configuration n'a pas pu être chargé” (The configuration flow could not be loaded).
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