Skip to content
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

"App not running" error when attempting to focus window #1388

Open
mikeysasse opened this issue Feb 19, 2024 · 0 comments
Open

"App not running" error when attempting to focus window #1388

mikeysasse opened this issue Feb 19, 2024 · 0 comments

Comments

@mikeysasse
Copy link

mikeysasse commented Feb 19, 2024

this happens intermittently when trying to focus codium on Linux mint. Restarting talon fixes the error.

2024-02-19 00:07:00.270 ERROR cb error topic="phrase" cb=SpeechSystem.engine_event
   16:      lib/python3.11/threading.py:1002* # cron thread
   15:      lib/python3.11/threading.py:1045* 
   14:      lib/python3.11/threading.py:982 * 
   13:                    talon/cron.py:156 | 
   12:                     talon/vad.py:23  | 
   11:                     talon/vad.py:129 | 
   10: talon/scripting/speech_system.py:394 | 
    9:             talon/engines/w2l.py:727 | 
    8:      talon/scripting/dispatch.py:134 | # 'phrase' main:EngineProxy._redispatch()
    7: talon/scripting/speech_system.py:69  | 
    6: -------------------------------------# [stack splice]
    5:      talon/scripting/dispatch.py:134 | # 'phrase' main:SpeechSystem.engine_event()
    4: talon/scripting/speech_system.py:516 | 
    3:      talon/scripting/executor.py:112 | 
    2:  talon/scripting/talon_script.py:823 | 
    1:  talon/scripting/talon_script.py:725 | 
talon.scripting.talon_script.TalonScriptError: 
 in script at /home/michael/.talon/user/talon-community/core/windows_and_tabs/window_management.talon:6:
 > user.switcher_focus(running_applications)
RuntimeError: App not running: "VSCodium"
2024-02-19 00:07:03.094 ERROR     8:                        talon/scripting/talon_script.py:721| 
    7:                        talon/scripting/talon_script.py:314| 
    6:                             talon/scripting/actions.py:88 | 
    5: user/talon-community/core/app_switcher/app_switcher.py:307| app = actions.user.get_running_app(name)
    4:                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    3:                             talon/scripting/actions.py:88 | 
    2: user/talon-community/core/app_switcher/app_switcher.py:303| raise RuntimeError(f'App not running: "{name}"')
    1:                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: App not running: "VSCodium"

[The below error was raised while handling the above exception(s)]
2024-02-19 00:07:03.096 ERROR cb error topic="phrase" cb=SpeechSystem.engine_event
   16:      lib/python3.11/threading.py:1002* # cron thread
   15:      lib/python3.11/threading.py:1045* 
   14:      lib/python3.11/threading.py:982 * 
   13:                    talon/cron.py:156 | 
   12:                     talon/vad.py:23  | 
   11:                     talon/vad.py:129 | 
   10: talon/scripting/speech_system.py:394 | 
    9:             talon/engines/w2l.py:727 | 
    8:      talon/scripting/dispatch.py:134 | # 'phrase' main:EngineProxy._redispatch()
    7: talon/scripting/speech_system.py:69  | 
    6: -------------------------------------# [stack splice]
    5:      talon/scripting/dispatch.py:134 | # 'phrase' main:SpeechSystem.engine_event()
    4: talon/scripting/speech_system.py:516 | 
    3:      talon/scripting/executor.py:112 | 
    2:  talon/scripting/talon_script.py:823 | 
    1:  talon/scripting/talon_script.py:725 | 
talon.scripting.talon_script.TalonScriptError: 
 in script at /home/michael/.talon/user/talon-community/core/windows_and_tabs/window_management.talon:6:
 > user.switcher_focus(running_applications)
RuntimeError: App not running: "VSCodium"```
@mikeysasse mikeysasse changed the title "App not running" error when attempting to focus endow "App not running" error when attempting to focus window Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant