Open skygate2012 opened 5 years ago
Hi. Thanks for the report. The next time you encounter that message, could you please check if the masks are correctly drawn in the masks layer and not the labels layer? (To check, draw up the layers pane to the right of the editor and then click on the eye icon next to the Masks and Labels layers respectively to identify which one the drawn shapes are in)
Should the shapes reside in the Masks layer then we need to look at some other things.
The most important question for me then would be how your typical card creation workflow looks like with image occlusion. Like, do you use the "Change image" button to select a different image, or do you close the image occlusion window after each addition and start back from Anki's regular "Add Notes" screen (hitting the image occlusion button in the top right row, and then selecting your image). Please try to walk me through your steps leading up to the error message as best you can.
Hi. Thanks for the report. The next time you encounter that message, could you please check if the masks are correctly drawn in the masks layer and not the labels layer? (To check, draw up the layers pane to the right of the editor and then click on the eye icon next to the Masks and Labels layers respectively to identify which one the drawn shapes are in)
Should the shapes reside in the Masks layer then we need to look at some other things.
The most important question for me then would be how your typical card creation workflow looks like with image occlusion. Like, do you use the "Change image" button to select a different image, or do you close the image occlusion window after each addition and start back from Anki's regular "Add Notes" screen (hitting the image occlusion button in the top right row, and then selecting your image). Please try to walk me through your steps leading up to the error message as best you can.
I've checked out the layers panel and the masks shape are correctly residing in the Masks layer. My workflow is the same as your first description. I keep the editor window opened since I'm creating the notes from a textbook from beginning to end. First I click the "Add Image Occulation" button on Anki's regular "Add Notes" screen, select an image from local disk, draw the masks, and click the "Hide one, guess one" button to add the cards. After that I would select and clear all the masks, change a different image from local disk by clicking the "Change image" button in the editor window, draw the masks and add the cards. The issue would happen roughly in about 5-10 continuous creations with this workflow.
Problem description
Sometimes, after creating several notes consecutively, it returns "No cards to generate" when I click the button to add cards although there are masks present on the image. Also, if I zoom the image or re-save the source code of the svg document the masks would move outside of the working area and become unselectable.
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):
Please fill in details about your operating system (Windows/macOS/Linux, which version):