Ankihub wont work on Macbook

Ankihub used to work but then it randomly stopped a few weeks ago. The ankihub add on was gone and I have tried readding it, but I get an error code. I deleted and reinstalled the app, and ttried deleting the anking deck but still no success. How can I fix this? Below is the error code?

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.4-x86_64-i386-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-06-14 14:45:31
Add-ons possibly involved: ⁨1322529746⁩

Caught exception:
Traceback (most recent call last):
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “aqt.addons”, line 1186, in _download_done
File “concurrent.futures._base”, line 439, in result
File “concurrent.futures._base”, line 391, in __get_result
File “concurrent.futures.thread”, line 58, in run
File “aqt.addons”, line 1163, in
File “aqt.addons”, line 1179, in _download_all
File “aqt.addons”, line 1124, in download_and_install_addon
File “aqt.addons”, line 430, in install
File “aqt.addons”, line 473, in _install
File “zipfile”, line 1625, in extract
File “zipfile”, line 1696, in _extract_member
PermissionError: [Errno 13] Permission denied: ‘/Users/name/Library/Application Support/Anki2/addons21/1322529746/user_files/README.md’

Please follow the steps listed here:

Hi, I just tried that and I get this error code when I tried to updatet:

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 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.4-x86_64-i386-64bit
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2023-06-16 11:31:14

Caught exception:
Traceback (most recent call last):
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “aqt.addons”, line 1186, in _download_done
File “concurrent.futures._base”, line 439, in result
File “concurrent.futures._base”, line 391, in __get_result
File “concurrent.futures.thread”, line 58, in run
File “aqt.addons”, line 1163, in
File “aqt.addons”, line 1179, in _download_all
File “aqt.addons”, line 1124, in download_and_install_addon
File “aqt.addons”, line 430, in install
File “aqt.addons”, line 473, in _install
File “zipfile”, line 1625, in extract
File “zipfile”, line 1696, in _extract_member
PermissionError: [Errno 13] Permission denied: ‘/Users/user/Library/Application Support/Anki2/addons21/1322529746/user_files/README.md’

I also just got this error when I tried to open anki regularly:

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 ‘⁨1322529746⁩’:
⁨Traceback (most recent call last):
File “aqt.addons”, line 246, in loadAddons
File “/Users/user/Library/Application Support/Anki2/addons21/1322529746/init.py”, line 28, in
from . import entry_point
ImportError: cannot import name ‘entry_point’ from partially initialized module ‘1322529746’ (most likely due to a circular import) (/Users/user/Library/Application Support/Anki2/addons21/1322529746/init.py)

In this case please follow these steps:

  • disable the AnkiHub add-on
  • restart Anki
  • delete the AnkiHub add-on
  • install the add-on (for example from here: 🎬 Get Started - AnkiHub)
  • restart Anki

If that doesn’t work, try deleting the README.md file manually.
This is how you can do that:

  • open the Add-ons dialog in Anki (main Anki window → Tools → Add-ons)
  • select AnkiHub from the list of add-ons
  • click the Fiew Files button
  • a file manager will open, in this file manager open the user_files folder and find the README.md file in it
  • Delete the README.md file

grafik

Then try to install/update the AnkiHub add-on.

I cant download the ankihub app. Can anyone help

I have responded to your thread, sorry for the late reply!