I recently noticed that every time I switch from command mode to dictation with Vosk, the huge error message at the end of this post is generated in Talon logs by the update() method of the file spoken_forms.py in cursorless-talon.
This seems to be only cosmetic and doesn't affect the use of Vosk (or the use of Cursorless after coming back to command mode later), but since the message is huge and kind of polluting the logs I wanted to inform you about it.
In my copy of cursorless-talon I added a simple test at the beginning of update() as a workaround, but there is probably a clever and more generic way than explicitly checking for Vosk:
def update():
if settings.get("speech.engine") == "vosk":
print("cursorless.src.spoken_forms.py/update(): Vosk detected, skip update")
return
global disposables
...
Hello,
Thank you for making Cursorless!
I recently noticed that every time I switch from command mode to dictation with Vosk, the huge error message at the end of this post is generated in Talon logs by the
update()
method of the filespoken_forms.py
in cursorless-talon.This seems to be only cosmetic and doesn't affect the use of Vosk (or the use of Cursorless after coming back to command mode later), but since the message is huge and kind of polluting the logs I wanted to inform you about it.
In my copy of cursorless-talon I added a simple test at the beginning of
update()
as a workaround, but there is probably a clever and more generic way than explicitly checking for Vosk:Best regards.
Copy of the error message: