gugutu / Anki-Note-Linker

Link Anki notes to build knowledge network
https://ankiweb.net/shared/info/1077002392
GNU Affero General Public License v3.0
28 stars 3 forks source link

Error on loading add on #3

Closed lockey530 closed 7 months ago

lockey530 commented 8 months ago

Hi love the add on but can't seem to get it to work. Attached is the debug info. Tried switching to Qt6 but got the same issue.

Thanks for the help!

Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 5.14.2 PyQt 5.14.1 Platform: macOS-13.4-x86_64-i386-64bit

When loading Anki Note Linker: Traceback (most recent call last): File "aqt.addons", line 245, in loadAddons File "/Users/josh/Library/Application Support/Anki2/addons21/1077002392/init.py", line 25, in from .editors import MyAddCards, MyEditCurrent File "/Users/josh/Library/Application Support/Anki2/addons21/1077002392/editors.py", line 2, in from PyQt6.QtCore import Qt ModuleNotFoundError: No module named 'PyQt6'

gugutu commented 8 months ago

Thank you for the feedback. The current version of this add-on does not support the PyQt5 build of Anki, but this issue should not occur with PyQt6. The debug info you provided seems to be for PyQt5, if this add-on still fails to run on the PyQt6 build of Anki, could you please provide the debug info for PyQt6?

gugutu commented 8 months ago

I have updated the add-on to support PyQt5, please update the add-on to the latest version and see if the issue is resolved.

lockey530 commented 7 months ago

Hey it works! Thanks!