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

Add-on compatibility with Anki Qt6 #29

Closed
haim opened this issue Jan 11, 2024 · 2 comments · Fixed by #30
Closed

Add-on compatibility with Anki Qt6 #29

haim opened this issue Jan 11, 2024 · 2 comments · Fixed by #30
Assignees

Comments

@haim
Copy link

haim commented Jan 11, 2024

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.2.1-x86_64-i386-64bit
Anki message :
The following add-ons failed to load: ⁨
Cambridge Dictionary
They may need to be updated to support this version of Anki. Click the Check for Updates button to see if any updates are available.
You can use the Copy Debug Info button to get information that you can paste in a report to the add-on author.
For add-ons that don't have an update available, you can disable or delete the add-on to prevent this message from appearing.

Debug info:

When loading Cambridge Dictionary:
Traceback (most recent call last):
File "aqt.addons", line 245, in loadAddons
File "/Users/den/Library/Application Support/Anki2/addons21/1875288089/init.py", line 19, in
from . import main
File "/Users/den/Library/Application Support/Anki2/addons21/1875288089/main.py", line 12, in
from .gui import *
File "/Users/den/Library/Application Support/Anki2/addons21/1875288089/gui.py", line 15, in
from PyQt5.QtGui import QIcon, QFont
ModuleNotFoundError: No module named 'PyQt5'

@am-silex
Copy link
Owner

https://docs.ankiweb.net/platform/windows/installing.html#qt5-vs-qt6
I'll see what could be done.

@Roblexander
Copy link

Same issue, I guess. For what it's worth:

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.19045

When loading Cambridge Dictionary:
Traceback (most recent call last):
File "aqt.addons", line 245, in loadAddons
File "C:\Users\Robert\AppData\Roaming\Anki2\addons21\1875288089_init_.py", line 19, in
from . import main
File "C:\Users\Robert\AppData\Roaming\Anki2\addons21\1875288089\main.py", line 12, in
from .gui import *
File "C:\Users\Robert\AppData\Roaming\Anki2\addons21\1875288089\gui.py", line 15, in
from PyQt5.QtGui import QIcon, QFont
ModuleNotFoundError: No module named 'PyQt5'

@am-silex am-silex changed the title Add-on Startup Failed Add-on compatibility with Anki Qt6 Feb 11, 2024
@am-silex am-silex self-assigned this Feb 11, 2024
@am-silex am-silex linked a pull request Feb 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants