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

Error when adding compiled addon to anki #88

Open
5 of 6 tasks
Adam-Albu opened this issue Nov 21, 2023 · 0 comments
Open
5 of 6 tasks

Error when adding compiled addon to anki #88

Adam-Albu opened this issue Nov 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Adam-Albu
Copy link

Problem description

I managed to successfully build the Anki addon in an external Linux environment, downloaded locally and imported the addon. I have aab with pyqt5 and pyqt6 combability. When I try add the addon from the file, this error appears:

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 23.10.1 (fac9e0ee) Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.19045
Flags: frz=True ao=False sv=3
Add-ons, last update check: 2023-11-21 16:58:37

Caught exception:
Traceback (most recent call last):
  File "aqt.addons", line 968, in onInstallFiles
  File "aqt.addons", line 1657, in installAddonPackages
  File "aqt.addons", line 531, in processPackages
  File "aqt.addons", line 449, in install
  File "zipfile", line 1266, in __init__
  File "zipfile", line 1351, in _RealGetContents
OSError: [Errno 22] Invalid argument

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

OS info

  • OS: Windows
  • version: 10
@Adam-Albu Adam-Albu added the bug Something isn't working label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant