MycroftAI / fallback-unknown

Mycroft AI official Unknown Fallback Skill - used if no Intent is matched to an Utterance
https://mycroft.ai/skills
Apache License 2.0
4 stars 35 forks source link

upon any unknown utterance handling: times out, then triggers timer skill #35

Open AmateurAcademic opened 3 years ago

AmateurAcademic commented 3 years ago

Bug Description Anytime the "QuestionsAnsweringSkill" (I am assuming that is the same as this skill?) is triggered with an unknown utterance, it times out. This is then strangely followed up with a response from the timer skill: "how long of a timer" which is then repeated once (if user does not provide a follow up utterance).

To Reproduce Steps to reproduce the behavior:

  1. Say an unknown (intent) utterance
  2. Mycroft will search
  3. it will time out
  4. this will trigger the timer "how long of a timer" will be repeated twice

Expected behavior When an intent cannot be determined, the fallback will handle it, not time out, and not trigger the timer.

Log files Here is an actual example from the logs where I said "what version" instead of "what Mycroft version" as an utterance. But as stated, it will do this for every single unknown intent.

QuestionsAnswersSkill | Searching for what version 12:27:12.238 | INFO | 19423 | QuestionsAnswersSkill | Timeout occured check responses 12:27:14.962 | INFO | 19429 | __main__:handle_record_begin:41 | Begin Recording... 12:27:17.985 | INFO | 19429 | __main__:handle_record_end:49 | End Recording... 12:27:19.596 | ERROR | 19429 | mycroft.client.speech.listener:transcribe:239 | list index out of range 12:27:19.599 | ERROR | 19429 | mycroft.client.speech.listener:transcribe:240 | Speech Recognition could not understand audio 12:27:22.041 | INFO | 19429 | __main__:handle_record_begin:41 | Begin Recording... 12:27:25.061 | INFO | 19429 | __main__:handle_record_end:49 | End Recording... 12:27:26.863 | ERROR | 19429 | mycroft.client.speech.listener:transcribe:239 | list index out of range 12:27:26.865 | ERROR | 19429 | mycroft.client.speech.listener:transcribe:240 | Speech Recognition could not understand audio

Environment

Additional context I have uninstalled this skill and re-installed it, I found a temporary fix to the timer trigger by simply removing the timer (although it seems to auto-install itself by default again and the new install of the timer skill doesn't seem to fix this issue either), I have completely re-installed Mycroft by deploying a new instance of the docker container, and also updated Mycroft within the container. Nonetheless, this issue persists.

Thank you very much for your time!

krisgesling commented 3 years ago

I can't seem to replicate this behaviour.

Can you post the output of git status for both the Timer and Unknown Fallback Skills?

cd /opt/mycroft/skills/fallback-unknown.mycroftai/
git status
cd /opt/mycroft/skills/mycroft-timer.mycroftai/
git status