integration: 0.20.x: cannot reuse already awaited coroutine

Version of HACS

0.20.x

Describe the bug

HACS doesn’t allow to install or update anything. Buttons Install/Update are grayed. All the time progress bar shows update data from GitHub and every 30 minutes I have error in log. This state persists for several days.

Debug log

2020-01-15 11:57:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/hacs/hacsbase/__init__.py", line 304, in recuring_tasks_installed
    await self.factory.execute()
  File "/home/homeassistant/.homeassistant/custom_components/hacs/hacsbase/task_factory.py", line 24, in execute
    await asyncio.gather(*self.tasks)
RuntimeError: cannot reuse already awaited coroutine

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 15 (6 by maintainers)

Most upvoted comments

Same error, 0.104.2, latest HACS. Restart helps but problem reappeares.

After HA restart everything is normal.