Installing HACS (SNAP) on CORE system install fails

Hi All,
This is my first post to the group. I’m of course of newbie with Home Assistant.
Thanks in advance for any help!!
Kevin W.

When I try to install HACS from “Add Integration” I get the following error:
Config flow could not be loaded: {“message”:“Invalid handler specified”}

I captured the following logs:
Logger: homeassistant.config_entries
Source: config_entries.py:864
Error occurred loading flow for integration hacs: No module named ‘grpclib’

Note, that I checked that grpclib was installed using the following:
python3 -m pip install grpclib
Requirement already satisfied: grpclib in /usr/lib/python3.6/site-packages (0.4.2)
Requirement already satisfied: dataclasses; python_version < “3.7” in /usr/lib/python3.6/site-packages (from grpclib) (0.8)
Requirement already satisfied: multidict in /usr/lib64/python3.6/site-packages (from grpclib) (5.2.0)
Requirement already satisfied: h2<5,>=3.1.0 in /usr/lib/python3.6/site-packages (from grpclib) (4.1.0)
Requirement already satisfied: hpack<5,>=4.0 in /usr/lib/python3.6/site-packages (from h2<5,>=3.1.0->grpclib) (4.0.0)
Requirement already satisfied: hyperframe<7,>=6.0 in /usr/lib/python3.6/site-packages (from h2<5,>=3.1.0->grpclib) (6.0.1)

The following is my system setup:
OS: OpenSuse Leap 15.5
Linux OS : 5.14.21-150500.55.31-default #1
Installed Home Assistant via SNAP
Running on VMWare ESXI as a VM
Running Home Assistant 2023.11 Core Only Version

You don’t install hacs via integrations, you install it via the instructions. Prerequisites | HACS

But you may be failing on prerequisite 2

  • You are running a supported Home Assistant installation.

Hi,

Yes, its appears that HACS store is only available for Home Assistant Operating System or Home Assistant Supervised installation method.

It’s not available for SNAP (CORE) install method. However, you can achieve the same manually, refer to the documentation by the vendor of the application you’d like to install.

Hi All,

Installing HACS on a CORE(SNAP) based system is available with the link above, you just need to do some manual steps. There is no add on store.

I wanted to document here I was successful installing HACS on a a CORE (SNAP) system.

I traced the issue to a file called config_entries.py. It seemed that something was wrong with the imports. I compared the imports with other config_entries.py, and found some differences. I updated those imports and got further in the install, but had other exceptions. I even restarted my system many times, no luck.

So, as a last ditch effort, I grabbed the latest config_entries from the repository and replace the imports in the file and restarted again. So, just like that it worked.

I suspect that there was either was a typo or some bad characters in the file.

Rubbish, it is available for all supported installations, haos, supervised, container, core.

Hello Kevin, I got same problem here, could you please share the “latest config_entries.py” with imports update? thanks a lot.

Hi,
I gave up the SNAP installation on OpenSUSE. I was having too many configuration issues. Since I was running on an ESXI VM, I decided to install the Home Assistant VM for ESXi. I’m very happy I made this change. Things are working much better for me.