Closed dusk-comes closed 5 years ago
Thank you for the detailed bug report. I was able to reproduce this locally and push an updated version (d7485a8e0143e846d1c512bd95fa1ac64bbc8ad7) to AnkiWeb; could you check to see if the issue is resolved for you by updating your add-ons?
Thank you for the detailed bug report. I was able to reproduce this locally and push an updated version (d7485a8) to AnkiWeb; could you check to see if the issue is resolved for you by updating your add-ons?
seems your changes fixed the work. thanks for your add-on.
Great, thanks for the bug report!
Describe the bug I face a bug each time when go out from card's edit mode and then go in to edit mode again.
To Reproduce Steps to reproduce the behavior:
Expected behavior The add-on should put the appropriate information into fields.
Debug info: Anki 2.1.0beta36 Python 3.6.7 Qt 5.9.5 PyQt 5.10.1 Platform: Linux Flags: frz=False ao=True
Caught exception: File "/usr/share/anki/aqt/progress.py", line 67, in handler func() File "/home/dusk/.local/share/Anki2/addons21/2136497008/autodefine.py", line 91, in
editor.saveNow(lambda: _get_definition(editor, force_pronounce, force_definition))
File "/home/dusk/.local/share/Anki2/addons21/2136497008/autodefine.py", line 211, in _get_definition
word = clean_html(editor.note.fields[0]).strip()
<class 'AttributeError'>: 'NoneType' object has no attribute 'fields'