-
Notifications
You must be signed in to change notification settings - Fork 104
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
Error doing job: Exception in callback <_asyncio.TaskStepMethWrapper object at 0xxxxxxx #530
Comments
Не совсем понятно, что тут происходит. |
полный лог - 180мб, но в нем вопщем то и нет ничего, кроме ошибок приведенных выше. лог супера - в этот раз до супера не дошло, сделал рестарт контейнера, в следующий раз дождусь когда он притушит всех. отключать интеграцию пока не пробовал версия - "version": "0.6.12" |
а вот с 2024.5.0 прилетело
|
Сохраняется ли проблема если отключить автоматизации: |
отключил, проверю. но судя по синему чату - у людей без этих авто все норм. да и еще один инстанс у меня на 2024.4.0 работает без проблем |
даже часа не продержался инстанс `2024-05-02 09:48:48.313 ERROR (SyncWorker_54) [homeassistant] Error doing job: Task exception was never retrieved During handling of the above exception, another exception occurred: Traceback (most recent call last): 2024-05-02 09:48:48.362 ERROR (SyncWorker_54) [homeassistant] Error doing job: Task exception was never retrieved During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): 2024-05-02 09:48:48.384 ERROR (SyncWorker_54) [homeassistant] Error doing job: Task exception was never retrieved During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred:` |
на старте ХА насыпает This error originated from a custom integration. Logger: homeassistant Error doing job: Task exception was never retrieved |
Тоже нужен полный home-assistant.log, нужно смотреть какие события были вокруг этих исключений. |
ссылка на полный лог |
Вижу, что активный спам начинается после сообщения: |
Да. Тоже его вырубил. Мониторю |
вопщем без плекса пока живет. попробовал отключить интеграцию яндкса, сделал ребут ХА. включил и снова сделал ребут. логи приложил без яндекса с яндексом |
Особой разницы не вижу. Меня только смущает
Мне не удаётся воспроизвести эту ситуацию у себя :( |
добавление запрета на экзекьютор не меняет ситуацию |
init.py.zip |
увы, лучше не стало |
Ещё одна попытка :) |
по мотивам вот этого home-assistant/core#115071 (comment) стал проверять и вот что нашлось AlexxIT/YandexStation#503 его Алексей поправил - мониторю дальше |
У меня проблема была, что zeroconf работает в отдельном потоке. И из своего отдельного потока он пытался добавить задачу в асинхронную петлю основного потока. Такое конечно же нельзя делать.
|
Похоже проблема в hass_diagnostics, при её отключении ошибки пропадают. |
я после вчерашнего сообщения в чате его удалил на всех инстансах и применил фикс на statistics. значительно спокойней задышал ХА |
Верно. |
с обновления ХА 2024.4.4 начались регулярные вылеты - лог забивается ошибка (как приведена ниже) и потом Супер стопает все.
2024-05-01 20:23:56.040 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback <_asyncio.TaskStepMethWrapper object at 0x7f12b5603f70>() Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) RuntimeError: Cannot enter into task <Task pending name='listen state_changed' coro=<async_setup_notifier.<locals>._state_change_listener() running at /config/custom_components/yandex_smart_home/notifier.py:287> cb=[set.remove()]> while another task <Task finished name="event trigger {'domain': 'automation', 'name': 'system_update_available_and_installed_notification', 'home_assistant_start': True, 'variables': {'this': {'entity_id': 'automation.system_update_available_and_installed_notification', 'state': 'on', 'attributes': {'id': 'system_update_available_and_installed_notification', 'last_triggered': datetime.datetime(2024, 5, 1, 15, 57, 30, 269271, tzinfo=datetime.timezone.utc), 'mode': 'queued', 'current': 0, 'max': 10, 'friendly_name': 'system_update_available_and_installed_notification', 'icon': 'mdi:tune'}, 'last_changed': '2024-05-01T16:04:56.570965+00:00', 'last_reported': '2024-05-01T16:04:56.570990+00:00', 'last_updated': '2024-05-01T16:04:56.570965+00:00', 'context': {'id': '01HWTEDQKTMAAMQDSG9GR31K97', 'parent_id': None, 'user_id': None}}}, 'trigger_data': {'id': '0', 'idx': '0', 'alias': None}}" result=None> is being executed. 2024-05-01 20:23:56.056 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback <_asyncio.TaskStepMethWrapper object at 0x7f12d46f03a0>() Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) RuntimeError: Cannot enter into task <Task pending name='Task-172845' coro=<YandexNotifier.async_event_handler() running at /config/custom_components/yandex_smart_home/notifier.py:173> cb=[gather.<locals>._done_callback() at /usr/local/lib/python3.12/asyncio/tasks.py:767]> while another task <Task finished name="event trigger {'domain': 'automation', 'name': 'system_update_available_and_installed_notification', 'home_assistant_start': True, 'variables': {'this': {'entity_id': 'automation.system_update_available_and_installed_notification', 'state': 'on', 'attributes': {'id': 'system_update_available_and_installed_notification', 'last_triggered': datetime.datetime(2024, 5, 1, 15, 57, 30, 269271, tzinfo=datetime.timezone.utc), 'mode': 'queued', 'current': 0, 'max': 10, 'friendly_name': 'system_update_available_and_installed_notification', 'icon': 'mdi:tune'}, 'last_changed': '2024-05-01T16:04:56.570965+00:00', 'last_reported': '2024-05-01T16:04:56.570990+00:00', 'last_updated': '2024-05-01T16:04:56.570965+00:00', 'context': {'id': '01HWTEDQKTMAAMQDSG9GR31K97', 'parent_id': None, 'user_id': None}}}, 'trigger_data': {'id': '0', 'idx': '0', 'alias': None}}" result=None> is being executed. 2024-05-01 20:23:56.060 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback <_asyncio.TaskStepMethWrapper object at 0x7f12b5602bf0>() Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) RuntimeError: Cannot enter into task <Task pending name='Task-172846' coro=<YandexNotifier.async_event_handler() running at /config/custom_components/yandex_smart_home/notifier.py:173> cb=[gather.<locals>._done_callback() at /usr/local/lib/python3.12/asyncio/tasks.py:767]> while another task <Task finished name="event trigger {'domain': 'automation', 'name': 'system_update_available_and_installed_notification', 'home_assistant_start': True, 'variables': {'this': {'entity_id': 'automation.system_update_available_and_installed_notification', 'state': 'on', 'attributes': {'id': 'system_update_available_and_installed_notification', 'last_triggered': datetime.datetime(2024, 5, 1, 15, 57, 30, 269271, tzinfo=datetime.timezone.utc), 'mode': 'queued', 'current': 0, 'max': 10, 'friendly_name': 'system_update_available_and_installed_notification', 'icon': 'mdi:tune'}, 'last_changed': '2024-05-01T16:04:56.570965+00:00', 'last_reported': '2024-05-01T16:04:56.570990+00:00', 'last_updated': '2024-05-01T16:04:56.570965+00:00', 'context': {'id': '01HWTEDQKTMAAMQDSG9GR31K97', 'parent_id': None, 'user_id': None}}}, 'trigger_data': {'id': '0', 'idx': '0', 'alias': None}}" result=None> is being executed. 2024-05-01 20:23:56.065 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback <_asyncio.TaskStepMethWrapper object at 0x7f12a3e9bee0>() Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) RuntimeError: Cannot enter into task <Task pending name='Task-172847' coro=<YandexNotifier.async_event_handler() running at /config/custom_components/yandex_smart_home/notifier.py:173> cb=[gather.<locals>._done_callback() at /usr/local/lib/python3.12/asyncio/tasks.py:767]> while another task <Task finished name="event trigger {'domain': 'automation', 'name': 'system_update_available_and_installed_notification', 'home_assistant_start': True, 'variables': {'this': {'entity_id': 'automation.system_update_available_and_installed_notification', 'state': 'on', 'attributes': {'id': 'system_update_available_and_installed_notification', 'last_triggered': datetime.datetime(2024, 5, 1, 15, 57, 30, 269271, tzinfo=datetime.timezone.utc), 'mode': 'queued', 'current': 0, 'max': 10, 'friendly_name': 'system_update_available_and_installed_notification', 'icon': 'mdi:tune'}, 'last_changed': '2024-05-01T16:04:56.570965+00:00', 'last_reported': '2024-05-01T16:04:56.570990+00:00', 'last_updated': '2024-05-01T16:04:56.570965+00:00', 'context': {'id': '01HWTEDQKTMAAMQDSG9GR31K97', 'parent_id': None, 'user_id': None}}}, 'trigger_data': {'id': '0', 'idx': '0', 'alias': None}}" result=None> is being executed. 2024-05-01 20:23:56.073 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback <_asyncio.TaskStepMethWrapper object at 0x7f12a3e9a770>() Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) RuntimeError: Cannot enter into task <Task pending name='Task-172848' coro=<YandexNotifier.async_event_handler() running at /config/custom_components/yandex_smart_home/notifier.py:173> cb=[gather.<locals>._done_callback() at /usr/local/lib/python3.12/asyncio/tasks.py:767]> while another task <Task finished name="event trigger {'domain': 'automation', 'name': 'system_update_available_and_installed_notification', 'home_assistant_start': True, 'variables': {'this': {'entity_id': 'automation.system_update_available_and_installed_notification', 'state': 'on', 'attributes': {'id': 'system_update_available_and_installed_notification', 'last_triggered': datetime.datetime(2024, 5, 1, 15, 57, 30, 269271, tzinfo=datetime.timezone.utc), 'mode': 'queued', 'current': 0, 'max': 10, 'friendly_name': 'system_update_available_and_installed_notification', 'icon': 'mdi:tune'}, 'last_changed': '2024-05-01T16:04:56.570965+00:00', 'last_reported': '2024-05-01T16:04:56.570990+00:00', 'last_updated':
The text was updated successfully, but these errors were encountered: