Skip to content
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

Precise exceeds loading timeout on RPi 3B+ #213

Open
krisgesling opened this issue Sep 2, 2021 · 0 comments
Open

Precise exceeds loading timeout on RPi 3B+ #213

krisgesling opened this issue Sep 2, 2021 · 0 comments
Labels

Comments

@krisgesling
Copy link
Contributor

Describe the bug
From techoneer on Mycroft Chat:

I noticed that ever since the latest auto update, my picroft on a Rpi 3B+ seems to fail to use precise listener. It tries to use it but then throws a "precise took too long to start" error in the logs and falls back to pocketsphinx which is not very good. It still seems to do this on a fresh install that autoupdated.

The only config changes were to the play commands to get USB audio to work.

Expected behavior
Precise should load within the hotword factory timeout of 10 seconds - or we need to extend that timeout.

Log files
This is from the voice.log. Seems like it actually loads initially soon after boot, then again 2 minutes later but that time it gives the "taking too long" message after 10 seconds and loads pocketsphinx instead

2021-09-01 07:16:43.031 | INFO     |   735 | mycroft.client.speech.listener:create_wake_word_recognizer:328 | Creating wake word engine
2021-09-01 07:16:43.034 | INFO     |   735 | mycroft.client.speech.listener:create_wake_word_recognizer:351 | Using hotword entry for hey mycroft
2021-09-01 07:16:43.044 | INFO     |   735 | mycroft.client.speech.hotword_factory:load_module:500 | Loading "hey mycroft" wake word via precise
2021-09-01 07:16:58.798 | INFO     |   735 | mycroft.client.speech.listener:create_wakeup_recognizer:365 | creating stand up word engine
2021-09-01 07:16:58.802 | INFO     |   735 | mycroft.client.speech.hotword_factory:load_module:500 | Loading "wake up" wake word via pocketsphinx
2021-09-01 07:16:59.338 | INFO     |   735 | __main__:on_ready:179 | Speech client is ready.
2021-09-01 07:18:32.540 | WARNING  |   735 | mycroft.client.speech.listener:run:88 | Audio contains no data.
2021-09-01 07:18:32.963 | INFO     |   735 | mycroft.client.speech.listener:create_wake_word_recognizer:328 | Creating wake word engine
2021-09-01 07:18:32.968 | INFO     |   735 | mycroft.client.speech.listener:create_wake_word_recognizer:351 | Using hotword entry for hey mycroft
2021-09-01 07:18:32.973 | INFO     |   735 | mycroft.client.speech.hotword_factory:load_module:500 | Loading "hey mycroft" wake word via precise
2021-09-01 07:18:42.983 | INFO     |   735 | mycroft.client.speech.hotword_factory:load_module:535 | precise is taking too long to load
2021-09-01 07:18:42.987 | INFO     |   735 | mycroft.client.speech.hotword_factory:load_module:500 | Loading "hey mycroft" wake word via pocketsphinx
2021-09-01 07:18:43.256 | INFO     |   735 | mycroft.client.speech.listener:create_wakeup_recognizer:365 | creating stand up word engine
2021-09-01 07:18:43.258 | INFO     |   735 | mycroft.client.speech.hotword_factory:load_module:500 | Loading "wake up" wake word via pocketsphinx

Environment (please complete the following information):

  • Device type: Raspberry Pi
  • OS: Picroft
  • Mycroft-core version: 21.02.1
  • Other versions: Unknown
@krisgesling krisgesling added the bug label Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant