After installing, the extension crashes and the following message appears:
The extension exited instantly. Please check the logs.
I can't even change and save the keyword for triggering the extension.
OS: Ubuntu 16.04
python -V: Python 2.7.12
python3 -V: Python 3.5.2
Launching with ulauncher -v
shows (when restarting ulauncher with this extension already installed) or when freshly installing the extension:
2021-06-24 14:42:12,064 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.dflock.ulauncher-window-switcher" exited instantly with code 1
2021-06-24 14:42:12,066 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.dflock.ulauncher-window-switcher" failed with an error: SyntaxError: invalid syntax
When installing and saving the settings:
Message: 'com.github.dflock.ulauncher-window-switcher'
Error Name: UnhandledError
Type: KeyError
Stacktrace:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 198, in on_scheme_callback
resp = rt.dispatch(self, scheme_request.get_uri())
File "/usr/lib/python3/dist-packages/ulauncher/utils/Router.py", line 49, in dispatch
return callback(context, url_params)
File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 444, in prefs_extension_update_prefs
controller = ExtensionServer.get_instance().get_controller(ext_id)
File "/usr/lib/python3/dist-packages/ulauncher/api/server/ExtensionServer.py", line 76, in get_controller
return self.controllers[extension_id]
KeyError: 'com.github.dflock.ulauncher-window-switcher'
Where ulauncher -v
showed:
2021-06-24 15:08:53,306 | ERROR | ulauncher.ui.windows.PreferencesUlauncherDialog: on_scheme_callback() | Unexpected API error. KeyError: 'com.github.dflock.ulauncher-window-switcher'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 198, in on_scheme_callback
resp = rt.dispatch(self, scheme_request.get_uri())
File "/usr/lib/python3/dist-packages/ulauncher/utils/Router.py", line 49, in dispatch
return callback(context, url_params)
File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 444, in prefs_extension_update_prefs
controller = ExtensionServer.get_instance().get_controller(ext_id)
File "/usr/lib/python3/dist-packages/ulauncher/api/server/ExtensionServer.py", line 76, in get_controller
return self.controllers[extension_id]
KeyError: 'com.github.dflock.ulauncher-window-switcher'
2021-06-24 15:11:16,124 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_extension_update_prefs() | Update extension preferences: {'pref.window_switcher_kw': 'win', 'id': 'com.github.dflock.ulauncher-window-switcher', 'callback': '__jp10'}
Sometimes, I could grab the following error:
Message: 'com.github.dflock.ulauncher-window-switcher'
Error Name: UnhandledError
Type: KeyError
Stacktrace:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 198, in on_scheme_callback
resp = rt.dispatch(self, scheme_request.get_uri())
File "/usr/lib/python3/dist-packages/ulauncher/utils/Router.py", line 49, in dispatch
return callback(context, url_params)
File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 444, in prefs_extension_update_prefs
controller = ExtensionServer.get_instance().get_controller(ext_id)
File "/usr/lib/python3/dist-packages/ulauncher/api/server/ExtensionServer.py", line 76, in get_controller
return self.controllers[extension_id]
KeyError: 'com.github.dflock.ulauncher-window-switcher'
Once, I only got:
Message: undefined
Error Name: undefined
Type: undefined
Stacktrace: