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.

Fresh install gets "Error setting up entry for hacs"

See original GitHub issue

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'

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ludeeuscommented, Nov 4, 2020
1reaction
ludeeuscommented, Oct 29, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HACS - Failed to set up - Third party integrations
Log entries I'm getting are as follows and I've no idea how to access the files, let alone how to resolve the listed...
Read more >
Initial Configuration - HACS
Click the "+ ADD INTEGRATION" button in the bottom right corner​. Open your Home Assistant instance and start setting up a new integration....
Read more >
Last update broke my HACS integration : r/homeassistant
The Log show me '' Error setting up entry for hacs'' and ''Error doing job: Task exception was never retrieved'' a few min...
Read more >
Home Assistant | My Hacs is not working anymore - Facebook
Error setting up entry for hacs ... Joshua Clark. I hate the spam, but it is amusing when we get people asking for...
Read more >
My TOP 5 HACS components - integrations and front-end ...
Let me show you TOP 5 HACS components - that I like the most.It was very hard to create such a short list...
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