Moving to 2.5 / Timeout error and Co

Hi there,

I’m trying to move to 2.5 has it was released.

First I’ve tryed to upgrade from my 2.4.18 (Rhasspy 2.5.0 Released) but I was just able to launch some tts command…
As I’ve tryeid to implement kaldi - without any success - and may have alter lots of files, I’ went for a fresh install of the whole RPI (3B+)

All installation step went well, without any issue.(https://rhasspy.readthedocs.io/en/latest/tutorials/#from-scratch-on-a-raspberry-pi) / Docker / RPI3B+ / Buster

I’ve install picoTTS :

wget http://archive.raspberrypi.org/debian/pool/main/s/svox/libttspico-utils_1.0+git20130326-3+rpi1_armhf.deb
wget http://archive.raspberrypi.org/debian/pool/main/s/svox/libttspico0_1.0+git20130326-3+rpi1_armhf.deb
sudo apt-get install -f ./libttspico0_1.0+git20130326-3+rpi1_armhf.deb ./libttspico-utils_1.0+git20130326-3+rpi1_armhf.deb

tks KiboOst !

I’ve configure (I guess)


closest to what i have in my working v2.4.

when I try to train (with sample sentences), it never end, and the log is :

[ERROR:2020-06-10 21:22:20,207] rhasspyserver_hermes: 
Traceback (most recent call last):
  File "/usr/lib/rhasspy/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/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request
    return await handler(**request_.view_args)
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__main__.py", line 1215, in api_train
    result = await core.train()
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__init__.py", line 395, in train
    timeout_seconds=self.training_timeout_seconds,
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__init__.py", line 898, in publish_wait
    result_awaitable, timeout=timeout_seconds
  File "/usr/lib/python3.7/asyncio/tasks.py", line 449, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
[ERROR:2020-06-10 21:20:26,940] rhasspyserver_hermes: 
Traceback (most recent call last):
  File "/usr/lib/rhasspy/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/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request
    return await handler(**request_.view_args)
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__main__.py", line 1215, in api_train
    result = await core.train()
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__init__.py", line 395, in train
    timeout_seconds=self.training_timeout_seconds,
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__init__.py", line 898, in publish_wait
    result_awaitable, timeout=timeout_seconds
  File "/usr/lib/python3.7/asyncio/tasks.py", line 449, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
[ERROR:2020-06-10 21:18:14,744] rhasspyserver_hermes: 
Traceback (most recent call last):
  File "/usr/lib/rhasspy/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/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request
    return await handler(**request_.view_args)
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__main__.py", line 1215, in api_train
    result = await core.train()
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__init__.py", line 395, in train
    timeout_seconds=self.training_timeout_seconds,
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__init__.py", line 898, in publish_wait
    result_awaitable, timeout=timeout_seconds
  File "/usr/lib/python3.7/asyncio/tasks.py", line 449, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
[DEBUG:2020-06-10 21:12:20,999] rhasspyserver_hermes: Handling AsrTrainSuccess (topic=rhasspy/asr/default/trainSuccess, id=46a5bcc5-c525-4cb6-b077-6964363a7349)
[DEBUG:2020-06-10 21:12:20,998] rhasspyserver_hermes: Handling AsrTrainSuccess (topic=rhasspy/asr/default/trainSuccess, id=2ceebe80-d010-46d3-b099-540db0855d7d)
[DEBUG:2020-06-10 21:12:20,997] rhasspyserver_hermes: Handling AsrTrainSuccess (topic=rhasspy/asr/default/trainSuccess, id=aeb9de2d-a076-4c60-ac80-df38a197e0ce)
[DEBUG:2020-06-10 21:12:20,204] rhasspyserver_hermes: Publishing 721 bytes(s) to rhasspy/nlu/default/train
[DEBUG:2020-06-10 21:12:20,204] rhasspyserver_hermes: -> NluTrain
[DEBUG:2020-06-10 21:12:20,200] rhasspyserver_hermes: Publishing 721 bytes(s) to rhasspy/asr/default/train
[DEBUG:2020-06-10 21:12:20,200] rhasspyserver_hermes: -> AsrTrain
[DEBUG:2020-06-10 21:12:20,197] rhasspyserver_hermes: Finished writing /profiles/fr/intent_graph.pickle.gz
[DEBUG:2020-06-10 21:12:20,194] rhasspyserver_hermes: Writing /profiles/fr/intent_graph.pickle.gz
[DEBUG:2020-06-10 21:12:20,184] rhasspynlu.ini_jsgf: Loaded ini file
[DEBUG:2020-06-10 21:12:20,182] rhasspyserver_hermes: Generating intent graph
[DEBUG:2020-06-10 21:12:20,179] rhasspyserver_hermes: Loading sentences from [PosixPath('/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyprofile/profiles/fr/sentences.ini')]
[INFO:2020-06-10 21:12:20,170] rhasspyserver_hermes: Starting training
[DEBUG:2020-06-10 21:10:27,732] rhasspyserver_hermes: Handling AsrTrainSuccess (topic=rhasspy/asr/default/trainSuccess, id=2ceebe80-d010-46d3-b099-540db0855d7d)
[DEBUG:2020-06-10 21:10:27,731] rhasspyserver_hermes: Handling AsrTrainSuccess (topic=rhasspy/asr/default/trainSuccess, id=aeb9de2d-a076-4c60-ac80-df38a197e0ce)
[DEBUG:2020-06-10 21:10:26,937] rhasspyserver_hermes: Publishing 721 bytes(s) to rhasspy/nlu/default/train
[DEBUG:2020-06-10 21:10:26,936] rhasspyserver_hermes: -> NluTrain
[DEBUG:2020-06-10 21:10:26,934] rhasspyserver_hermes: Publishing 721 bytes(s) to rhasspy/asr/default/train
[DEBUG:2020-06-10 21:10:26,933] rhasspyserver_hermes: -> AsrTrain
[DEBUG:2020-06-10 21:10:26,930] rhasspyserver_hermes: Finished writing /profiles/fr/intent_graph.pickle.gz
[DEBUG:2020-06-10 21:10:26,927] rhasspyserver_hermes: Writing /profiles/fr/intent_graph.pickle.gz
[DEBUG:2020-06-10 21:10:26,893] rhasspynlu.ini_jsgf: Loaded ini file
[DEBUG:2020-06-10 21:10:26,888] rhasspyserver_hermes: Generating intent graph
[DEBUG:2020-06-10 21:10:26,884] rhasspyserver_hermes: Loading sentences from [PosixPath('/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyprofile/profiles/fr/sentences.ini')]
[INFO:2020-06-10 21:10:26,880] rhasspyserver_hermes: Starting training

If I try a text recognition, I’ve got a timeout error (but it’s not trained, so…)

What i missed?

Try Fsticuffs instead of Snips. I don’t believe the Snips training is working just yet.

Many Thks @synesthesiam, it now are able to train,

1 Like