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

[Insert Randomized Lists] Incompatible With Anki 2.1.60 #193

Open
4 tasks done
suuuehgi opened this issue Mar 16, 2023 · 0 comments
Open
4 tasks done

[Insert Randomized Lists] Incompatible With Anki 2.1.60 #193

suuuehgi opened this issue Mar 16, 2023 · 0 comments

Comments

@suuuehgi
Copy link

suuuehgi commented Mar 16, 2023

Prerequisite checklist

  • In case of a bug: Have you tried restarting Anki?
  • Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • Did you check the add-on description on AnkiWeb for known issues?
  • 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?

  1. Install Anki
  2. 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'

Version information

Anki

Anki v. 2.1.60
Qt v. 6.4.2
PyQt v. 6.4.2

System

Arch Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant