Logger: homeassistant.components.tts
Source: components/tts/__init__.py:1101
integration: Text-to-speech (TTS) (documentation, issues)
First occurred: 20:12:43 (1 occurrences)
Last logged: 20:12:43
Error on load tts: EsFKBjWZFyMl3kd6maSlkg.mp3 was not recognized!
The error appears on restart, then every time TTS is used. It doesn’t seem to have any effect on the functioning of TTS, it’s just filling up my log.
Edit:
Source: components/tts/__init__.py:1101
Seems to refer to this - well above my pay grade:
async def get(self, request: web.Request, filename: str) -> web.Response:
"""Start a get request."""
try:
# filename is actually token, but we keep its name for compatibility
content, data = await self.tts.async_read_tts(filename)
except HomeAssistantError as err:
_LOGGER.error("Error on load tts: %s", err)
return web.Response(status=HTTPStatus.NOT_FOUND)
I think that’s a file in the cache. I manually deleted TTS’s cache once and I saw that a lot until it built the cache back up or something. I don’t delete that any more as the files are purged regularly anyway.
Try turning the cache off for TTS and see if it is better, or if the cache is off, turn it on. I believe default is on.
For me the error is being spammed, even after a restart
2025-02-05 18:06:52.636 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:06:53.716 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:06:56.839 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:03.840 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:18.842 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:18.907 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:18.908 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:19.909 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:22.935 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:29.936 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:44.938 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:45.030 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:45.032 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:46.033 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:49.034 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:07:56.036 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:11.037 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:11.102 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:11.103 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:12.169 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:15.170 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:22.317 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:37.318 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:37.365 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:37.366 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:38.367 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:43.203 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:08:50.374 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:05.375 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:05.435 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:05.436 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:06.437 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:09.438 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:16.522 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:32.494 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:32.563 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:32.644 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:33.646 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:36.647 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:43.649 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:58.651 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:58.709 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
2025-02-05 18:09:58.710 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!
I tried creating a file called l9magslSm_bUUmM_VCD_-A.mp3 in the \tts folder, but it did not help
If you go to Developer Tools | Actions and type TTS in the action box you should see the TTS commands available.
I cleared the cache with the “Clear TTS cache” command. (You can check whether it has worked by looking in the config/tts folder, which should then be empty.)
If you then select “Say a message with ” you should get something like this:
I turned on the switch in the cache row and sent a TTS message, and the cache started filling again. Edit: Actually messages may be cached by default, making this bit unnecessary. Can’t find any docs.
The error message continued for a while, but eventually it stopped appearing.
If the error is spamming your log you should be able to filter it out by putting something like this in your configuration.yaml:
logger:
filters:
homeassistant.components.tts:
- "Error on load tts: l9magslSm_bUUmM_VCD_-A.mp3 was not recognized!"