I restarted my hass.io today. Since this time hacs is not working anymore
2019-07-28 00:12:22 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/hacs/hacsbase/__init__.py", line 56, in startup_tasks
self.store.task_running = True
AttributeError: 'NoneType' object has no attribute 'task_running'
2019-07-28 00:12:47 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.hacs fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 378, in async_device_update
await self.async_update()
File "/config/custom_components/hacs/sensor.py", line 23, in async_update
if hacs.store.task_running:
AttributeError: 'NoneType' object has no attribute 'task_running'
2019-07-28 00:12:47 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 33, in real_ip_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 67, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 216, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 115, in handle
result = await result
File "/config/custom_components/hacs/http.py", line 47, in get
response = await response.response(self)
File "/config/custom_components/hacs/http.py", line 118, in response
render = self.render('settings', message=message)
File "/config/custom_components/hacs/http.py", line 62, in render
return template.render({"hacs": self, "location": location, "repository": repository, "message": message})
File "/usr/local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/config/custom_components/hacs/frontend/templates/settings.html", line 1, in top-level template code
{% extends "base.html" %}
File "/config/custom_components/hacs/frontend/templates/base.html", line 47, in top-level template code
{% block content %}
File "/config/custom_components/hacs/frontend/templates/settings.html", line 11, in block "content"
{% include 'settings/hacs_info.html' with context %}
File "/config/custom_components/hacs/frontend/templates/settings/hacs_info.html", line 1, in top-level template code
{% if hacs.store.repositories["172733314"].pending_restart %}
File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 411, in getitem
return obj[argument]
jinja2.exceptions.UndefinedError: 'None' has no attribute 'repositories'
2019-07-28 00:13:17 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.hacs fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 378, in async_device_update
await self.async_update()
File "/config/custom_components/hacs/sensor.py", line 23, in async_update
if hacs.store.task_running:
AttributeError: 'NoneType' object has no attribute 'task_running'