Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

self.remove_fallback(handler) it does not work #2586

Closed
gras64 opened this issue May 16, 2020 · 3 comments · Fixed by #2588
Closed

self.remove_fallback(handler) it does not work #2586

gras64 opened this issue May 16, 2020 · 3 comments · Fixed by #2588

Comments

@gras64
Copy link
Contributor

gras64 commented May 16, 2020

i need the remove.fallback function after recording in my wakeword skill. I acted according to instructions https://mycroft-ai.gitbook.io/docs/skill-development/skill-types/fallback-skill. however, I always get the message. "mycroft.skills.fallback_skill:remove_fallback:139 | Could not remove fallback!". the fallback function is retained and is not deactivated. During the skill shutdown, the function is executed, the error message remains and fallback is deactivated.

@forslund
Copy link
Collaborator

Thanks for reporting, I tested and can confirm that this is a bug.

@forslund
Copy link
Collaborator

Looks like self.remove_instance_handlers() should work if you need a quick workaround.

@gras64
Copy link
Contributor Author

gras64 commented May 17, 2020

thanks for the hint

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants