Curious "the front of this card is empty” error

Ricardo Magalhães's Avatar

Ricardo Magalhães

02 Dec, 2019 03:43 PM

Hello. I'm having a pretty curious problem. I have a custom note type from an addon, and I wanted to do some changes. After making the changes and constant tests to see if was everything working, I finished editing successfully, or I had thought that. A pretty curious error happens, which I preferred to record to show it.

Here's the video:https://drive.google.com/file/d/1WkXT_bmaH7aosd3d9hl0IwhbGfPA-OtX/view?usp=sharing

And here you can see how the Front/Back page code from this custom note type is: https://gist.github.com/AmodeusR/93feece62b2a3203e4076955c5c3636c

So yeah, it basically made all the cards I had give the error "the front of this card is empty. Please run Tools> empty cards”, but in the preview it works fine, in the Card edit tab(I didn't show there unfortunately) the card works fine as well, and EVEN adding a new card with that note type that new card works just flawlessly, but the old cards don't work.

Any idea of what is happening here?

  1. Support Staff 1 Posted by Damien Elmes on 02 Dec, 2019 07:58 PM

    Damien Elmes's Avatar

    Perhaps it's related to the fact that you have negated conditionals.

    https://apps.ankiweb.net/docs/manual.html#conditional-replacement

  2. 2 Posted by Ricardo Magalhã... on 03 Dec, 2019 03:19 PM

    Ricardo Magalhães's Avatar

    Thanks! I finally fixed it <3

  3. 3 Posted by Simay Odabaşı on 21 Apr, 2020 02:16 PM

    Simay Odabaşı's Avatar

    Hi, I have a same problem too. I'm trying to bring back my card but I couldn't find any solution. I tried to open the link you added this page but I couldn't open anything help me. How can I fix this problem?

  4. Support Staff 4 Posted by Damien Elmes on 22 Apr, 2020 12:18 AM

    Damien Elmes's Avatar

    Please create a new post describing the problem you are having in more detail.

  5. 5 Posted by Simay Odabaşı on 23 Apr, 2020 02:48 PM

    Simay Odabaşı's Avatar

    Hi,

    Hi, I have a same problem too. I'm trying to bring back my card but I couldn't find any solution. I tried to open the link you added this page but I couldn't open anything help me. How can I fix this problem?

    Just like this one

    Here's the video: https://drive.google.com/file/d/1WkXT_bmaH7aosd3d9hl0IwhbGfPA-OtX/view?usp=sharing
    And here you can see how the Front/Back page code from this custom note type is: https://gist.github.com/AmodeusR/93feece62b2a3203e4076955c5c3636c

  6. Support Staff 6 Posted by Damien Elmes on 24 Apr, 2020 10:42 AM

    Damien Elmes's Avatar

    Sorry, I can't provide support for other people's templates - please contact the author of the deck/note type for assistance.

  7. 7 Posted by Simay Odabaşı on 25 Apr, 2020 12:58 PM

    Simay Odabaşı's Avatar

    Hi,

    I have started to use your Anki computer application for one month. One day, my decks didn't show the front page. I added a video about that. Basically, all my decks have same problem. When I open the decks it tells me " Please run Tools>Empty Cards." but I tried to do this, it just show me a way to delete all of them. How can I bring my front page and fix it?

  8. Support Staff 8 Posted by Damien Elmes on 25 Apr, 2020 10:51 PM

    Damien Elmes's Avatar

    If you accidentally made changes to the card template and the original author can not help you, you may be able to recover by restoring from a backup made before you made the changes.

    Restoring an Automatic Backup (Recovering from Data Loss)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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