-
Notifications
You must be signed in to change notification settings - Fork 119
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
Caster fails to load with windows speech recognition engine #305
Comments
I can confirm: WSR starts turned off, applications fail to load and the |
It seems doable to delay application load until user clicks the WSR button, but is this really the intended behavior? Should or shouldn't Dragonfly launch WSR without user intervention? |
It is intended to launch WSR without user intervention. A mechanism is in place already to load when WSR is available which needs to be debugged. |
@comodoro According to my testing I believe this issue has been fixed by dictation-toolbox/dragonfly@6d78fdd which is a fix for dictation-toolbox/dragonfly#25 if you're willing to help test download from github the latest dragonfly repository and run from CMD or powershell Well I take that back nevermind 5/6 tests it worked on the 6th of same error occurs. |
I can confirm now that it still does not work:) Thought actually that the problem might be on my side. By the way, does the line https://github.com/synkarius/caster/blob/0c03ae2ab81fceb1c4421f2cf3e9cc6729a1ef43/_caster.py#L19 actually load all apps, not just firefox, because of init.py in apps? I cannot explain what i see in the console otherwise. Same goes for https://github.com/synkarius/caster/blob/0c03ae2ab81fceb1c4421f2cf3e9cc6729a1ef43/_caster.py#L12 and ccr rules. |
@comodoro I can confirm the bug is not within caster. The issue is somewhere within dragonfly. See dictation-toolbox/dragonfly#41 The issue can be reproduced with sample.py which is a pure dragonfly implementation. On my machine the bug seems to be intermittent. |
I would have to look into that but I think you're correct about the init.py |
Okay I've done a bit more looking into this. I still don't know how to fix it, but I noticed it also occurs with the original version of dragonfly. I don't think I'm familiar enough with Microsoft's Speech API to actually fix this. It could be specific to certain versions of Windows if no one has reported it before. As @comodoro suggested on Gitter, we could just swap to using the Given that there is no UI if |
The bug is related to WSR Engine not the dragonfly implementation. A workaround now utilizes SAPI 5's in-process engine class is the default in dragonfly v0.11.0. |
Caster fails to load with windows speech recognition engine. Using latest development branch and dragonfly 0.8.0
All applications failed to load similar to 'vscode'. and 'Attempting to load Caster ' continues indefinitely.
Truncated log
Confirmation needed to label as a bug. Please test.
Simply close out Dragon NaturallySpeaking and double-click on
_caster.py
The text was updated successfully, but these errors were encountered: