glutanimate / cloze-overlapper

Anki add-on for memorizing lists and enumerations
https://ankiweb.net/shared/info/969733775
Other
228 stars 38 forks source link

Creating New Card Bug #49

Closed jeremyalexx closed 4 years ago

jeremyalexx commented 4 years ago

Problem description

Unable to complete any new "close overlapper" card types; prompted with error after completing all fields.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Information about your Anki set-up

If you are using Anki 2.1

Debug info: Anki 2.1.28 (7d8818f8) Python 3.8.0 Qt 5.15.0 PyQt 5.15.0 Platform: Mac 10.15.6 Flags: frz=True ao=True sv=2 Add-ons, last update check: 2020-10-21 15:34:29 Add-ons possibly involved: ⁨Cloze Overlapper⁩

Caught exception: Traceback (most recent call last): File "aqt/webview.py", line 482, in handler File "aqt/editor.py", line 479, in File "/Users/alex/Library/Application Support/Anki2/addons21/cloze_overlapper/editor.py", line 154, in editor.saveNow(lambda: callback(editor, *args, **kwargs)) File "/Users/alex/Library/Application Support/Anki2/addons21/cloze_overlapper/editor.py", line 283, in onOlClozeButton return onFieldReady() File "/Users/alex/Library/Application Support/Anki2/addons21/cloze_overlapper/editor.py", line 270, in onFieldReady overlapper.add() File "/Users/alex/Library/Application Support/Anki2/addons21/cloze_overlapper/overlapper.py", line 117, in add self.updateNote(fields, full, setopts, custom) File "/Users/alex/Library/Application Support/Anki2/addons21/cloze_overlapper/overlapper.py", line 203, in updateNote note.flush() File "anki/notes.py", line 67, in flush AssertionError

Please fill in details about your operating system (Windows/macOS/Linux, which version):

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below: image image

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below: image

Farinata commented 4 years ago

Same problem here. (Anki 2.1.30 windows 10)

PlEaSeH commented 4 years ago

Cloze overlapper does not work with 2.1.26 and above and Glutanimate is working on a fix on version 1.0.0. :) For now, you would have to downgrade to Anki 2.1.22 to use Cloze overlapper.

ghost commented 4 years ago

I don't have this problem on mac 10.12.6, Anki 2.1.26.

Farinata commented 4 years ago

Any hope guys?!

glutanimate commented 4 years ago

Please see here, guys: #42

Fix is currently in testing.