-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listens, but doesn't answer #40
Comments
Hi @xenorio Thanks for the detailed issue! Could you please run this command to provides the logs from the
|
According to the first screenshot, you ran First you need to restore the permissions on Second you will have to follow this: https://openvoiceos.github.io/ovos-docker/getting-started/docker/prerequisites/engine/#dont-be-root-be-a-user Then you should be good to go 👍 |
Oh, also, I can confirm that it is generating answers now by manually typing queries in the CLI. It's just not listening anymore. |
Your are facing this issue related to For now you can change the Let me see what we can do for the |
I'm rebuilding the |
Both images are now rebuild, just re-run the same |
It did pull down new images, but it seems like something went majorly wrong here ovos_listener log spams this now: |
Stupid me... f54d5f9#diff-89244cc4e9ad80ff4874e6c162d530547cf9412ee031ebde53e9155ee6a3fa77L2 I'm rebuilding listener... |
Oh, well, happens to the best of us I guess 😅 |
Yeah... Image is build, should work this time. |
Yes! Amazing! I can finally talk to my new buddy now! Thank you so much ❤️ However, one last teeny tiny issue... It's not playing the "listening" sound after issuing the wakeword anymore... Poked around a bit, and found this error in ovos_audio which is probably the culprit: 2023-09-22 18:16:35.788 - audio - ovos_utils.file_utils:resolve_resource_file:153 - WARNING - Deprecation version=0.1.0. Caller=ovos_audio.service:395. Expected a dict config and got None.
exception calling callback for <Future at 0x7f422c6b9090 state=finished raised FileNotFoundError>
Traceback (most recent call last):
File "/usr/lib/python3.11/concurrent/futures/_base.py", line 340, in _invoke_callbacks
callback(self)
File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_executor.py", line 57, in _callback
self.emit("error", exc)
File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 118, in emit
self._emit_handle_potential_error(event, args[0] if args else None)
File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 88, in _emit_handle_potential_error
raise error
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/service.py", line 427, in handle_instant_play
audio_file = self._resolve_sound_uri(audio_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/service.py", line 397, in _resolve_sound_uri
raise FileNotFoundError(f"{audio_file} does not exist")
FileNotFoundError: None does not exist |
Awesome! @JarbasAl seems related to the changes of sound been played in @xenorio do you have this in your "sounds": {
"start_listening": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/res/snd/start_listening.wav",
"end_listening": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/res/snd/end_listening.wav",
"acknowledge": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/res/snd/acknowledge.mp3"
}, |
this should no longer be needed, ovos-audio now resolves unfortunately the logs don't show the passed string so not sure what went wrong there exactly, the file path didn't seem to exist in ovos-audio container |
Looks like the docs need an update ^^ Originally used the config from https://openvoiceos.github.io/ovos-docker/getting-started/docker/installation/configuration/ {
"play_wav_cmdline": "aplay %1",
"lang": "en-us",
"listener": {
"VAD": {
"module": "ovos-vad-plugin-silero"
}
},
"sounds": {
"start_listening": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_dinkum_listener/res/snd/start_listening.wav"
}
} After modifying the start_listening field to the new path (site-packages/ovos_audio instead of site-packages/ovos_dinkum_listener) and adding the additional paths, the sound is back again |
Thanks for your time and patience ❤️ Since everything seems to work as intended now, guess I can close this 😅 |
So I just installed ovos-docker using the official docs. Got everything except for the GUI. When I use the wakeword ("Hey Mycroft"), it is playing a "listening" sound, but never answers queries. Just stays completely silent.
Looking at the CLI (
docker exec --interactive --tty ovos_cli ovos-cli-client
) the queries seem to properly arrive, as in it understands what I'm saying, but it never generates an answer.I can confirm that speech output works properly by running
docker exec --interactive --tty ovos_cli ovos-speak "hello world"
It also seems like all containers that should be running are in fact running:
Although the ovos-core container seems to restart exactly every 60 seconds (no idea if that's intended)
In case it somehow matters, i'm running Arch Linux
The text was updated successfully, but these errors were encountered: