Can anyone help me with this, please?
When I am training Rhasspy, I am getting TimeoutErrors over and over again. Rhasspy trains and trains and nothing happens. Eventually I get the timeout error.
EDIT: Oh, and what I just noticed: While training Rhasspy the Connection to HomeAssistant OS is lost. So obviously training Rhasspy is disturbing my HomeAsisstantOS as well.
Rhasspy 2.5.11 was running pretty fine up until now. (I run Rhasspy as Addon in HomeAssistantOS (up to date version).)
BUT I had a strange problem which I tried to solve: Some of my intents were recognized perfectly well, while others like asking for the time (Uhrzeit) were populated with a whole lot of weather-words not even close to the spoken sentence.
I had the suspicion that the weather-intent (copied from this forum), with a whole lot of words in the slot section (cities etc) overstrained Rhasspy.
So I deleted the weather part from the sentences.ini and the slots and trained Rhasspy. But then I ran in the timeout errors. Since then I could not train Rhasspy succesfully once.
Rhasspy still works, but the Uhrzeit/Time-Intent is still not recognized, but populated with the weather-words.
Here my Rhasspy-Logs after clicking on the “Train”-Button:
[ERROR:2022-11-17 00:50:46,065] rhasspyserver_hermes:
Traceback (most recent call last):
File “/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/quart/app.py”, line 1821, in full_dispatch_request
result = await self.dispatch_request(request_context)
File “/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/quart/app.py”, line 1869, in dispatch_request
return await handler(**request_.view_args)
File “/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/main.py”, line 1313, in api_train
result = await core.train()
File “/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/init.py”, line 462, in train
timeout_seconds=self.training_timeout_seconds,
File “/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/init.py”, line 995, in publish_wait
result_awaitable, timeout=timeout_seconds
File “/usr/lib/python3.7/asyncio/tasks.py”, line 423, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
[DEBUG:2022-11-17 00:26:53,158] rhasspyserver_hermes: Handling NluTrainSuccess (topic=rhasspy/nlu/basis/trainSuccess, id=d8bbcd65-00c5-43cc-863a-5b7bb9512b15)
[DEBUG:2022-11-17 00:26:53,157] rhasspyserver_hermes: Handling NluTrainSuccess (topic=rhasspy/nlu/basis/trainSuccess, id=ed0f31f2-2e55-4f10-8c7d-d46beb6f84b6)
[DEBUG:2022-11-17 00:26:53,156] rhasspyserver_hermes: Handling NluTrainSuccess (topic=rhasspy/nlu/basis/trainSuccess, id=99bb16d5-5550-4525-9f51-13e3e768054c)
[DEBUG:2022-11-17 00:26:51,826] rhasspyserver_hermes: Publishing 13582 bytes(s) to rhasspy/nlu/basis/train
[DEBUG:2022-11-17 00:26:51,825] rhasspyserver_hermes: → NluTrain
[DEBUG:2022-11-17 00:26:51,807] rhasspyserver_hermes: Publishing 13582 bytes(s) to rhasspy/asr/basis/train
[DEBUG:2022-11-17 00:26:51,806] rhasspyserver_hermes: → AsrTrain
[DEBUG:2022-11-17 00:26:51,783] rhasspyserver_hermes: Finished writing /share/rhasspy/profiles/de/intent_graph.pickle.gz
[DEBUG:2022-11-17 00:26:48,497] rhasspyserver_hermes: Writing /share/rhasspy/profiles/de/intent_graph.pickle.gz
[DEBUG:2022-11-17 00:26:46,813] rhasspynlu.slots: Loading slot bringItems from /share/rhasspy/profiles/de/slots/bringItems
[DEBUG:2022-11-17 00:26:46,809] rhasspynlu.slots: Loading slot Zone from /share/rhasspy/profiles/de/slots/Zone
[DEBUG:2022-11-17 00:26:46,552] rhasspynlu.slots: Running program for slot rhasspy/number,1,120,1: [‘/usr/lib/rhasspy/rhasspy-profile/rhasspyprofile/profiles/de/slot_programs/rhasspy/number’, ‘1’, ‘120’, ‘1’]
[DEBUG:2022-11-17 00:26:46,549] rhasspynlu.slots: Loading slot Zimmer from /share/rhasspy/profiles/de/slots/Zimmer
[DEBUG:2022-11-17 00:26:46,547] rhasspynlu.slots: Loading slot Schalter from /share/rhasspy/profiles/de/slots/Schalter
[DEBUG:2022-11-17 00:26:46,287] rhasspynlu.slots: Running program for slot rhasspy/number,1,24,1: [‘/usr/lib/rhasspy/rhasspy-profile/rhasspyprofile/profiles/de/slot_programs/rhasspy/number’, ‘1’, ‘24’, ‘1’]
[DEBUG:2022-11-17 00:26:46,282] rhasspynlu.slots: Loading slot Lampe from /share/rhasspy/profiles/de/slots/Lampe
[DEBUG:2022-11-17 00:26:45,572] rhasspynlu.slots: Running program for slot rhasspy/number,1,30,1: [‘/usr/lib/rhasspy/rhasspy-profile/rhasspyprofile/profiles/de/slot_programs/rhasspy/number’, ‘1’, ‘30’, ‘1’]
[DEBUG:2022-11-17 00:26:45,534] rhasspynlu.ini_jsgf: Loaded ini file
[DEBUG:2022-11-17 00:26:45,524] rhasspyserver_hermes: Generating intent graph
[DEBUG:2022-11-17 00:26:45,515] rhasspyserver_hermes: Loading sentences from [PosixPath(‘/share/rhasspy/profiles/de/sentences.ini’)]
[INFO:2022-11-17 00:26:45,495] rhasspyserver_hermes: Starting training