Broken template

Aleksej's Avatar

Aleksej

13 May, 2020 02:31 PM

It seems like I've broken this template. First Anki 2.0.x was trying to delete the card(s), at least the second one; now also (in safe mode) 2.1.x (both cards). Any idea what's wrong?

Card 1 question:

{{#ui-de}}{{cflag}} {{#cbiocl}} <i>Biologie:</i>{{/cbiocl}} {{1st}} und {{2nd}}<i>{{predash}} sind</i> <span class="cloze">[…]</span>{{/ui-de}}{{#ui-ru}}{{cflag}} {{1st}} и {{2nd}}<i>{{predash}}{{#cbiocl}} <i>по биокл.</i>{{/cbiocl}} — {{postdash}}</i> <span class="cloze">[…]</span>{{/ui-ru}}{{#ui-es}}{{cflag}} {{1st}} y {{2nd}}<i>{{predash}}</i>{{#cbiocl}} <i>по биокл.</i>{{/cbiocl}} son <span class="cloze">[…]</span>{{/ui-es}}{{#ui-en}}{{cflag}} {{1st}} and {{2nd}}<i>{{predash}} are</i>{{#cbiocl}} <i> (biotax.)</i>{{/cbiocl}} <span class="cloze">[…]</span>{{/ui-en}}{{#ui-la}}{{cflag}} {{1st}} et {{2nd}}<i>{{predash}}{{#cbiocl}} <i>по биокл.</i>{{/cbiocl}} sunt {{postdash}}</i> <span class="cloze">[…]</span>{{/ui-la}}

Card 2 question:

{{#ui-de}}{{cflag}} {{#cbiocl}} <i>Biologie:</i>{{/cbiocl}} {{2nd}} und {{1st}}<i>{{predash}} sind</i> <span class="cloze">[…]</span>{{/ui-de}}{{#ui-ru}}{{cflag}} {{2nd}} и {{1st}}<i>{{predash}}{{#cbiocl}} <i>по биокл.</i>{{/cbiocl}} — {{postdash}}</i> <span class="cloze">[…]</span>{{/ui-ru}}{{#ui-es}}{{cflag}} {{2nd}} y {{1st}}<i>{{predash}}</i>{{#cbiocl}} <i>по биокл.</i>{{/cbiocl}} son <span class="cloze">[…]</span>{{/ui-es}}{{#ui-en}}{{cflag}} {{2nd}} and {{1st}}<i>{{predash}} are</i>{{#cbiocl}} <i> (biotax.)</i>{{/cbiocl}} <span class="cloze">[…]</span>{{/ui-en}}{{#ui-la}}{{cflag}} {{2nd}} et {{1st}}<i>{{predash}}{{#cbiocl}} <i>по биокл.</i>{{/cbiocl}} sunt {{postdash}}</i> <span class="cloze">[…]</span>{{/ui-la}}

Fields with text:

  • 1st
  • 2nd,
  • both-are
  • ui-ru
  • Src
  • MorphMan_UnknownFreq
  • MorphMan_Index
  • MorphMan_UnmatureMorphCount
  • MorphMan_UnknownMorphCount
  1. Support Staff 1 Posted by Damien Elmes on 14 May, 2020 09:20 AM

    Damien Elmes's Avatar

    If you open and close the Cards... screen in an older Anki version, the 'required fields' list will be updated based on the older behaviour, which while also broken, may do what you want in this case.

  2. 2 Posted by Aleksej on 14 May, 2020 01:17 PM

    Aleksej's Avatar

    Thanks, Damien! Anki 2.0.2x stopped regarding the cards as empty and I restored the notes from a backup.

  3. 3 Posted by Aleksej on 23 May, 2020 02:40 AM

    Aleksej's Avatar

    Is there actually a way to fix the cards on 2.1.22 or 2.0.25? Opening the Cards screen doesn't help.

  4. 4 Posted by Aleksej on 23 May, 2020 03:35 AM

    Aleksej's Avatar

    Fixed it for that template by moving the fields out of any conditions, since both cards must always exist.

  5. Support Staff 5 Posted by Damien Elmes on 25 May, 2020 02:51 AM

    Damien Elmes's Avatar

    Such workarounds will no longer be required once 2.1.28 comes out.

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac