glutanimate / image-occlusion-enhanced

Anki add-on that transforms images into cloze tests
https://ankiweb.net/shared/info/1374772155
Other
398 stars 41 forks source link

When editing card, cards are not created correctly #119

Open BlueGreenMagick opened 5 years ago

BlueGreenMagick commented 5 years ago

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

  1. Delete a note (on multi-note occlusion note)
  2. Go to another note of the same occlusion note, open 'Edit Image Occlusion'
  3. Click 'Edit Cards', click 'Yes' to the prompt asking me if I wanted to create a note.
  4. Go to the created note. You can see that the masks, nor the Id (Hidden) is just an empty field.

Checklist

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

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

Anki 2.1.12 (eef86bf3) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=True sv=2

Add-ons:

Speed Focus Mode auto-alert auto-reveal auto-fail (disabled)
Image Occlusion Enhanced for Anki 21 alpha
Anki Excel Sync (disabled)
Hierarchical Tags Addon 20  21 (disabled)
Fastbar another toolbar for Anki 21 beta (disabled)
Customize Sidebar (disabled)
Card Info During Review (disabled)
Customize Keyboard Shortcuts (disabled)
Button Colours Good Again (disabled)
Edit Field During Review Cloze (disabled)
Frozen Fields (disabled)
True Retention (disabled)
Syllabus - Anki Statistics and Export by Tag and Deck (disabled)
Polar Connect - PDF and Incremental Reading with Anki Sync (disabled)
clozeoverlapper0 (disabled)
image-size-editor (disabled)
popup_dictionary_my (disabled)
Review Heatmap (disabled)
sync-excel-with-anki (disabled)
If you are using Anki 2.0

Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:

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:

Error message (if any)

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

BlueGreenMagick commented 5 years ago

Just tried again with the latest alpha-5 and confirmed that it has not been fixed. If I add another object to the image though, the cards are created without issue. So not very critical.

Noxgrim commented 4 years ago

Hello. I tried to re-create your issue had some weird results.

When I was using Linux and the Anki-Version installed on my system (2.1.12) I could reproduce the bug. But when I ran Anki from Source (Version 2.1.15.) the bug did not happen.

Then when I tried to reproduce it under Anki 2.1.15 on WIndows the bug happened again...

So maybe Anki itself or some libraries it uses (on Windows) are responsible for this bug?