Closed
Description
Got a weird hang when trying to use a command that access the clipboard that froze up talon for 44seconds until I manually interrupted it:
2022-06-05 20:03:23 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @2.0s
40: lib/python3.9/threading.py:930* # cron thread
39: lib/python3.9/threading.py:973*
38: lib/python3.9/threading.py:910*
37: talon/cron.py:155|
36: talon/cron.py:106|
35: talon/vad.py:21 |
34: talon/scripting/speech_system.py:355|
33: talon/engines/w2l.py:706|
32: talon/scripting/dispatch.py:105|
31: talon/scripting/dispatch.py:144|
30: talon/scripting/dispatch.py:133|
29: talon/scripting/rctx.py:233| # 'phrase' main:_redispatch()
28: talon/scripting/speech_system.py:62 |
27: talon/scripting/dispatch.py:105|
26: talon/scripting/dispatch.py:144|
25: talon/scripting/dispatch.py:133|
24: talon/scripting/rctx.py:233| # 'phrase' main:engine_event()
23: talon/scripting/speech_system.py:407|
22: talon/scripting/actions.py:85 | # core.run_phrase()
21: talon/scripting/types.py:411|
20: talon/scripting/core/core.py:100|
19: talon/scripting/actions.py:85 | # core.run_command()
18: talon/scripting/types.py:411|
17: talon/scripting/core/core.py:129|
16: talon/scripting/actions.py:85 | # core.run_talon_script()
15: talon/scripting/types.py:411|
14: talon/scripting/core/core.py:134|
13: talon/scripting/talon_script.py:690|
12: talon/scripting/talon_script.py:589|
11: talon/scripting/talon_script.py:297|
10: talon/scripting/talon_script.py:556|
9: talon/scripting/actions.py:85 | # browser.go()
8: talon/scripting/types.py:411|
7: user/knausj/apps/firefox/firefox.py:33 | actions.user.paste(url)
6: talon/scripting/actions.py:85 | # user.paste()
5: talon/scripting/types.py:411|
4: user/knausj/code/edit.py:27 | with clip.revert():
3: lib/python3.9/contextlib.py:119|
2: talon/clip.py:300|
1: talon/clip.py:174|
2022-06-05 20:03:23 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @2.0s
40: lib/python3.9/threading.py:930* # cron thread
39: lib/python3.9/threading.py:973*
38: lib/python3.9/threading.py:910*
37: talon/cron.py:155|
36: talon/cron.py:106|
35: talon/vad.py:21 |
34: talon/scripting/speech_system.py:355|
33: talon/engines/w2l.py:706|
32: talon/scripting/dispatch.py:105|
31: talon/scripting/dispatch.py:144|
30: talon/scripting/dispatch.py:133|
29: talon/scripting/rctx.py:233| # 'phrase' main:_redispatch()
28: talon/scripting/speech_system.py:62 |
27: talon/scripting/dispatch.py:105|
26: talon/scripting/dispatch.py:144|
25: talon/scripting/dispatch.py:133|
24: talon/scripting/rctx.py:233| # 'phrase' main:engine_event()
23: talon/scripting/speech_system.py:407|
22: talon/scripting/actions.py:85 | # core.run_phrase()
21: talon/scripting/types.py:411|
20: talon/scripting/core/core.py:100|
19: talon/scripting/actions.py:85 | # core.run_command()
18: talon/scripting/types.py:411|
17: talon/scripting/core/core.py:129|
16: talon/scripting/actions.py:85 | # core.run_talon_script()
15: talon/scripting/types.py:411|
14: talon/scripting/core/core.py:134|
13: talon/scripting/talon_script.py:690|
12: talon/scripting/talon_script.py:589|
11: talon/scripting/talon_script.py:297|
10: talon/scripting/talon_script.py:556|
9: talon/scripting/actions.py:85 | # browser.go()
8: talon/scripting/types.py:411|
7: user/knausj/apps/firefox/firefox.py:33 | actions.user.paste(url)
6: talon/scripting/actions.py:85 | # user.paste()
5: talon/scripting/types.py:411|
4: user/knausj/code/edit.py:27 | with clip.revert():
3: lib/python3.9/contextlib.py:119|
2: talon/clip.py:300|
1: talon/clip.py:174|
2022-06-05 20:03:25 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @4.0s (stalled)
2022-06-05 20:03:25 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @4.0s (stalled)
2022-06-05 20:03:27 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @6.0s (stalled)
2022-06-05 20:03:27 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @6.0s (stalled)
2022-06-05 20:03:29 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @8.0s (stalled)
2022-06-05 20:03:29 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @8.1s (stalled)
2022-06-05 20:03:31 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @10.0s (stalled)
2022-06-05 20:03:31 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @10.0s (stalled)
2022-06-05 20:03:33 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @12.0s (stalled)
2022-06-05 20:03:33 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @12.0s (stalled)
2022-06-05 20:03:35 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @14.0s (stalled)
2022-06-05 20:03:35 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @14.0s (stalled)
2022-06-05 20:03:37 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @16.0s (stalled)
2022-06-05 20:03:37 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @16.0s (stalled)
2022-06-05 20:03:39 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @18.0s (stalled)
2022-06-05 20:03:39 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @18.0s (stalled)
2022-06-05 20:03:41 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @20.0s (stalled)
2022-06-05 20:03:41 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @20.0s (stalled)
2022-06-05 20:03:43 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @22.0s (stalled)
2022-06-05 20:03:43 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @22.0s (stalled)
2022-06-05 20:03:45 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @24.0s (stalled)
2022-06-05 20:03:45 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @24.0s (stalled)
2022-06-05 20:03:47 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @26.0s (stalled)
2022-06-05 20:03:47 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @26.0s (stalled)
2022-06-05 20:03:49 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @28.0s (stalled)
2022-06-05 20:03:49 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @28.0s (stalled)
2022-06-05 20:03:51 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @30.0s (stalled)
2022-06-05 20:03:51 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @30.0s (stalled)
2022-06-05 20:03:53 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @32.0s (stalled)
2022-06-05 20:03:53 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @32.0s (stalled)
2022-06-05 20:03:55 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @34.0s (stalled)
2022-06-05 20:03:55 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @34.0s (stalled)
2022-06-05 20:03:57 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @36.0s (stalled)
2022-06-05 20:03:57 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @36.0s (stalled)
2022-06-05 20:03:59 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @38.0s (stalled)
2022-06-05 20:03:59 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @38.0s (stalled)
2022-06-05 20:04:01 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @40.0s (stalled)
2022-06-05 20:04:01 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @40.0s (stalled)
2022-06-05 20:04:03 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @42.0s (stalled)
2022-06-05 20:04:03 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @42.0s (stalled)
2022-06-05 20:04:05 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @44.0s (stalled)
2022-06-05 20:04:05 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @44.0s (stalled)
2022-06-05 20:04:07 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @46.0s (stalled)
2022-06-05 20:04:07 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @46.0s (stalled)
2022-06-05 20:04:09 WARNING [watchdog] "talon.scripting.speech_system._redispatch" @48.0s (stalled)
2022-06-05 20:04:09 WARNING [watchdog] "talon.scripting.speech_system.engine_event" @48.0s (stalled)
^C
I think the problem has something to do with the underlying paste operation hanging - when I tried to paste manually it also froze up my computer temporarily. But it didn't freeze for 48s, so I think talon needs a timeout somewhere to keep this from happening.
I'll see if I can replicate this later but I'm in the middle of a video call right now.