[x] In case of a bug: Have you tried restarting Anki?
[x] Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
[x] Did you check the add-on description on AnkiWeb for known issues?
[x] Did you perform a cursory search through existing issue reports?
What is the problem/feature you would like to see fixed/implemented?
No crash
How can we reproduce the problem?
Install Anki
Install Plugin
Expected behavior:
Run
Actual behavior:
When loading 'Insert Randomized Lists multiple choice':
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/aqt/addons.py", line 247, in loadAddons
__import__(addon.dir_name)
File "/home/username/.local/share/Anki2/addons21/1280092568/__init__.py", line 9, in <module>
from . import editor_random_list
File "/home/username/.local/share/Anki2/addons21/1280092568/editor_random_list.py", line 81, in <module>
editor._html = editor._html + editor_style
AttributeError: module 'aqt.editor' has no attribute '_html'
Reproducible?:
from aqt import editor
editor._html
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[2], line 1
----> 1 editor._html
AttributeError: module 'aqt.editor' has no attribute '_html'
Prerequisite checklist
What is the problem/feature you would like to see fixed/implemented?
No crash
How can we reproduce the problem?
Expected behavior:
Run
Actual behavior:
Reproducible?:
Version information
Anki
Anki v. 2.1.60 Qt v. 6.4.2 PyQt v. 6.4.2
System
Arch Linux