integration: Fresh install gets "Error setting up entry for hacs"

Installation details

Description Value
HACS version 1.6.1
Home Assistant version 0.116.4
Installation method for HA virtualenv on a Mac

Checklist

Describe the issue

I did a fresh install of HACS on my HA install (moving the hacs folder to the custom_components folder). I waited for a while, because the docs told me to be patient. But i was greeted with a error in the logs. Now im not really sure how to proceed.

Steps to reproduce

Debug logs

Logs

2020-10-29 11:03:56 DEBUG (MainThread) [custom_components.hacs.repository.integration.hacs.integration] Running checks against 1.6.1
2020-10-29 11:03:56 DEBUG (MainThread) [custom_components.hacs.repository.integration.hacs.integration] All (0) checks passed
2020-10-29 11:03:56 INFO (MainThread) [custom_components.hacs.repository.integration.hacs.integration] Registration completed
2020-10-29 11:03:57 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry  for hacs
Traceback (most recent call last):
  File "/Users/michaelschouman/Documents/homeassistant/lib/python3.8/site-packages/homeassistant/config_entries.py", line 231, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/Users/michaelschouman/.homeassistant/custom_components/hacs/__init__.py", line 30, in async_setup_entry
    return await hacs_ui_setup(hass, config_entry)
  File "/Users/michaelschouman/.homeassistant/custom_components/hacs/operational/setup.py", line 62, in async_setup_entry
    return await async_startup_wrapper_for_config_entry()
  File "/Users/michaelschouman/.homeassistant/custom_components/hacs/operational/setup.py", line 87, in async_startup_wrapper_for_config_entry
    startup_result = await async_hacs_startup()
  File "/Users/michaelschouman/.homeassistant/custom_components/hacs/operational/setup.py", line 188, in async_hacs_startup
    async_call_later(hacs.hass, 5, hacs.startup_tasks())
TypeError: startup_tasks() missing 1 required positional argument: '_event'

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (4 by maintainers)

Most upvoted comments

Just need to append =None to the _event arg for startup_tasks and release a new version. But I need time to do that and test it that something else does not break.

Reverting to 1.6.0 does the trick, thanks for the swift reply. If i can be of any help fixing this issue, please let me know.

Will look into this tonight.

Workaround: If you are using HA 0.117 install 1.5.2 If you are not using HA 0.117 install 1.6.0

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