dflock / ulauncher-window-switcher

Linux/X11 Window Switcher plugin for Ulauncher
GNU General Public License v3.0
14 stars 10 forks source link

Crashing on launch #3

Closed magthe closed 3 years ago

magthe commented 3 years ago

I'm trying to use this extension on Arch and it crashes and exits right away.

The related error message seems to be:

2021-04-16 09:54:28,304 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.dflock.ulauncher-window-switcher" exited instantly with code 1
2021-04-16 09:54:28,304 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.dflock.ulauncher-window-switcher" failed with an error: ImportError: Requiring namespace 'Gdk' version '3.0', but '4.0' is already loaded

Since Arch is a bit aggressive with updating Gnome I suspect that 3.0 might be widely used by some other distros, but maybe it's possible to write the extension in such a way that it supports both versions?

dflock commented 3 years ago

I'm not knowingly depending on gtk/gdk at all, but I guess something is - I'll have a look.

dflock commented 3 years ago

The whole code of the plugin is here: https://github.com/dflock/ulauncher-window-switcher/blob/main/main.py

It doesn't do anything Gnome related at all. The only imports are ulauncher ones.

I assume that other ulancher plugins work for you?

magthe commented 3 years ago

Some work yes, but there are a few that fail in the same way as yours.

Since this isn't in the code of the plugin itself I'll close this and try to open an issue on ulauncher itself.