When talon-gaze-ocr can't find anything, it outputs a great deal of text to the log. For those of us who keep the log visible all the time this is somewhat distracting.
Here is an example:
2022-08-19 19:23:09 IO > click send
2022-08-19 19:23:09 ERROR 9: talon/scripting/talon_script.py:589|
8: talon/scripting/talon_script.py:297|
7: talon/scripting/talon_script.py:556|
6: talon/scripting/actions.py:85 |
5: talon/scripting/types.py:411|
4: user/talon-gaze-ocr/gaze_ocr_talon.py:559| begin_generator(run())
3: user/talon-gaze-ocr/gaze_ocr_talon.py:270| ambiguous_matches = next(generator)
2: user/talon-gaze-ocr/gaze_ocr_talon.py:556| yield from move_cursor_to_word_generat..
1: user/talon-gaze-ocr/gaze_ocr_talon.py:287| raise RuntimeError('Unable to find: "{}"'.format(text))
RuntimeError: Unable to find: "TimestampedText(text='send', start=4094.0116906937633, end=4094.3043736205927)"
[The below error was raised while handling the above exception(s)]
2022-08-19 19:23:09 ERROR cb error topic="phrase" cb=<bound method SpeechSystem.engine_event of <talon.scripting.speech_system.SpeechSystem object at 0x10e5ee950>>
30: lib/python3.9/threading.py:937* # cron thread
29: lib/python3.9/threading.py:980*
28: lib/python3.9/threading.py:917*
27: talon/cron.py:155|
26: talon/cron.py:106|
25: talon/vad.py:21 |
24: talon/scripting/speech_system.py:356|
23: talon/engines/w2l.py:709|
22: talon/scripting/dispatch.py:105|
21: talon/scripting/dispatch.py:144|
20: talon/scripting/dispatch.py:133|
19: talon/scripting/rctx.py:236| # 'phrase' main:_redispatch()
18: talon/scripting/speech_system.py:63 |
17: talon/scripting/dispatch.py:105|
16: talon/scripting/dispatch.py:144|
15: talon/scripting/dispatch.py:133|
14: ------------------------------------# [stack splice]
13: talon/scripting/rctx.py:236| # 'phrase' main:engine_event()
12: talon/scripting/speech_system.py:410|
11: talon/scripting/actions.py:85 |
10: talon/scripting/types.py:411|
9: talon/scripting/core/core.py:103|
8: talon/scripting/actions.py:85 |
7: talon/scripting/types.py:411|
6: talon/scripting/core/core.py:132|
5: talon/scripting/actions.py:85 |
4: talon/scripting/types.py:411|
3: talon/scripting/core/core.py:139|
2: talon/scripting/talon_script.py:690|
1: talon/scripting/talon_script.py:593|
talon.scripting.talon_script.TalonScriptError:
in script at /Users/nicholas/.talon/user/talon-gaze-ocr/gaze_ocr.talon:75:
> user.click_text(timestamped_prose)
RuntimeError: Unable to find: "TimestampedText(text='send', start=4094.0116906937633, end=4094.3043736205927)"
When talon-gaze-ocr can't find anything, it outputs a great deal of text to the log. For those of us who keep the log visible all the time this is somewhat distracting.
Here is an example: