brpaz / ulauncher-devdocs

Ulauncher extension to search documentation on DevDocs
MIT License
34 stars 14 forks source link

KeyError #2

Open akovia opened 5 years ago

akovia commented 5 years ago

Ulancher V5.3.0~beta1

Not sure what is going on here. I've installed this extension on another computer without any trouble. Even modified it for the languages I needed. I also have your encoder extension installed on both machines.

I do notice that you can't easily edit the languages line inside the extension dialog easily. If you try to edit the text, you can type one character and then the cursor will move to the end of the line. I just copied the line and edited it in my text editor and pasted it back. Don't think this had anything to do with it as I also tried removing and reinstalling and still same error on this machine.

Message: 'com.github.brpaz.ulauncher-devdocs' Error Name: UnhandledError Type: KeyError

Stacktrace:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 192, in on_scheme_callback
    resp = rt.dispatch(self, scheme_request.get_uri())
  File "/usr/lib/python3.7/site-packages/ulauncher/utils/Router.py", line 49, in dispatch
    return callback(context, url_params)
  File "/usr/lib/python3.7/site-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 411, in prefs_extension_update_prefs
    controller = ExtensionServer.get_instance().get_controller(ext_id)
  File "/usr/lib/python3.7/site-packages/ulauncher/api/server/ExtensionServer.py", line 76, in get_controller
    return self.controllers[extension_id]
KeyError: 'com.github.brpaz.ulauncher-devdocs'

Thanks

jsmestad commented 5 years ago

I ran into this same issue on Ubuntu 19.10 with latest Ulauncher