Closed Psychokiller1888 closed 5 years ago
Hello,
I am seeing the exact same issue on two installs.
both systems were working instances with the audio and hotword service running on it. I have installed the satellite package and after that I deinstalled the hotword and audio server pacages.
Regards,
Richard
[11:46:14.318333] DEBUG:snips_audio_portaudio: Mike initialization looking good
[11:46:14.318821] DEBUG:rumqtt::connection : Send: Subscribe(Subscribe { pid: PacketIdentifier(1), topics: [SubscribeTopic { topic_path: "hermes/dialogueManager/sessionStarted", qos: AtMostOnce }] })
[11:46:14.318992] DEBUG:snips_common_cli::cli: conf lookup: snips-hotword.hotword_id -> Ok(None)
[11:46:14.319098] DEBUG:snips_common_cli::cli: conf lookup: snips-common.hotword_id -> Ok(None)
[11:46:14.319112] DEBUG:rumqtt::connection : Send: Subscribe(Subscribe { pid: PacketIdentifier(2), topics: [SubscribeTopic { topic_path: "hermes/dialogueManager/sessionEnded", qos: AtMostOnce }] })
[11:46:14.319273] DEBUG:rumqtt::connection : Send: Subscribe(Subscribe { pid: PacketIdentifier(3), topics: [SubscribeTopic { topic_path: "hermes/hotword/toggleOn", qos: AtMostOnce }] })
[11:46:14.319325] DEBUG:snips_common_cli::cli: conf lookup: snips-hotword.no_vad_inhibitor -> Ok(None)
[11:46:14.319375] DEBUG:rumqtt::connection : Send: Subscribe(Subscribe { pid: PacketIdentifier(4), topics: [SubscribeTopic { topic_path: "hermes/hotword/toggleOff", qos: AtMostOnce }] })
[11:46:14.319410] DEBUG:snips_common_cli::cli: conf lookup: snips-common.no_vad_inhibitor -> Ok(None)
[11:46:14.319587] DEBUG:snips_common_cli::cli: conf lookup: snips-hotword.vad_messages -> Ok(None)
[11:46:14.319666] DEBUG:snips_common_cli::cli: conf lookup: snips-common.vad_messages -> Ok(None)
[11:46:14.319748] DEBUG:snips_common_cli::cli: conf lookup: snips-hotword.sensitivity -> Ok(None)
[11:46:14.319820] DEBUG:snips_common_cli::cli: conf lookup: snips-common.sensitivity -> Ok(None)
[11:46:14.319946] DEBUG:snips_common_cli::cli: conf lookup: snips-hotword.model -> Ok(Some("/usr/share/snips/hotword"))
[11:46:14.320133] ERROR:rumqtt::client : snips-satellite|7555-gohan-snips-1 Disconnected: (Error(SyncMpsc(Disconnected), State { next_error: None, backtrace: None }))
[11:46:14.320145] ERROR:snips_satellite : No such file or directory (os error 2)
[11:46:14.320207] DEBUG:rumqtt::client : snips-satellite|7555-gohan-snips-1: Entering reconnecting loop
[11:46:14.320380] INFO :rumqtt::client : not seeking reconnection
[11:46:14.320431] INFO :rumqtt::client : client thread done
[11:46:14.320491] ERROR:snips_common_cli::cli: Unable to reconnect to the mqtt broker, ending the program.
@gisteren,
Looks like another issue, check the path to your hotword model.
[11:46:14.319946] DEBUG:snips_common_cli::cli: conf lookup: snips-hotword.model -> Ok(Some("/usr/share/snips/hotword"))
[11:46:14.320133] ERROR:rumqtt::client : snips-satellite|7555-gohan-snips-1 Disconnected: (Error(SyncMpsc(Disconnected), State { next_error: None, backtrace: None }))
[11:46:14.320145] ERROR:snips_satellite : No such file or directory (os error 2)
The log related to MQTT are misleading (we need to fix that)
[edit]
Try to install an assistant on your satellite or just install hey snips model package
sudo apt install snips-hotword-model-heysnipsv4
at least it will provide a hotword in /usr/share/snips/hotword
@Psychokiller1888
We are trying to reproduce your issue (without success of course)
Quick question, what happens if you only restart the snips-satellite service (sudo systemctl restart snips-satellite
) ?
What is the output of journalctl -u snips-satellite -f
?
@Psychokiller1888,
Did you manage to solve your issue?
Closing this one, seems fixed
What's the issue? Just installed snips-satellite on my satellites. Beside it being unable to capture my hotwords, I started to think it's about the sensitivity. Edited snips.toml, changed a sensitivity setting, and did
systemctl restart snips-*
Doing this fails and snips-satellite cannot restart until next reboot.... Pretty hard to set the correct sensitivity and or manage snips that wayLogs