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

[Linux]: Wayland error message #77

Open
mainrs opened this issue Oct 22, 2023 · 0 comments
Open

[Linux]: Wayland error message #77

mainrs opened this issue Oct 22, 2023 · 0 comments

Comments

@mainrs
Copy link

mainrs commented Oct 22, 2023

Error
An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.

When loading '⁨Migaku Anki Add-on⁩':
⁨Traceback (most recent call last):
  File "aqt.addons", line 246, in loadAddons
  File "/home/me/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/__init__.py", line 37, in <module>
    from . import (
  File "/home/me/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/welcome_wizard.py", line 6, in <module>
    from .settings_widgets import TUTORIAL_WIDGETS
  File "/home/me/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/settings_widgets.py", line 10, in <module>
    from .global_hotkeys import HotkeyConfigWidget, hotkey_handler
  File "/home/me/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/global_hotkeys/__init__.py", line 6, in <module>
    from .hotkeys import HotkeyHandler
  File "/home/me/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/global_hotkeys/hotkeys.py", line 3, in <module>
    from magicy.keyboard import Key, Controller
  File "/home/me/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/lib/shared/magicy/__init__.py", line 42, in <module>
    from . import keyboard
  File "/home/me/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/lib/shared/magicy/keyboard/__init__.py", line 31, in <module>
    backend = backend(__name__)
  File "/home/me/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/lib/shared/magicy/_util/__init__.py", line 78, in backend
    raise ImportError(
ImportError: this platform is not supported: ('failed to acquire X connection: Bad display name ""', DisplayNameError(''))

Try one of the following resolutions:

 * Please make sure that you have an X server running, and that the DISPLAY environment variable is set correctly

I run GNOME 43 as my desktop environment, which by default runs on Wayland nowadays.

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