Navigation

    Migaku Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Anki Addon won't start

    Migaku Anki Addon
    flatpak linux
    1
    1
    28
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jonavano last edited by

      When ever i start Anki it gives an error because of the Migaku addon. It will start but without the addon.
      i am running it on fedora silverblue 37 using the flatpak. The flatpak auto updated so it is currently on ⁨2.1.61. I know this isn't the supported version but It isn't possible to return to the old version because it is to old and i could not find another way of installing anki that works on my machine.
      The error seems to be about x11, and i am running wayland but I have selected it to use x11 using flatseal.
      Also it is only a problem for this addon, the kanji one does still work

      here is the error message:

      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 247, in loadAddons
        File "/var/home/Jonavano/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/__init__.py", line 38, in <module>
          from . import (
        File "/var/home/Jonavano/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/welcome_wizard.py", line 9, in <module>
          from .global_hotkeys import HotkeyConfigWidget, hotkey_handler
        File "/var/home/Jonavano/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/global_hotkeys.py", line 4, in <module>
          import pynput.keyboard
        File "/var/home/Jonavano/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/lib/shared/pynput/__init__.py", line 40, in <module>
          from . import keyboard
        File "/var/home/Jonavano/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/lib/shared/pynput/keyboard/__init__.py", line 31, in <module>
          backend = backend(__name__)
        File "/var/home/Jonavano/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1846879528/lib/shared/pynput/_util/__init__.py", line 77, in backend
          raise ImportError('this platform is not supported: {}'.format(
      ImportError: this platform is not supported: ('failed to acquire X connection: Can\'t connect to display ":0": b\'Authorization required, but no authorization protocol specified\\n\'', DisplayConnectionError(':0', b'Authorization required, but no authorization protocol specified\n'))
      
      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
      ⁩
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post