Closed Ernst79 closed 4 years ago
Hey there @home-assistant/frontend, mind taking a look at this issue as its been labeled with a integration (frontend
) you are listed as a codeowner for? Thanks!
Broken by https://github.com/home-assistant/home-assistant/pull/27988 Hot fix is reverting it or running pip install home-assistant-frontend
Thanks for the hotfix, but I think this issue should be solved in the code, as otherwise everybody with a new home assistant install will run into this issue.
I did a little further debugging. You're right about home-assistant-frontend not being installed. The manifest.json file does however have the requirement "home-assistant-frontend==20191023.0" and it is also in requirements_all.txt. This package is available on pypi.org, so that shouldn't be an issue. Nevertheless, I don't see it in the venv/lib/python3.7/site-packages folder, where it should be placed after installation. For some reason it's not being installed, I guess. I don't see any error about not being able to install this, or even that it tries to install it. Not sure where to look further.
Closed my alternative PR, this was not a good solution. Moving import down is the way to go, see Balloobs reaction in my PR.
Home Assistant release with the issue: 0.102 (dev) 0.101.0b0
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.): Raspian Lite Buster
Description of problem: I tried to setup a new development environment on a Raspian Lite (buster) image. After starting the 'hass' command, I get an Unable to import 'hass_frontend' error. Had the same issue yesterday with the beta version 0.101.0b0. Did not change anything in the configuration.yaml file, just a clean install.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information: