Skip to content
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

All integration translations are missing when a single integration cannot be loaded #73148

Closed
bdraco opened this issue Jun 6, 2022 · 2 comments · Fixed by #110674 or #110748
Closed

Comments

@bdraco
Copy link
Member

bdraco commented Jun 6, 2022

The problem

Only noticed because of ialarmxr

Screen Shot 2022-06-06 at 11 31 50

2022-06-06 11:29:38 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [5727512320] Error handling message: Unknown error (unknown_error)
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
    await func(hass, connection, msg)
  File "/Users/bdraco/home-assistant/homeassistant/components/frontend/__init__.py", line 681, in websocket_get_translations
    resources = await async_get_translations(
  File "/Users/bdraco/home-assistant/homeassistant/helpers/translation.py", line 317, in async_get_translations
    cached = await cache.async_fetch(language, category, components)
  File "/Users/bdraco/home-assistant/homeassistant/helpers/translation.py", line 222, in async_fetch
    await self._async_load(language, components_to_load)
  File "/Users/bdraco/home-assistant/homeassistant/helpers/translation.py", line 237, in _async_load
    for translation_strings in await asyncio.gather(
  File "/Users/bdraco/home-assistant/homeassistant/helpers/translation.py", line 157, in async_get_component_strings
    await gather_with_concurrency(
  File "/Users/bdraco/home-assistant/homeassistant/util/async_.py", line 201, in gather_with_concurrency
    return await gather(
  File "/Users/bdraco/home-assistant/homeassistant/util/async_.py", line 199, in sem_task
    return await task
  File "/Users/bdraco/home-assistant/homeassistant/loader.py", line 666, in async_get_integration
    integration = await _async_get_integration(hass, domain)
  File "/Users/bdraco/home-assistant/homeassistant/loader.py", line 694, in _async_get_integration
    raise IntegrationNotFound(domain)
homeassistant.loader.IntegrationNotFound: Integration 'ialarmxr' not found.

What version of Home Assistant Core has the issue?

dev

What was the last working version of Home Assistant Core?

dev

What type of installation are you running?

Home Assistant Core

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@bdraco bdraco self-assigned this Jun 6, 2022
@github-actions github-actions bot added the stale label Jul 6, 2022
@bdraco bdraco reopened this Jul 13, 2022
@bdraco bdraco added no-stale and removed stale labels Jul 13, 2022
@github-actions github-actions bot added the stale label Jan 8, 2023
@github-actions github-actions bot removed the stale label Jan 12, 2023
@bdraco
Copy link
Member Author

bdraco commented Sep 1, 2023

need to find some time to fix this one as its reported again https://community.home-assistant.io/t/2023-8-translated-services-events-and-wildcards/598463/174?u=bdraco

@codyc1515
Copy link
Contributor

This happened to me so often and I had no idea why or how to reproduce. Thank you for fixing this.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.