r/Anki•
ptr6

Anki created multiple cards per card type

Question

Hey, I just recently started using Anki for Japanese vocabulary, and ran into an issue I could not find a specific answer for using the search function. Essentially, I have a note and two card types for it, but after changing the card template by slightly lowering some font sizes, Anki suddenly created two additional cards for some of the notes, and I cannot seem to find out why.

For full context, I set up a custom note type based on "Basic (optional reversed card)" so I could add an extra-field for pronunciations, and two card types for the note (type 1 has Japanese on the front, English on the Back, type 2 vice versa, pronunciations are on the back for both types). Each note gave me two cards as intended.

This worked great for one week, until today I changed the font size of the Japanese text for both card types so longer words would not longer break a line on my mobile app, and suddenly Anki created two new cards for a subset of my notes. I have 37 notes, of which 20 now have 4 cards (2 of card types "Card 1" and "Card 2" each), and the other 17 have 2 cards as previously. I checked the notes and could not find any difference between the notes that spawn 2 cards and the ones that spawn 4.

I am sure I am either misunderstanding how card templates and the card creation process relate to each other, or for some reason Anki thought I would lose information on some of the cards due to the changed template. But I cannot seem to find out what the actual issue is, and how to fix it correctly. Any help would be greatly appreciated.

Here is a screenshot of my "Browse" window in case it helps.

Posted Oct 15, 2023, 4:48 PM UTC

11
ptr6OP•

Got it, Tools > Check Database found and deleted the duplicate entries. This led to a warning when trying to sync, but uploading after cleaning and then overwriting on my mobile device fixed everything for me.

1