You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 'Remaining time for Anki 21':
Traceback (most recent call last):
File "/nix/store/pp2b7f9vkl8912yjx3gsd1z27nrz05mw-anki-2.1.15/lib/python3.9/site-packages/aqt/addons.py", line 80, in loadAddons
__import__(dir)
File "/home/little-dude/.local/share/Anki2/addons21/1508357010/__init__.py", line 26, in <module>
from .utils import debugLog # debug log registered here
File "/home/little-dude/.local/share/Anki2/addons21/1508357010/utils/debugLog.py", line 2, in <module>
from .JSCallable import JSCallable
File "/home/little-dude/.local/share/Anki2/addons21/1508357010/utils/JSCallable.py", line 1, in <module>
from aqt import gui_hooks
ImportError: cannot import name 'gui_hooks' from 'aqt' (/nix/store/pp2b7f9vkl8912yjx3gsd1z27nrz05mw-anki-2.1.15/lib/python3.9/site-packages/aqt/__init__.py)
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 'Automatic Dark Night Mode':
Traceback (most recent call last):
File "/nix/store/pp2b7f9vkl8912yjx3gsd1z27nrz05mw-anki-2.1.15/lib/python3.9/site-packages/aqt/addons.py", line 80, in loadAddons
__import__(dir)
File "/home/little-dude/.local/share/Anki2/addons21/446355629/__init__.py", line 2, in <module>
from aqt.theme import theme_manager
ModuleNotFoundError: No module named 'aqt.theme'
Steps To Reproduce
install Anki 2.1 with `nix-env -iA nixos.anki
start Anki the "Automatic Dark Night Mode" plugin: click Tools > Addons > Get Add-ons... and enter the code 446355629.
restart Anki, the error message appears and the plugin doesn't work
Expected behavior
No error message when starting Anki, and the plugins work
I tried to reproduce your error, but failed to do so. Is this still an issue you experience, or is it fixed? If so, would you be able to close this issue?
Describe the bug
I installed this addon https://ankiweb.net/shared/info/1508357010 via the
Tools > Addons
menu. After restarting anki, a pop-up shows the following message:This other plugin fails in a similar fashion: https://ankiweb.net/shared/info/446355629
Steps To Reproduce
Tools > Addons > Get Add-ons...
and enter the code446355629
.Expected behavior
No error message when starting Anki, and the plugins work
Notify maintainers
@oxij @Profpatsch
Metadata
The text was updated successfully, but these errors were encountered: