Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HACS does not start after update to 0.16.0 #744

Closed
paulbdavis opened this issue Oct 27, 2019 · 4 comments
Closed

HACS does not start after update to 0.16.0 #744

paulbdavis opened this issue Oct 27, 2019 · 4 comments

Comments

@paulbdavis
Copy link

Version of HACS

0.16.0

Describe the bug

HACS fails to start up when hass is started

Debug log


2019-10-27 11:52:39 ERROR (MainThread) [homeassistant.setup] Error during setup of component hacs
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 167, in _async_setup_component
    hass, processed_config
  File "/config/custom_components/hacs/__init__.py", line 37, in async_setup
    config[DOMAIN], config[DOMAIN].get("options")
  File "/config/custom_components/hacs/hacsbase/configuration.py", line 44, in from_dict
    country=options.get("country"),
AttributeError: 'NoneType' object has no attribute 'get'


@hacs-bot
Copy link

hacs-bot bot commented Oct 27, 2019

Make sure you have read the issue guidelines and that you filled out the entire template.

@paulbdavis
Copy link
Author

The configuration in my configuration.yaml did not change between the releases

hacs:
  token:  !secret hacs_github_api_key

@ludeeus ludeeus added the Bug label Oct 27, 2019
@ludeeus
Copy link
Member

ludeeus commented Oct 27, 2019

As a workaround change your configuration to this:

hacs:
  token:  !secret hacs_github_api_key
  options:
    release_limit: 5

5 is the default value so it will not have an impact on how HACS works.

@paulbdavis
Copy link
Author

That works for now, thanks for the quick response

@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants