"An add-on you installed failed to load" bug

The bug in this post is back. I tried deleting and reinstalling anki-hub, but this didn’t work. Best way to fix this?

Can you please post the whole error message you are getting?


Anki

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 ‘⁨AnkiHub⁩’:
⁨Traceback (most recent call last):
File “aqt.addons”, line 244, in loadAddons
File “C:\Users\juant\AppData\Roaming\Anki2\addons21\1322529746_init_.py”, line 30, in
entry_point.run()
File “C:\Users\juant\AppData\Roaming\Anki2\addons21\1322529746\entry_point.py”, line 37, in run
setup_logger()
File “C:\Users\juant\AppData\Roaming\Anki2\addons21\1322529746\settings.py”, line 443, in setup_logger
log_file_path().parent.mkdir(parents=True, exist_ok=True)
File “C:\Users\juant\AppData\Roaming\Anki2\addons21\1322529746\settings.py”, line 419, in log_file_path
anki_base = Path(aqt.mw.pm._default_base())
AttributeError: ‘ProfileManager’ object has no attribute ‘_default_base’

OK

The error will go away when you update Anki to version 2.1.56, for example from here: 🎬 Get Started - AnkiHub

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.