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.

Config Flow could not be loaded TrueNAS

See original GitHub issue

Describe the bug

On adding the integration in Config->Integrations->Add Integration it loads for about 5 minutes and then errors out in “Config Flow could not be loaded” image

I am running Home Assistant Core on TrueNAS (That’s FreeBSD as host OS) 12.0-U4 with Home Assistant 2021.5.4.

This seems to be a similar issue to #183 (but the issue turned around from FreeNAS to OMV5, because the topic changed.)

I have tried to install the mentioned “build-essentials”, but these don’t seem to exist on FreeBSD, with a “build” package not helping.

Version of the integration

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

1.5.0 (newest)

Logs

Logger: homeassistant.util.package
Source: util/package.py:96
First occurred: 10:19:20 AM (2 occurrences)
Last logged: 10:27:40 AM

Unable to install package glocaltokens==0.3.1: ERROR: Command errored out with exit status 1: command: 
/usr/local/share/homeassistant/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-finegkt_/grpcio-tools/setup.py'"'"'; __file__='"'"'/tmp/pip-install-finegkt_/grpcio-tools/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-azr81ghu cwd: /tmp/pip-install-finegkt_/grpcio-tools/ Complete output (2051 lines): running bdist_wheel running build running build_py creating build creating build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8 creating build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools copying grpc_tools/command.py -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools copying grpc_tools/__init__.py -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools copying grpc_tools/protoc.py -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools creating build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto creating build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google creating build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf copying grpc_tools/_proto/google/protobuf/wrappers.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf copying grpc_tools/_proto/google/protobuf/type.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf copying grpc_tools/_proto/google/protobuf/timestamp.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf copying grpc_tools/_proto/google/protobuf/struct.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf copying grpc_tools/_proto/google/protobuf/source_context.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf copying grpc_tools/_proto/google/protobuf/field_mask.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf copying grpc_tools/_proto/google/protobuf/empty.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf copying grpc_tools/_proto/google/protobuf/duration.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf copying grpc_tools/_proto/google/protobuf/descriptor.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf creating build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf/compiler copying grpc_tools/_proto/google/protobuf/compiler/plugin.proto -> build/lib.freebsd-12.2-RELEASE-p6-amd64-3.8/grpc_tools/_proto/google/protobuf/compiler

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
leikoiljacommented, Oct 26, 2021

Gents, I am in the process of building my own TrueNas in the next few weeks. Will also move my homeassistance instance to that. Once i m there it will be easier for me to see what could be the problem and what can we do about it 😃

1reaction
KapJIcommented, Jun 29, 2021

Looks like GRPC didn’t compile successfully on your host.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting a Config Flow Could Not Be Loaded #183 - GitHub
Describe the bug I try to install and I get this error: I tried to see the log, but no information and apparently...
Read more >
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 >
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 >
I cannot enter TrueNas after about ^15 min^ when using IPFW ...
Hello, I am trying to add security to TrueNAS by adding IPFW rules. Doing that, leads to a situation where, after some period...
Read more >
"config flow could not be loaded" : r/homeassistant - Reddit
Install mqtt add on ,or integration, and restart. Or try another integration first.
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