You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading Migaku Kanji GOD:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/aqt/addons.py", line 245, in loadAddons import(addon.dir_name)
File "/home/graham/.local/share/Anki2/addons21/Migaku Kanji GOD/init.py", line 2, in
from . import kanji
File "/home/graham/.local/share/Anki2/addons21/Migaku Kanji GOD/kanji.py", line 16, in
from .kanji_confirm_dialog import KanjiConfirmDialog
File "/home/graham/.local/share/Anki2/addons21/Migaku Kanji GOD/kanji_confirm_dialog.py", line 8, in
from .lookup_window import LookupWindow
File "/home/graham/.local/share/Anki2/addons21/Migaku Kanji GOD/lookup_window.py", line 15, in
key_sequence_txt = key_sequence.toString(QKeySequence.NativeText)
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'QKeySequence' has no attribute 'NativeText'
The text was updated successfully, but these errors were encountered:
Describe the bug
Upon opening Anki, a window pops up saying "The following add-ons failed to load: - Migaku Kanji GOD"
Despite the pop-up, the add-on seems to work
To Reproduce
Steps to reproduce the behavior:
Expected behavior
That pop up should not appear.
Desktop (please complete the following information):
Additional context
It's probably a Qt version problem? Since I think Arch has a later version than e.g. Ubuntu.
Copied debug info:
Anki 23.12.1 (1a1d4d54) (src) (ao)
Python 3.11.7 Qt 6.6.2 PyQt 6.6.1
Platform: Linux-6.7.6-arch1-1-x86_64-with-glibc2.39
When loading Migaku Kanji GOD:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/aqt/addons.py", line 245, in loadAddons
import(addon.dir_name)
File "/home/graham/.local/share/Anki2/addons21/Migaku Kanji GOD/init.py", line 2, in
from . import kanji
File "/home/graham/.local/share/Anki2/addons21/Migaku Kanji GOD/kanji.py", line 16, in
from .kanji_confirm_dialog import KanjiConfirmDialog
File "/home/graham/.local/share/Anki2/addons21/Migaku Kanji GOD/kanji_confirm_dialog.py", line 8, in
from .lookup_window import LookupWindow
File "/home/graham/.local/share/Anki2/addons21/Migaku Kanji GOD/lookup_window.py", line 15, in
key_sequence_txt = key_sequence.toString(QKeySequence.NativeText)
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'QKeySequence' has no attribute 'NativeText'
The text was updated successfully, but these errors were encountered: