Last active
January 5, 2020 17:41
-
-
Save timaschew/8fb6877a2e5e320063c6e40d3c5bc5bb to your computer and use it in GitHub Desktop.
rhasspy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# still PyAudio but 2: USB audio device - hw 1,0 | |
DEBUG:__main__:Wrote profile to /home/pi/.config/rhasspy/profiles/en/profile.json | |
[2020-01-04 16:36:58,045] 192.168.178.21:51981 POST /api/profile 1.1 200 66 35144 | |
INFO:quart.serving:192.168.178.21:51981 POST /api/profile 1.1 200 66 35144 | |
DEBUG:__main__:Restarting Rhasspy | |
DEBUG:PyAudioRecorder:started -> stopped | |
DEBUG:WebSocketObserver:started -> stopped | |
DEBUG:SnowboyWakeListener:listening -> stopped | |
DEBUG:PhonetisaurusPronounce:started -> stopped | |
DEBUG:DummyAudioPlayer:started -> stopped | |
DEBUG:RemoteRecognizer:started -> stopped | |
DEBUG:WebrtcvadCommandListener:loaded -> stopped | |
DEBUG:DummySpeechTrainer:started -> stopped | |
DEBUG:DummyIntentTrainer:started -> stopped | |
DEBUG:DialogueManager:asleep -> stopped | |
DEBUG:RemoteDecoder:started -> stopped | |
DEBUG:DummySentenceSpeaker:started -> stopped | |
DEBUG:DummyIntentHandler:started -> stopped | |
DEBUG:RhasspyCore:Loaded profile from /home/pi/.config/rhasspy/profiles/en/profile.json | |
DEBUG:RhasspyCore:Profile files will be written to /home/pi/.config/rhasspy/profiles/en | |
DEBUG:root:Loading default profile settings from /home/pi/rhasspy/profiles/defaults.json | |
ERROR:asyncio:Task exception was never retrieved | |
future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)> | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket | |
await self.handle_asgi_app(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app | |
await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:asyncio:Task exception was never retrieved | |
future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)> | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket | |
await self.handle_asgi_app(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app | |
await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:asyncio:Task exception was never retrieved | |
future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)> | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket | |
await self.handle_asgi_app(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app | |
await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
DEBUG:WebSocketObserver: -> started | |
DEBUG:DialogueManager: -> started | |
DEBUG:DialogueManager:started -> loading | |
DEBUG:DialogueManager:Loading actors | |
DEBUG:DialogueManager:Actors created. Waiting for ['recorder', 'player', 'speech', 'wake', 'command', 'decoder', 'recognizer', 'handler', 'speech_trainer', 'intent_trainer', 'word_pronouncer'] to start. | |
DEBUG:WebrtcvadCommandListener: -> started | |
DEBUG:DummyIntentHandler: -> started | |
DEBUG:DummySpeechTrainer: -> started | |
DEBUG:DummyIntentTrainer: -> started | |
DEBUG:RemoteDecoder: -> started | |
DEBUG:PhonetisaurusPronounce: -> started | |
DEBUG:PyAudioRecorder: -> started | |
DEBUG:DummyAudioPlayer: -> started | |
DEBUG:SnowboyWakeListener: -> started | |
DEBUG:DummySentenceSpeaker: -> started | |
DEBUG:RemoteRecognizer: -> started | |
DEBUG:WebrtcvadCommandListener:started -> loaded | |
DEBUG:DialogueManager:speech_trainer started | |
DEBUG:SnowboyWakeListener:Loading snowboy model from /home/pi/.config/rhasspy/profiles/en/snowboy/snowboy.umdl | |
DEBUG:DialogueManager:handler started | |
DEBUG:SnowboyWakeListener:Loaded snowboy model snowboy/snowboy.umdl ({'sensitivity': '0.5', 'audio_gain': 1.0, 'apply_frontend': False}) | |
DEBUG:DialogueManager:intent_trainer started | |
DEBUG:SnowboyWakeListener:started -> loaded | |
DEBUG:DialogueManager:decoder started | |
DEBUG:DialogueManager:word_pronouncer started | |
DEBUG:DialogueManager:recorder started | |
DEBUG:DialogueManager:player started | |
DEBUG:DialogueManager:speech started | |
DEBUG:DialogueManager:recognizer started | |
DEBUG:DialogueManager:command started | |
DEBUG:DialogueManager:wake started | |
DEBUG:DialogueManager:Actors loaded | |
DEBUG:DialogueManager:loading -> ready | |
INFO:DialogueManager:Automatically listening for wake word | |
DEBUG:DialogueManager:ready -> asleep | |
DEBUG:SnowboyWakeListener:loaded -> listening | |
DEBUG:PyAudioRecorder:started -> recording | |
INFO:__main__:Started | |
INFO:__main__:Restarted Rhasspy | |
[2020-01-04 16:37:07,280] 192.168.178.21:51981 POST /api/restart 1.1 200 17 6280373 | |
INFO:quart.serving:192.168.178.21:51981 POST /api/restart 1.1 200 17 6280373 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048 | |
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719 | |
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843 | |
ERROR:PyAudioRecorder:to_recording | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/rhasspy/audio_recorder.py", line 170, in to_recording | |
frames_per_buffer=self.frames_per_buffer, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/pyaudio.py", line 750, in open | |
stream = Stream(self, *args, **kwargs) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/pyaudio.py", line 441, in __init__ | |
self._stream = pa.open(**arguments) | |
OSError: [Errno -9997] Invalid sample rate | |
DEBUG:PyAudioRecorder:recording -> started | |
[2020-01-04 16:37:07,348] 192.168.178.21:51981 GET / 1.1 200 1029 21681 | |
INFO:quart.serving:192.168.178.21:51981 GET / 1.1 200 1029 21681 | |
ERROR:__main__:api_events_log | |
Traceback (most recent call last): | |
File "app.py", line 1123, in api_events_log | |
text = await q.get() | |
File "/usr/local/lib/python3.6/asyncio/queues.py", line 167, in get | |
yield from getter | |
concurrent.futures._base.CancelledError | |
[2020-01-04 16:37:07,361] Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:quart.serving:Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
[2020-01-04 16:37:07,707] 192.168.178.21:51981 GET /api/sentences 1.1 200 581 13959 | |
INFO:quart.serving:192.168.178.21:51981 GET /api/sentences 1.1 200 581 13959 | |
[2020-01-04 16:37:07,728] 192.168.178.21:52037 GET /api/events/log 1.1 101 - 142238 | |
INFO:quart.serving:192.168.178.21:52037 GET /api/events/log 1.1 101 - 142238 | |
DEBUG:__main__:Loading phoneme examples from /home/pi/rhasspy/profiles/en/phoneme_examples.txt | |
[2020-01-04 16:37:07,781] 192.168.178.21:52038 GET /api/slots 1.1 200 2 58940 | |
INFO:quart.serving:192.168.178.21:52038 GET /api/slots 1.1 200 2 58940 | |
[2020-01-04 16:37:07,784] 192.168.178.21:52039 GET /api/phonemes 1.1 200 1526 61480 | |
INFO:quart.serving:192.168.178.21:52039 GET /api/phonemes 1.1 200 1526 61480 | |
[2020-01-04 16:37:07,789] 192.168.178.21:51981 GET /api/profiles 1.1 200 144 65169 | |
INFO:quart.serving:192.168.178.21:51981 GET /api/profiles 1.1 200 144 65169 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
[2020-01-04 16:37:07,793] 192.168.178.21:52042 GET /api/profile 1.1 200 8665 66301 | |
INFO:quart.serving:192.168.178.21:52042 GET /api/profile 1.1 200 8665 66301 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
[2020-01-04 16:37:07,836] 192.168.178.21:52038 GET /api/profile 1.1 200 6825 28258 | |
INFO:quart.serving:192.168.178.21:52038 GET /api/profile 1.1 200 6825 28258 | |
[2020-01-04 16:37:07,848] 192.168.178.21:52039 GET /api/unknown-words 1.1 200 2 38535 | |
INFO:quart.serving:192.168.178.21:52039 GET /api/unknown-words 1.1 200 2 38535 | |
[2020-01-04 16:37:07,860] 192.168.178.21:52040 GET /api/microphones 1.1 200 151 134710 | |
INFO:quart.serving:192.168.178.21:52040 GET /api/microphones 1.1 200 151 134710 | |
[2020-01-04 16:37:07,863] 192.168.178.21:52041 GET /api/speakers 1.1 200 2 137150 | |
INFO:quart.serving:192.168.178.21:52041 GET /api/speakers 1.1 200 2 137150 | |
[2020-01-04 16:37:07,866] 192.168.178.21:51981 GET /api/problems 1.1 200 266 55689 | |
INFO:quart.serving:192.168.178.21:51981 GET /api/problems 1.1 200 266 55689 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# going to settings and set all values (before hitting save) | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
[2020-01-04 12:33:50,721] 192.168.178.21:61054 GET /api/microphones 1.1 200 151 89832 | |
INFO:quart.serving:192.168.178.21:61054 GET /api/microphones 1.1 200 151 89832 | |
# clicking on save | |
DEBUG:__main__:Wrote profile to /home/pi/.config/rhasspy/profiles/en/profile.json | |
[2020-01-04 12:37:49,128] 192.168.178.21:62448 POST /api/profile 1.1 200 66 32496 | |
INFO:quart.serving:192.168.178.21:62448 POST /api/profile 1.1 200 66 32496 | |
DEBUG:__main__:Restarting Rhasspy | |
DEBUG:PyAudioRecorder:started -> stopped | |
DEBUG:DummyWakeListener:started -> stopped | |
DEBUG:DummyIntentHandler:started -> stopped | |
DEBUG:WebSocketObserver:started -> stopped | |
DEBUG:EspeakSentenceSpeaker:ready -> stopped | |
DEBUG:APlayAudioPlayer:started -> stopped | |
DEBUG:FsticuffsRecognizer:loaded -> stopped | |
DEBUG:PocketsphinxDecoder:loaded -> stopped | |
DEBUG:WebrtcvadCommandListener:loaded -> stopped | |
DEBUG:DialogueManager:asleep -> stopped | |
DEBUG:FsticuffsIntentTrainer:started -> stopped | |
DEBUG:PhonetisaurusPronounce:started -> stopped | |
DEBUG:PocketsphinxSpeechTrainer:started -> stopped | |
DEBUG:RhasspyCore:Loaded profile from /home/pi/.config/rhasspy/profiles/en/profile.json | |
DEBUG:RhasspyCore:Profile files will be written to /home/pi/.config/rhasspy/profiles/en | |
DEBUG:root:Loading default profile settings from /home/pi/rhasspy/profiles/defaults.json | |
DEBUG:WebSocketObserver: -> started | |
DEBUG:DialogueManager: -> started | |
DEBUG:DialogueManager:started -> loading | |
DEBUG:DialogueManager:Loading actors | |
DEBUG:DialogueManager:Actors created. Waiting for ['recorder', 'player', 'speech', 'wake', 'command', 'decoder', 'recognizer', 'handler', 'speech_trainer', 'intent_trainer', 'word_pronouncer'] to start. | |
DEBUG:DummyAudioRecorder: -> started | |
DEBUG:DummyAudioPlayer: -> started | |
DEBUG:DummySentenceSpeaker: -> started | |
DEBUG:SnowboyWakeListener: -> started | |
DEBUG:WebrtcvadCommandListener: -> started | |
DEBUG:RemoteDecoder: -> started | |
DEBUG:DummyIntentHandler: -> started | |
DEBUG:RemoteRecognizer: -> started | |
DEBUG:DummySpeechTrainer: -> started | |
DEBUG:DummyIntentTrainer: -> started | |
DEBUG:PhonetisaurusPronounce: -> started | |
DEBUG:DialogueManager:recorder started | |
DEBUG:WebrtcvadCommandListener:started -> loaded | |
DEBUG:DialogueManager:player started | |
DEBUG:DialogueManager:speech started | |
DEBUG:DialogueManager:decoder started | |
DEBUG:DialogueManager:handler started | |
DEBUG:DialogueManager:recognizer started | |
DEBUG:DialogueManager:speech_trainer started | |
DEBUG:DialogueManager:intent_trainer started | |
WARNING:SnowboyWakeListener:preload: Missing profiles/en/snowboy/snowboy.umdl | |
DEBUG:DialogueManager:word_pronouncer started | |
DEBUG:SnowboyWakeListener:started -> loaded | |
DEBUG:DialogueManager:command started | |
DEBUG:DialogueManager:wake started | |
DEBUG:DialogueManager:Actors loaded | |
DEBUG:DialogueManager:loading -> ready | |
INFO:DialogueManager:Automatically listening for wake word | |
DEBUG:DialogueManager:ready -> asleep | |
ERROR:SnowboyWakeListener:in_loaded | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/rhasspy/wake.py", line 309, in in_loaded | |
self.load_detectors() | |
File "/home/pi/rhasspy/rhasspy/wake.py", line 411, in load_detectors | |
assert model_path.is_file(), f"Missing {model_path}" | |
AssertionError: Missing profiles/en/snowboy/snowboy.umdl | |
INFO:__main__:Started | |
INFO:__main__:Restarted Rhasspy | |
[2020-01-04 12:37:57,446] 192.168.178.21:62448 POST /api/restart 1.1 200 17 6704708 | |
INFO:quart.serving:192.168.178.21:62448 POST /api/restart 1.1 200 17 6704708 | |
[2020-01-04 12:37:57,498] 192.168.178.21:62448 GET / 1.1 200 1029 11249 | |
INFO:quart.serving:192.168.178.21:62448 GET / 1.1 200 1029 11249 | |
ERROR:__main__:api_events_log | |
Traceback (most recent call last): | |
File "app.py", line 1123, in api_events_log | |
text = await q.get() | |
File "/usr/local/lib/python3.6/asyncio/queues.py", line 167, in get | |
yield from getter | |
concurrent.futures._base.CancelledError | |
[2020-01-04 12:37:57,514] Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:quart.serving:Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
[2020-01-04 12:37:57,807] 192.168.178.21:62448 GET /api/sentences 1.1 200 581 10942 | |
INFO:quart.serving:192.168.178.21:62448 GET /api/sentences 1.1 200 581 10942 | |
[2020-01-04 12:37:57,817] 192.168.178.21:62492 GET /api/events/log 1.1 101 - 107227 | |
INFO:quart.serving:192.168.178.21:62492 GET /api/events/log 1.1 101 - 107227 | |
DEBUG:__main__:Loading phoneme examples from /home/pi/rhasspy/profiles/en/phoneme_examples.txt | |
[2020-01-04 12:37:57,860] 192.168.178.21:62493 GET /api/slots 1.1 200 2 31602 | |
INFO:quart.serving:192.168.178.21:62493 GET /api/slots 1.1 200 2 31602 | |
[2020-01-04 12:37:57,863] 192.168.178.21:62494 GET /api/phonemes 1.1 200 1526 34402 | |
INFO:quart.serving:192.168.178.21:62494 GET /api/phonemes 1.1 200 1526 34402 | |
[2020-01-04 12:37:57,908] 192.168.178.21:62495 GET /api/microphones 1.1 200 2 78180 | |
INFO:quart.serving:192.168.178.21:62495 GET /api/microphones 1.1 200 2 78180 | |
[2020-01-04 12:37:57,911] 192.168.178.21:62497 GET /api/profile 1.1 200 8662 54514 | |
INFO:quart.serving:192.168.178.21:62497 GET /api/profile 1.1 200 8662 54514 | |
[2020-01-04 12:37:57,920] 192.168.178.21:62448 GET /api/profiles 1.1 200 230 35320 | |
INFO:quart.serving:192.168.178.21:62448 GET /api/profiles 1.1 200 230 35320 | |
[2020-01-04 12:37:57,940] 192.168.178.21:62496 GET /api/speakers 1.1 200 2 84171 | |
INFO:quart.serving:192.168.178.21:62496 GET /api/speakers 1.1 200 2 84171 | |
[2020-01-04 12:37:57,949] 192.168.178.21:62493 GET /api/profile 1.1 200 6825 34608 | |
INFO:quart.serving:192.168.178.21:62493 GET /api/profile 1.1 200 6825 34608 | |
[2020-01-04 12:37:57,954] 192.168.178.21:62494 GET /api/unknown-words 1.1 200 2 38691 | |
INFO:quart.serving:192.168.178.21:62494 GET /api/unknown-words 1.1 200 2 38691 | |
[2020-01-04 12:37:57,978] 192.168.178.21:62495 GET /api/problems 1.1 200 358 32759 | |
INFO:quart.serving:192.168.178.21:62495 GET /api/problems 1.1 200 358 32759 | |
# clicking on download (snowboy) | |
DEBUG:RhasspyCore:Downloading https://github.com/Kitt-AI/snowboy/raw/master/resources/models/snowboy.umdl to /home/pi/.config/rhasspy/profiles/en/snowboy/snowboy.umdl | |
ERROR:asyncio:Task exception was never retrieved | |
future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)> | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket | |
await self.handle_asgi_app(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app | |
await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
DEBUG:RhasspyCore:Downloaded /home/pi/.config/rhasspy/profiles/en/snowboy/snowboy.umdl | |
[2020-01-04 12:38:32,463] 192.168.178.21:62683 POST /api/download-profile 1.1 200 2 1858206 | |
INFO:quart.serving:192.168.178.21:62683 POST /api/download-profile 1.1 200 2 1858206 | |
# restarting (after downloading) | |
DEBUG:__main__:Restarting Rhasspy | |
DEBUG:WebSocketObserver:started -> stopped | |
DEBUG:DummyAudioRecorder:started -> stopped | |
DEBUG:DummyAudioPlayer:started -> stopped | |
DEBUG:DummySentenceSpeaker:started -> stopped | |
DEBUG:SnowboyWakeListener:loaded -> stopped | |
DEBUG:RemoteDecoder:started -> stopped | |
DEBUG:DummyIntentTrainer:started -> stopped | |
DEBUG:WebrtcvadCommandListener:loaded -> stopped | |
DEBUG:RemoteRecognizer:started -> stopped | |
DEBUG:DummyIntentHandler:started -> stopped | |
DEBUG:DummySpeechTrainer:started -> stopped | |
DEBUG:DialogueManager:asleep -> stopped | |
DEBUG:PhonetisaurusPronounce:started -> stopped | |
DEBUG:RhasspyCore:Loaded profile from /home/pi/.config/rhasspy/profiles/en/profile.json | |
DEBUG:RhasspyCore:Profile files will be written to /home/pi/.config/rhasspy/profiles/en | |
DEBUG:root:Loading default profile settings from /home/pi/rhasspy/profiles/defaults.json | |
DEBUG:WebSocketObserver: -> started | |
DEBUG:DialogueManager: -> started | |
DEBUG:DialogueManager:started -> loading | |
DEBUG:DialogueManager:Loading actors | |
DEBUG:DialogueManager:Actors created. Waiting for ['recorder', 'player', 'speech', 'wake', 'command', 'decoder', 'recognizer', 'handler', 'speech_trainer', 'intent_trainer', 'word_pronouncer'] to start. | |
DEBUG:SnowboyWakeListener: -> started | |
DEBUG:RemoteRecognizer: -> started | |
DEBUG:DummyIntentHandler: -> started | |
DEBUG:DummySpeechTrainer: -> started | |
DEBUG:DummyIntentTrainer: -> started | |
DEBUG:PhonetisaurusPronounce: -> started | |
DEBUG:DummyAudioRecorder: -> started | |
DEBUG:DummyAudioPlayer: -> started | |
DEBUG:DummySentenceSpeaker: -> started | |
DEBUG:WebrtcvadCommandListener: -> started | |
DEBUG:RemoteDecoder: -> started | |
DEBUG:SnowboyWakeListener:Loading snowboy model from /home/pi/.config/rhasspy/profiles/en/snowboy/snowboy.umdl | |
DEBUG:DialogueManager:recognizer started | |
DEBUG:WebrtcvadCommandListener:started -> loaded | |
DEBUG:SnowboyWakeListener:Loaded snowboy model snowboy/snowboy.umdl ({'sensitivity': '0.5', 'audio_gain': 1.0, 'apply_frontend': False}) | |
DEBUG:DialogueManager:handler started | |
DEBUG:SnowboyWakeListener:started -> loaded | |
DEBUG:DialogueManager:speech_trainer started | |
DEBUG:DialogueManager:intent_trainer started | |
DEBUG:DialogueManager:word_pronouncer started | |
DEBUG:DialogueManager:recorder started | |
DEBUG:DialogueManager:player started | |
DEBUG:DialogueManager:speech started | |
DEBUG:DialogueManager:decoder started | |
DEBUG:DialogueManager:command started | |
DEBUG:DialogueManager:wake started | |
DEBUG:DialogueManager:Actors loaded | |
DEBUG:DialogueManager:loading -> ready | |
INFO:DialogueManager:Automatically listening for wake word | |
DEBUG:DialogueManager:ready -> asleep | |
DEBUG:SnowboyWakeListener:loaded -> listening | |
INFO:__main__:Started | |
INFO:__main__:Restarted Rhasspy | |
[2020-01-04 12:38:54,109] 192.168.178.21:62768 POST /api/restart 1.1 200 17 6351627 | |
INFO:quart.serving:192.168.178.21:62768 POST /api/restart 1.1 200 17 6351627 | |
[2020-01-04 12:38:54,148] 192.168.178.21:62768 GET / 1.1 200 1029 11987 | |
INFO:quart.serving:192.168.178.21:62768 GET / 1.1 200 1029 11987 | |
ERROR:__main__:api_events_log | |
Traceback (most recent call last): | |
File "app.py", line 1123, in api_events_log | |
text = await q.get() | |
File "/usr/local/lib/python3.6/asyncio/queues.py", line 167, in get | |
yield from getter | |
concurrent.futures._base.CancelledError | |
[2020-01-04 12:38:54,183] Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:quart.serving:Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
[2020-01-04 12:38:54,524] 192.168.178.21:62768 GET /api/sentences 1.1 200 581 15100 | |
INFO:quart.serving:192.168.178.21:62768 GET /api/sentences 1.1 200 581 15100 | |
[2020-01-04 12:38:54,559] 192.168.178.21:62816 GET /api/events/log 1.1 101 - 109033 | |
INFO:quart.serving:192.168.178.21:62816 GET /api/events/log 1.1 101 - 109033 | |
DEBUG:__main__:Loading phoneme examples from /home/pi/rhasspy/profiles/en/phoneme_examples.txt | |
[2020-01-04 12:38:54,596] 192.168.178.21:62768 GET /api/profiles 1.1 200 144 59922 | |
INFO:quart.serving:192.168.178.21:62768 GET /api/profiles 1.1 200 144 59922 | |
[2020-01-04 12:38:54,601] 192.168.178.21:62817 GET /api/slots 1.1 200 2 49773 | |
INFO:quart.serving:192.168.178.21:62817 GET /api/slots 1.1 200 2 49773 | |
[2020-01-04 12:38:54,604] 192.168.178.21:62818 GET /api/phonemes 1.1 200 1526 52195 | |
INFO:quart.serving:192.168.178.21:62818 GET /api/phonemes 1.1 200 1526 52195 | |
[2020-01-04 12:38:54,618] 192.168.178.21:62821 GET /api/profile 1.1 200 8662 61688 | |
INFO:quart.serving:192.168.178.21:62821 GET /api/profile 1.1 200 8662 61688 | |
[2020-01-04 12:38:54,634] 192.168.178.21:62819 GET /api/microphones 1.1 200 2 81752 | |
INFO:quart.serving:192.168.178.21:62819 GET /api/microphones 1.1 200 2 81752 | |
[2020-01-04 12:38:54,637] 192.168.178.21:62820 GET /api/speakers 1.1 200 2 83703 | |
INFO:quart.serving:192.168.178.21:62820 GET /api/speakers 1.1 200 2 83703 | |
[2020-01-04 12:38:54,650] 192.168.178.21:62768 GET /api/profile 1.1 200 6825 28699 | |
INFO:quart.serving:192.168.178.21:62768 GET /api/profile 1.1 200 6825 28699 | |
[2020-01-04 12:38:54,668] 192.168.178.21:62817 GET /api/unknown-words 1.1 200 2 20428 | |
INFO:quart.serving:192.168.178.21:62817 GET /api/unknown-words 1.1 200 2 20428 | |
[2020-01-04 12:38:54,680] 192.168.178.21:62818 GET /api/problems 1.1 200 269 31612 | |
INFO:quart.serving:192.168.178.21:62818 GET /api/problems 1.1 200 269 31612 | |
# top (constant memory usage) | |
top - 12:41:41 up 37 min, 4 users, load average: 0,02, 0,08, 0,12 | |
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie | |
%Cpu(s): 0,3 us, 0,7 sy, 0,0 ni, 99,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st | |
KiB Mem : 896672 total, 321880 free, 142552 used, 432240 buff/cache | |
KiB Swap: 262140 total, 262140 free, 0 used. 683916 avail Mem | |
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | |
1253 pi 20 0 556520 82300 46560 S 0,0 9,2 0:46.77 python3 app.py --profile en |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enabling PyAudio and click on test, auto selection: 5: default* (error) | |
# notifcation: Successfully tested microphones | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
[2020-01-04 16:20:19,574] 192.168.178.21:62641 GET /api/microphones 1.1 200 151 91354 | |
INFO:quart.serving:192.168.178.21:62641 GET /api/microphones 1.1 200 151 91354 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1514 | |
Expression 'ValidateParameters( inputParameters, hostApi, StreamDirection_In )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2818 | |
Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1514 | |
Expression 'ValidateParameters( inputParameters, hostApi, StreamDirection_In )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2818 | |
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048 | |
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719 | |
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843 | |
Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1514 | |
Expression 'ValidateParameters( inputParameters, hostApi, StreamDirection_In )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2818 | |
Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1514 | |
Expression 'ValidateParameters( inputParameters, hostApi, StreamDirection_In )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2818 | |
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048 | |
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719 | |
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843 | |
[2020-01-04 16:20:27,110] 192.168.178.21:62687 GET /api/test-microphones 1.1 200 199 103260 | |
INFO:quart.serving:192.168.178.21:62687 GET /api/test-microphones 1.1 200 199 103260 | |
# save and reload | |
DEBUG:__main__:Wrote profile to /home/pi/.config/rhasspy/profiles/en/profile.json | |
[2020-01-04 16:23:36,332] 192.168.178.21:63751 POST /api/profile 1.1 200 66 34729 | |
INFO:quart.serving:192.168.178.21:63751 POST /api/profile 1.1 200 66 34729 | |
DEBUG:__main__:Restarting Rhasspy | |
DEBUG:WebSocketObserver:started -> stopped | |
DEBUG:WebrtcvadCommandListener:loaded -> stopped | |
DEBUG:DummyAudioRecorder:started -> stopped | |
DEBUG:SnowboyWakeListener:listening -> stopped | |
DEBUG:RemoteRecognizer:started -> stopped | |
DEBUG:DummyAudioPlayer:started -> stopped | |
DEBUG:RemoteDecoder:started -> stopped | |
DEBUG:DummySpeechTrainer:started -> stopped | |
DEBUG:DummyIntentTrainer:started -> stopped | |
DEBUG:PhonetisaurusPronounce:started -> stopped | |
DEBUG:DummyIntentHandler:started -> stopped | |
DEBUG:DummySentenceSpeaker:started -> stopped | |
DEBUG:DialogueManager:asleep -> stopped | |
ERROR:asyncio:Task exception was never retrieved | |
future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)> | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket | |
await self.handle_asgi_app(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app | |
await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:asyncio:Task exception was never retrieved | |
future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)> | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket | |
await self.handle_asgi_app(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app | |
await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:asyncio:Task exception was never retrieved | |
future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)> | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket | |
await self.handle_asgi_app(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app | |
await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
DEBUG:RhasspyCore:Loaded profile from /home/pi/.config/rhasspy/profiles/en/profile.json | |
DEBUG:RhasspyCore:Profile files will be written to /home/pi/.config/rhasspy/profiles/en | |
DEBUG:root:Loading default profile settings from /home/pi/rhasspy/profiles/defaults.json | |
DEBUG:WebSocketObserver: -> started | |
DEBUG:DialogueManager: -> started | |
DEBUG:DialogueManager:started -> loading | |
DEBUG:DialogueManager:Loading actors | |
DEBUG:DialogueManager:Actors created. Waiting for ['recorder', 'player', 'speech', 'wake', 'command', 'decoder', 'recognizer', 'handler', 'speech_trainer', 'intent_trainer', 'word_pronouncer'] to start. | |
DEBUG:PyAudioRecorder: -> started | |
DEBUG:DummyAudioPlayer: -> started | |
DEBUG:DummySentenceSpeaker: -> started | |
DEBUG:SnowboyWakeListener: -> started | |
DEBUG:WebrtcvadCommandListener: -> started | |
DEBUG:RemoteDecoder: -> started | |
DEBUG:RemoteRecognizer: -> started | |
DEBUG:DummyIntentHandler: -> started | |
DEBUG:PhonetisaurusPronounce: -> started | |
DEBUG:DummySpeechTrainer: -> started | |
DEBUG:DummyIntentTrainer: -> started | |
DEBUG:DialogueManager:recorder started | |
DEBUG:SnowboyWakeListener:Loading snowboy model from /home/pi/.config/rhasspy/profiles/en/snowboy/snowboy.umdl | |
DEBUG:WebrtcvadCommandListener:started -> loaded | |
DEBUG:DialogueManager:speech started | |
DEBUG:SnowboyWakeListener:Loaded snowboy model snowboy/snowboy.umdl ({'sensitivity': '0.5', 'audio_gain': 1.0, 'apply_frontend': False}) | |
DEBUG:DialogueManager:player started | |
DEBUG:SnowboyWakeListener:started -> loaded | |
DEBUG:DialogueManager:decoder started | |
DEBUG:DialogueManager:recognizer started | |
DEBUG:DialogueManager:handler started | |
DEBUG:DialogueManager:word_pronouncer started | |
DEBUG:DialogueManager:speech_trainer started | |
DEBUG:DialogueManager:intent_trainer started | |
DEBUG:DialogueManager:command started | |
DEBUG:DialogueManager:wake started | |
DEBUG:DialogueManager:Actors loaded | |
DEBUG:DialogueManager:loading -> ready | |
INFO:DialogueManager:Automatically listening for wake word | |
DEBUG:DialogueManager:ready -> asleep | |
DEBUG:SnowboyWakeListener:loaded -> listening | |
DEBUG:PyAudioRecorder:started -> recording | |
INFO:__main__:Started | |
INFO:__main__:Restarted Rhasspy | |
[2020-01-04 16:23:44,067] 192.168.178.21:63751 POST /api/restart 1.1 200 17 6403184 | |
INFO:quart.serving:192.168.178.21:63751 POST /api/restart 1.1 200 17 6403184 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048 | |
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719 | |
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843 | |
[2020-01-04 16:23:44,118] 192.168.178.21:63751 GET / 1.1 200 1029 14192 | |
ERROR:PyAudioRecorder:to_recording | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/rhasspy/audio_recorder.py", line 170, in to_recording | |
frames_per_buffer=self.frames_per_buffer, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/pyaudio.py", line 750, in open | |
stream = Stream(self, *args, **kwargs) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/pyaudio.py", line 441, in __init__ | |
self._stream = pa.open(**arguments) | |
OSError: [Errno -9997] Invalid sample rate | |
INFO:quart.serving:192.168.178.21:63751 GET / 1.1 200 1029 14192 | |
DEBUG:PyAudioRecorder:recording -> started | |
ERROR:__main__:api_events_log | |
Traceback (most recent call last): | |
File "app.py", line 1123, in api_events_log | |
text = await q.get() | |
File "/usr/local/lib/python3.6/asyncio/queues.py", line 167, in get | |
yield from getter | |
concurrent.futures._base.CancelledError | |
[2020-01-04 16:23:44,137] Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:quart.serving:Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
[2020-01-04 16:23:44,407] 192.168.178.21:63751 GET /api/sentences 1.1 200 581 12823 | |
INFO:quart.serving:192.168.178.21:63751 GET /api/sentences 1.1 200 581 12823 | |
[2020-01-04 16:23:44,428] 192.168.178.21:63802 GET /api/events/log 1.1 101 - 99487 | |
INFO:quart.serving:192.168.178.21:63802 GET /api/events/log 1.1 101 - 99487 | |
DEBUG:__main__:Loading phoneme examples from /home/pi/rhasspy/profiles/en/phoneme_examples.txt | |
[2020-01-04 16:23:44,471] 192.168.178.21:63803 GET /api/slots 1.1 200 2 49987 | |
INFO:quart.serving:192.168.178.21:63803 GET /api/slots 1.1 200 2 49987 | |
[2020-01-04 16:23:44,475] 192.168.178.21:63804 GET /api/phonemes 1.1 200 1526 52991 | |
INFO:quart.serving:192.168.178.21:63804 GET /api/phonemes 1.1 200 1526 52991 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'[2020-01-04 16:23:44,492] 192.168.178.21:63751 GET /api/profiles 1.1 200 144 37202 | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
INFO:quart.serving:192.168.178.21:63751 GET /api/profiles 1.1 200 144 37202 | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
[2020-01-04 16:23:44,536] 192.168.178.21:63807 GET /api/profile 1.1 200 8665 40336 | |
INFO:quart.serving:192.168.178.21:63807 GET /api/profile 1.1 200 8665 40336 | |
[2020-01-04 16:23:44,550] 192.168.178.21:63803 GET /api/profile 1.1 200 6825 49232 | |
INFO:quart.serving:192.168.178.21:63803 GET /api/profile 1.1 200 6825 49232 | |
[2020-01-04 16:23:44,553] 192.168.178.21:63804 GET /api/unknown-words 1.1 200 2 50267 | |
INFO:quart.serving:192.168.178.21:63804 GET /api/unknown-words 1.1 200 2 50267 | |
[2020-01-04 16:23:44,563] 192.168.178.21:63806 GET /api/speakers 1.1 200 2 92714 | |
INFO:quart.serving:192.168.178.21:63806 GET /api/speakers 1.1 200 2 92714 | |
[2020-01-04 16:23:44,566] 192.168.178.21:63805 GET /api/microphones 1.1 200 151 143957 | |
INFO:quart.serving:192.168.178.21:63805 GET /api/microphones 1.1 200 151 143957 | |
[2020-01-04 16:23:44,578] 192.168.178.21:63751 GET /api/problems 1.1 200 266 39519 | |
INFO:quart.serving:192.168.178.21:63751 GET /api/problems 1.1 200 266 39519 | |
# train with mic-setup | |
INFO:__main__:Starting training | |
DEBUG:DialogueManager:asleep -> training_sentences | |
DEBUG:SnowboyWakeListener:listening -> loaded | |
[2020-01-04 16:26:31,986] 192.168.178.21:64747 GET /api/unknown-words 1.1 200 2 29735 | |
INFO:quart.serving:192.168.178.21:64747 GET /api/unknown-words 1.1 200 2 29735 | |
WARNING:train:Unsupported acoustic model type: remote | |
DEBUG:train:Parsing ini file(s): ['/home/pi/rhasspy/profiles/en/sentences.ini'] | |
DEBUG:rhasspynlu.ini_jsgf:Loaded ini file | |
. ini_graph | |
-- intent_fst | |
. language_model:intent_counts | |
ngramcount: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by ngramcount) | |
ngramcount: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by /home/pi/rhasspy/.venv/lib/libngram.so.134) | |
TaskFailed - taskid:language_model:intent_counts | |
Command failed: 'ngramcount /home/pi/.config/rhasspy/profiles/en/intent.fst /home/pi/.config/rhasspy/profiles/en/intent.fst.counts' returned 1 | |
######################################## | |
language_model:intent_counts <stdout>: | |
DEBUG:DialogueManager:training_sentences -> ready | |
INFO:DialogueManager:Automatically listening for wake word | |
DEBUG:DialogueManager:ready -> asleep | |
DEBUG:SnowboyWakeListener:loaded -> listening | |
DEBUG:PyAudioRecorder:started -> recording | |
ERROR:__main__:Training failed: <Task: language_model:intent_counts>: TaskFailed | |
Command failed: 'ngramcount /home/pi/.config/rhasspy/profiles/en/intent.fst /home/pi/.config/rhasspy/profiles/en/intent.fst.counts' returned 1 | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/app.py", line 1471, in full_dispatch_request | |
result = await self.dispatch_request(request_context) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/app.py", line 1519, in dispatch_request | |
return await handler(**request_.view_args) | |
File "app.py", line 574, in api_train | |
raise Exception(f"Training failed: {result.reason}") | |
Exception: Training failed: <Task: language_model:intent_counts>: TaskFailed | |
Command failed: 'ngramcount /home/pi/.config/rhasspy/profiles/en/intent.fst /home/pi/.config/rhasspy/profiles/en/intent.fst.counts' returned 1 | |
[2020-01-04 16:26:32,172] 192.168.178.21:64746 POST /api/train 1.1 500 209 218432 | |
INFO:quart.serving:192.168.178.21:64746 POST /api/train 1.1 500 209 218432 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048 | |
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719 | |
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843 | |
[2020-01-04 16:26:32,205] 192.168.178.21:64746 GET /api/problems 1.1 200 266 16487 | |
ERROR:PyAudioRecorder:to_recording | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/rhasspy/audio_recorder.py", line 170, in to_recording | |
frames_per_buffer=self.frames_per_buffer, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/pyaudio.py", line 750, in open | |
stream = Stream(self, *args, **kwargs) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/pyaudio.py", line 441, in __init__ | |
self._stream = pa.open(**arguments) | |
OSError: [Errno -9997] Invalid sample rate | |
INFO:quart.serving:192.168.178.21:64746 GET /api/problems 1.1 200 266 16487 | |
DEBUG:PyAudioRecorder:recording -> started | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# with pyaudio device 5 | |
# not able to stop recording in the webinterface | |
DEBUG:PyAudioRecorder:started -> recording | |
[2020-01-04 16:33:21,920] 192.168.178.21:50741 POST /api/start-recording 1.1 200 2 19461 | |
INFO:quart.serving:192.168.178.21:50741 POST /api/start-recording 1.1 200 2 19461 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048 | |
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719 | |
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843 | |
ERROR:PyAudioRecorder:to_recording | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/rhasspy/audio_recorder.py", line 170, in to_recording | |
frames_per_buffer=self.frames_per_buffer, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/pyaudio.py", line 750, in open | |
stream = Stream(self, *args, **kwargs) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/pyaudio.py", line 441, in __init__ | |
self._stream = pa.open(**arguments) | |
OSError: [Errno -9997] Invalid sample rate | |
DEBUG:PyAudioRecorder:recording -> started | |
# rhasspy icon in the top left corner is spinning | |
# refreshing the page brings it to a normal state again |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./run-venv.sh --profile en | |
DEBUG:__main__:Namespace(host='0.0.0.0', log_level='DEBUG', port=12101, profile='en', set=[], ssl=None, system_profiles='/home/pi/rhasspy/profiles', user_profiles='/home/pi/.config/rhasspy/profiles') | |
DEBUG:RhasspyCore:Loaded profile from /home/pi/rhasspy/profiles/en/profile.json | |
DEBUG:RhasspyCore:Profile files will be written to /home/pi/.config/rhasspy/profiles/en | |
DEBUG:root:Loading default profile settings from /home/pi/rhasspy/profiles/defaults.json | |
DEBUG:WebSocketObserver: -> started | |
DEBUG:DialogueManager: -> started | |
DEBUG:DialogueManager:started -> loading | |
DEBUG:DialogueManager:Loading actors | |
DEBUG:DialogueManager:Actors created. Waiting for ['recorder', 'player', 'speech', 'wake', 'command', 'decoder', 'recognizer', 'handler', 'speech_trainer', 'intent_trainer', 'word_pronouncer'] to start. | |
DEBUG:PyAudioRecorder: -> started | |
DEBUG:APlayAudioPlayer: -> started | |
DEBUG:EspeakSentenceSpeaker: -> started | |
DEBUG:DummyWakeListener: -> started | |
DEBUG:WebrtcvadCommandListener: -> started | |
DEBUG:PocketsphinxDecoder: -> started | |
DEBUG:FsticuffsRecognizer: -> started | |
DEBUG:DummyIntentHandler: -> started | |
DEBUG:PocketsphinxSpeechTrainer: -> started | |
DEBUG:FsticuffsIntentTrainer: -> started | |
DEBUG:PhonetisaurusPronounce: -> started | |
DEBUG:DialogueManager:recorder started | |
DEBUG:EspeakSentenceSpeaker:started -> ready | |
DEBUG:WebrtcvadCommandListener:started -> loaded | |
WARNING:FsticuffsRecognizer:preload: [Errno 2] No such file or directory: 'profiles/en/intent.json' | |
DEBUG:DialogueManager:player started | |
DEBUG:FsticuffsRecognizer:started -> loaded | |
DEBUG:DialogueManager:wake started | |
DEBUG:DialogueManager:handler started | |
DEBUG:DialogueManager:speech_trainer started | |
DEBUG:DialogueManager:intent_trainer started | |
DEBUG:DialogueManager:word_pronouncer started | |
DEBUG:DialogueManager:command started | |
DEBUG:DialogueManager:speech started | |
DEBUG:DialogueManager:recognizer started | |
DEBUG:PocketsphinxDecoder:Loading decoder with hmm=profiles/en/acoustic_model, dict=profiles/en/dictionary.txt, lm=profiles/en/language_model.txt | |
WARNING:PocketsphinxDecoder:preload: new_Decoder returned -1 | |
DEBUG:PocketsphinxDecoder:started -> loaded | |
DEBUG:DialogueManager:decoder started | |
DEBUG:DialogueManager:Actors loaded | |
DEBUG:DialogueManager:loading -> ready | |
INFO:DialogueManager:Automatically listening for wake word | |
DEBUG:DialogueManager:ready -> asleep | |
INFO:__main__:Started | |
DEBUG:__main__:Starting web server at http://0.0.0.0:12101 | |
Running on https://0.0.0.0:12101 (CTRL + C to quit) | |
[2020-01-04 12:21:57,764] ASGI Framework Lifespan error, continuing without Lifespan support | |
WARNING:quart.serving:ASGI Framework Lifespan error, continuing without Lifespan support | |
[2020-01-04 12:23:38,832] 192.168.178.21:57498 GET / 1.1 200 1029 35967 | |
INFO:quart.serving:192.168.178.21:57498 GET / 1.1 200 1029 35967 | |
[2020-01-04 12:23:38,846] 192.168.178.21:56929 GET /api/events/log 1.1 101 - 100341510 | |
INFO:quart.serving:192.168.178.21:56929 GET /api/events/log 1.1 101 - 100341510 | |
ERROR:__main__:api_events_log | |
Traceback (most recent call last): | |
File "app.py", line 1123, in api_events_log | |
text = await q.get() | |
File "/usr/local/lib/python3.6/asyncio/queues.py", line 167, in get | |
yield from getter | |
concurrent.futures._base.CancelledError | |
[2020-01-04 12:23:38,872] Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:quart.serving:Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
[2020-01-04 12:23:39,040] 192.168.178.21:57498 GET /css/app.7e1ac47b.css 1.1 200 309 62697 | |
INFO:quart.serving:192.168.178.21:57498 GET /css/app.7e1ac47b.css 1.1 200 309 62697 | |
[2020-01-04 12:23:39,079] 192.168.178.21:57504 GET /css/fontawesome-all.min.css 1.1 200 54456 76174 | |
INFO:quart.serving:192.168.178.21:57504 GET /css/fontawesome-all.min.css 1.1 200 54456 76174 | |
[2020-01-04 12:23:39,085] 192.168.178.21:57505 GET /css/main.css 1.1 200 688 81481 | |
INFO:quart.serving:192.168.178.21:57505 GET /css/main.css 1.1 200 688 81481 | |
[2020-01-04 12:23:39,114] 192.168.178.21:57503 GET /css/bootstrap.min.css 1.1 200 140930 111895 | |
INFO:quart.serving:192.168.178.21:57503 GET /css/bootstrap.min.css 1.1 200 140930 111895 | |
[2020-01-04 12:23:39,117] 192.168.178.21:57498 GET /js/recorder.js 1.1 200 13027 66247 | |
INFO:quart.serving:192.168.178.21:57498 GET /js/recorder.js 1.1 200 13027 66247 | |
[2020-01-04 12:23:39,145] 192.168.178.21:57505 GET /js/jquery-3.3.1.slim.min.js 1.1 200 69917 21937 | |
INFO:quart.serving:192.168.178.21:57505 GET /js/jquery-3.3.1.slim.min.js 1.1 200 69917 21937 | |
[2020-01-04 12:23:39,190] 192.168.178.21:57504 GET /js/axios.min.js 1.1 200 12941 17375 | |
INFO:quart.serving:192.168.178.21:57504 GET /js/axios.min.js 1.1 200 12941 17375 | |
[2020-01-04 12:23:39,214] 192.168.178.21:57506 GET /js/app.e3433c92.js 1.1 200 146763 210446 | |
INFO:quart.serving:192.168.178.21:57506 GET /js/app.e3433c92.js 1.1 200 146763 210446 | |
[2020-01-04 12:23:39,239] 192.168.178.21:57498 GET /js/vue-axios.min.js 1.1 200 673 35853 | |
INFO:quart.serving:192.168.178.21:57498 GET /js/vue-axios.min.js 1.1 200 673 35853 | |
[2020-01-04 12:23:39,260] 192.168.178.21:57503 GET /js/bootstrap.min.js 1.1 200 50731 26703 | |
INFO:quart.serving:192.168.178.21:57503 GET /js/bootstrap.min.js 1.1 200 50731 26703 | |
[2020-01-04 12:23:39,313] 192.168.178.21:57507 GET /js/chunk-vendors.f92e8c40.js 1.1 200 293955 308645 | |
INFO:quart.serving:192.168.178.21:57507 GET /js/chunk-vendors.f92e8c40.js 1.1 200 293955 308645 | |
[2020-01-04 12:23:39,448] 192.168.178.21:57507 GET /img/logo.png 1.1 200 1924 16306 | |
INFO:quart.serving:192.168.178.21:57507 GET /img/logo.png 1.1 200 1924 16306 | |
[2020-01-04 12:23:39,508] 192.168.178.21:57507 GET /api/sentences 1.1 200 581 14982 | |
INFO:quart.serving:192.168.178.21:57507 GET /api/sentences 1.1 200 581 14982 | |
DEBUG:__main__:Loading phoneme examples from /home/pi/rhasspy/profiles/en/phoneme_examples.txt | |
[2020-01-04 12:23:39,545] 192.168.178.21:57503 GET /api/slots 1.1 200 2 32517 | |
INFO:quart.serving:192.168.178.21:57503 GET /api/slots 1.1 200 2 32517 | |
[2020-01-04 12:23:39,549] 192.168.178.21:57498 GET /api/phonemes 1.1 200 1526 35963 | |
INFO:quart.serving:192.168.178.21:57498 GET /api/phonemes 1.1 200 1526 35963 | |
[2020-01-04 12:23:39,556] 192.168.178.21:57508 GET /api/events/log 1.1 101 - 70200 | |
INFO:quart.serving:192.168.178.21:57508 GET /api/events/log 1.1 101 - 70200 | |
[2020-01-04 12:23:39,705] 192.168.178.21:57498 GET /api/profile 1.1 200 8674 111855 | |
INFO:quart.serving:192.168.178.21:57498 GET /api/profile 1.1 200 8674 111855 | |
[2020-01-04 12:23:39,751] 192.168.178.21:57504 GET /api/profile 1.1 200 3201 194493 | |
INFO:quart.serving:192.168.178.21:57504 GET /api/profile 1.1 200 3201 194493 | |
[2020-01-04 12:23:39,759] 192.168.178.21:57507 GET /webfonts/fa-solid-900.woff2 1.1 200 74320 202426 | |
INFO:quart.serving:192.168.178.21:57507 GET /webfonts/fa-solid-900.woff2 1.1 200 74320 202426 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
[2020-01-04 12:23:39,828] 192.168.178.21:57498 GET /api/profiles 1.1 200 427 81637 | |
INFO:quart.serving:192.168.178.21:57498 GET /api/profiles 1.1 200 427 81637 | |
[2020-01-04 12:23:39,863] 192.168.178.21:57503 GET /api/version 1.1 200 6 277019 | |
INFO:quart.serving:192.168.178.21:57503 GET /api/version 1.1 200 6 277019 | |
[2020-01-04 12:23:39,884] 192.168.178.21:57504 GET /api/profile 1.1 200 6825 61044 | |
INFO:quart.serving:192.168.178.21:57504 GET /api/profile 1.1 200 6825 61044 | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
[2020-01-04 12:23:39,927] 192.168.178.21:57498 GET /api/unknown-words 1.1 200 2 51548 | |
INFO:quart.serving:192.168.178.21:57498 GET /api/unknown-words 1.1 200 2 51548 | |
[2020-01-04 12:23:39,953] 192.168.178.21:57506 GET /api/microphones 1.1 200 151 400624 | |
INFO:quart.serving:192.168.178.21:57506 GET /api/microphones 1.1 200 151 400624 | |
[2020-01-04 12:23:39,968] 192.168.178.21:57507 GET /api/custom-words 1.1 200 19 124675 | |
INFO:quart.serving:192.168.178.21:57507 GET /api/custom-words 1.1 200 19 124675 | |
[2020-01-04 12:23:39,984] 192.168.178.21:57504 GET /img/favicon.png 1.1 200 802 50625 | |
INFO:quart.serving:192.168.178.21:57504 GET /img/favicon.png 1.1 200 802 50625 | |
[2020-01-04 12:23:40,004] 192.168.178.21:57505 GET /api/speakers 1.1 200 1596 451510 | |
INFO:quart.serving:192.168.178.21:57505 GET /api/speakers 1.1 200 1596 451510 | |
[2020-01-04 12:23:40,008] 192.168.178.21:57503 GET /api/problems 1.1 200 871 114172 | |
INFO:quart.serving:192.168.178.21:57503 GET /api/problems 1.1 200 871 114172 | |
DEBUG:RhasspyCore:Using cached /home/pi/.config/rhasspy/profiles/en/download/cmusphinx-en-us-5.2.tar.gz for acoustic_model | |
DEBUG:RhasspyCore:Using cached /home/pi/.config/rhasspy/profiles/en/download/en-g2p.tar.gz for base_dictionary.txt | |
DEBUG:RhasspyCore:Using cached /home/pi/.config/rhasspy/profiles/en/download/en-g2p.tar.gz for g2p.fst | |
DEBUG:RhasspyCore:Copying /tmp/tmpxbyneaf2/cmusphinx-en-us-5.2 to /home/pi/.config/rhasspy/profiles/en/acoustic_model | |
DEBUG:RhasspyCore:Copying /tmp/tmpwd01xqy4/base_dictionary.txt to /home/pi/.config/rhasspy/profiles/en/base_dictionary.txt | |
DEBUG:RhasspyCore:Copying /tmp/tmpwd01xqy4/g2p.fst to /home/pi/.config/rhasspy/profiles/en/g2p.fst | |
[2020-01-04 12:24:47,310] 192.168.178.21:57626 POST /api/download-profile 1.1 200 2 47283817 | |
INFO:quart.serving:192.168.178.21:57626 POST /api/download-profile 1.1 200 2 47283817 | |
DEBUG:__main__:Restarting Rhasspy | |
DEBUG:WebSocketObserver:started -> stopped | |
DEBUG:DummyIntentHandler:started -> stopped | |
DEBUG:APlayAudioPlayer:started -> stopped | |
DEBUG:PyAudioRecorder:started -> stopped | |
DEBUG:EspeakSentenceSpeaker:ready -> stopped | |
DEBUG:WebrtcvadCommandListener:loaded -> stopped | |
DEBUG:DummyWakeListener:started -> stopped | |
DEBUG:PocketsphinxDecoder:loaded -> stopped | |
DEBUG:FsticuffsIntentTrainer:started -> stopped | |
DEBUG:PhonetisaurusPronounce:started -> stopped | |
DEBUG:DialogueManager:asleep -> stopped | |
DEBUG:PocketsphinxSpeechTrainer:started -> stopped | |
DEBUG:FsticuffsRecognizer:loaded -> stopped | |
DEBUG:RhasspyCore:Loaded profile from /home/pi/rhasspy/profiles/en/profile.json | |
DEBUG:RhasspyCore:Profile files will be written to /home/pi/.config/rhasspy/profiles/en | |
DEBUG:root:Loading default profile settings from /home/pi/rhasspy/profiles/defaults.json | |
ERROR:asyncio:Task exception was never retrieved | |
future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)> | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket | |
await self.handle_asgi_app(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app | |
await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
DEBUG:WebSocketObserver: -> started | |
DEBUG:DialogueManager: -> started | |
DEBUG:DialogueManager:started -> loading | |
DEBUG:DialogueManager:Loading actors | |
DEBUG:DialogueManager:Actors created. Waiting for ['recorder', 'player', 'speech', 'wake', 'command', 'decoder', 'recognizer', 'handler', 'speech_trainer', 'intent_trainer', 'word_pronouncer'] to start. | |
DEBUG:APlayAudioPlayer: -> started | |
DEBUG:PyAudioRecorder: -> started | |
DEBUG:EspeakSentenceSpeaker: -> started | |
DEBUG:WebrtcvadCommandListener: -> started | |
DEBUG:PocketsphinxDecoder: -> started | |
DEBUG:DummyIntentHandler: -> started | |
DEBUG:PocketsphinxSpeechTrainer: -> started | |
DEBUG:FsticuffsIntentTrainer: -> started | |
DEBUG:PhonetisaurusPronounce: -> started | |
DEBUG:DummyWakeListener: -> started | |
DEBUG:DialogueManager:player started | |
DEBUG:FsticuffsRecognizer: -> started | |
DEBUG:EspeakSentenceSpeaker:started -> ready | |
DEBUG:WebrtcvadCommandListener:started -> loaded | |
DEBUG:PocketsphinxDecoder:Loading decoder with hmm=/home/pi/.config/rhasspy/profiles/en/acoustic_model, dict=profiles/en/dictionary.txt, lm=profiles/en/language_model.txt | |
DEBUG:DialogueManager:recorder started | |
WARNING:FsticuffsRecognizer:preload: [Errno 2] No such file or directory: 'profiles/en/intent.json' | |
DEBUG:DialogueManager:handler started | |
DEBUG:FsticuffsRecognizer:started -> loaded | |
DEBUG:DialogueManager:speech_trainer started | |
DEBUG:DialogueManager:intent_trainer started | |
DEBUG:DialogueManager:wake started | |
DEBUG:DialogueManager:word_pronouncer started | |
DEBUG:DialogueManager:command started | |
DEBUG:DialogueManager:speech started | |
DEBUG:DialogueManager:recognizer started | |
WARNING:PocketsphinxDecoder:preload: new_Decoder returned -1 | |
DEBUG:PocketsphinxDecoder:started -> loaded | |
DEBUG:DialogueManager:decoder started | |
DEBUG:DialogueManager:Actors loaded | |
DEBUG:DialogueManager:loading -> ready | |
INFO:DialogueManager:Automatically listening for wake word | |
DEBUG:DialogueManager:ready -> asleep | |
INFO:__main__:Started | |
INFO:__main__:Restarted Rhasspy | |
[2020-01-04 12:25:04,037] 192.168.178.21:57626 POST /api/restart 1.1 200 17 14385030 | |
INFO:quart.serving:192.168.178.21:57626 POST /api/restart 1.1 200 17 14385030 | |
[2020-01-04 12:25:04,082] 192.168.178.21:57626 GET / 1.1 200 1029 10256 | |
INFO:quart.serving:192.168.178.21:57626 GET / 1.1 200 1029 10256 | |
ERROR:__main__:api_events_log | |
Traceback (most recent call last): | |
File "app.py", line 1123, in api_events_log | |
text = await q.get() | |
File "/usr/local/lib/python3.6/asyncio/queues.py", line 167, in get | |
yield from getter | |
concurrent.futures._base.CancelledError | |
[2020-01-04 12:25:04,097] Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
ERROR:quart.serving:Error in ASGI Framework | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app | |
await asgi_instance(self.asgi_receive, self.asgi_send) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 106, in __call__ | |
await _cancel_tasks(pending) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 189, in _cancel_tasks | |
raise task.exception() | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/asgi.py", line 157, in handle_websocket | |
'code': 1000, | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send | |
await self.asend(CloseConnection(code=int(message["code"]))) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/hypercorn/asyncio/wsproto.py", line 93, in asend | |
self.write(self.connection.send(event)) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/__init__.py", line 64, in send | |
data += self.connection.send(event) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/wsproto/connection.py", line 101, in send | |
"Connection cannot be closed in state %s" % self.state | |
wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED | |
[2020-01-04 12:25:04,418] 192.168.178.21:57626 GET /api/sentences 1.1 200 581 11604 | |
INFO:quart.serving:192.168.178.21:57626 GET /api/sentences 1.1 200 581 11604 | |
[2020-01-04 12:25:04,440] 192.168.178.21:57995 GET /api/events/log 1.1 101 - 112387 | |
INFO:quart.serving:192.168.178.21:57995 GET /api/events/log 1.1 101 - 112387 | |
DEBUG:__main__:Loading phoneme examples from /home/pi/rhasspy/profiles/en/phoneme_examples.txt | |
[2020-01-04 12:25:04,480] 192.168.178.21:57996 GET /api/slots 1.1 200 2 47689 | |
INFO:quart.serving:192.168.178.21:57996 GET /api/slots 1.1 200 2 47689 | |
[2020-01-04 12:25:04,483] 192.168.178.21:57997 GET /api/phonemes 1.1 200 1526 49730 | |
INFO:quart.serving:192.168.178.21:57997 GET /api/phonemes 1.1 200 1526 49730 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
[2020-01-04 12:25:04,492] 192.168.178.21:57626 GET /api/profiles 1.1 200 144 26028 | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front | |
INFO:quart.serving:192.168.178.21:57626 GET /api/profiles 1.1 200 144 26028 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' | |
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory | |
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory | |
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa | |
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) | |
attempt to connect to server failed | |
[2020-01-04 12:25:04,525] 192.168.178.21:58000 GET /api/profile 1.1 200 8674 38377 | |
INFO:quart.serving:192.168.178.21:58000 GET /api/profile 1.1 200 8674 38377 | |
[2020-01-04 12:25:04,558] 192.168.178.21:57996 GET /api/profile 1.1 200 6825 50078 | |
INFO:quart.serving:192.168.178.21:57996 GET /api/profile 1.1 200 6825 50078 | |
[2020-01-04 12:25:04,565] 192.168.178.21:57997 GET /api/unknown-words 1.1 200 2 54129 | |
INFO:quart.serving:192.168.178.21:57997 GET /api/unknown-words 1.1 200 2 54129 | |
[2020-01-04 12:25:04,574] 192.168.178.21:57998 GET /api/microphones 1.1 200 151 140030 | |
INFO:quart.serving:192.168.178.21:57998 GET /api/microphones 1.1 200 151 140030 | |
[2020-01-04 12:25:04,621] 192.168.178.21:57999 GET /api/speakers 1.1 200 1596 185677 | |
INFO:quart.serving:192.168.178.21:57999 GET /api/speakers 1.1 200 1596 185677 | |
[2020-01-04 12:25:04,627] 192.168.178.21:57626 GET /api/problems 1.1 200 626 103274 | |
INFO:quart.serving:192.168.178.21:57626 GET /api/problems 1.1 200 626 103274 | |
# top (constant memory usage) | |
top - 12:31:20 up 26 min, 4 users, load average: 0,19, 0,22, 0,18 | |
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie | |
%Cpu(s): 0,3 us, 0,6 sy, 0,0 ni, 99,1 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st | |
KiB Mem : 896672 total, 329292 free, 139992 used, 427388 buff/cache | |
KiB Swap: 262140 total, 262140 free, 0 used. 686524 avail Mem | |
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | |
1253 pi 20 0 449756 77140 44184 S 0,0 8,6 0:33.04 python3 app.py --profile en |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO:__main__:Starting training | |
DEBUG:DialogueManager:asleep -> training_sentences | |
DEBUG:SnowboyWakeListener:listening -> loaded | |
[2020-01-04 16:09:01,705] 192.168.178.21:58777 GET /api/unknown-words 1.1 200 2 28056 | |
INFO:quart.serving:192.168.178.21:58777 GET /api/unknown-words 1.1 200 2 28056 | |
WARNING:train:Unsupported acoustic model type: remote | |
DEBUG:train:Parsing ini file(s): ['/home/pi/rhasspy/profiles/en/sentences.ini'] | |
DEBUG:rhasspynlu.ini_jsgf:Loaded ini file | |
. ini_graph | |
. intent_fst | |
. language_model:intent_counts | |
ngramcount: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by ngramcount) | |
ngramcount: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by /home/pi/rhasspy/.venv/lib/libngram.so.134) | |
TaskFailed - taskid:language_model:intent_counts | |
Command failed: 'ngramcount /home/pi/.config/rhasspy/profiles/en/intent.fst /home/pi/.config/rhasspy/profiles/en/intent.fst.counts' returned 1 | |
######################################## | |
language_model:intent_counts <stdout>: | |
DEBUG:DialogueManager:training_sentences -> ready | |
INFO:DialogueManager:Automatically listening for wake word | |
DEBUG:DialogueManager:ready -> asleep | |
DEBUG:SnowboyWakeListener:loaded -> listening | |
ERROR:__main__:Training failed: <Task: language_model:intent_counts>: TaskFailed | |
Command failed: 'ngramcount /home/pi/.config/rhasspy/profiles/en/intent.fst /home/pi/.config/rhasspy/profiles/en/intent.fst.counts' returned 1 | |
Traceback (most recent call last): | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/app.py", line 1471, in full_dispatch_request | |
result = await self.dispatch_request(request_context) | |
File "/home/pi/rhasspy/.venv/lib/python3.6/site-packages/quart/app.py", line 1519, in dispatch_request | |
return await handler(**request_.view_args) | |
File "app.py", line 574, in api_train | |
raise Exception(f"Training failed: {result.reason}") | |
Exception: Training failed: <Task: language_model:intent_counts>: TaskFailed | |
Command failed: 'ngramcount /home/pi/.config/rhasspy/profiles/en/intent.fst /home/pi/.config/rhasspy/profiles/en/intent.fst.counts' returned 1 | |
[2020-01-04 16:09:02,136] 192.168.178.21:58776 POST /api/train 1.1 500 209 470747 | |
INFO:quart.serving:192.168.178.21:58776 POST /api/train 1.1 500 209 470747 | |
[2020-01-04 16:09:02,165] 192.168.178.21:58776 GET /api/problems 1.1 200 269 10372 | |
INFO:quart.serving:192.168.178.21:58776 GET /api/problems 1.1 200 269 10372 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tried to parse the sam wav after training: