anki icon indicating copy to clipboard operation
anki copied to clipboard

Send to Own/DirName Deck creates deck but does not add cards

Open liquidsaul opened this issue 3 years ago • 4 comments

Title says it all.

I have the localhost instance running.

The desk is created however the actual card(s) never appear in the deck so the deck always has 0 cards and I can't add any.

Suggestions? @jasonwilliams

liquidsaul avatar Aug 10 '22 15:08 liquidsaul

Here is the markdown file I'm using to try and create cards.

# Topic1

## What's the Markdown?

Markdown is a lightweight markup language with plain-text-formatting syntax.
Its design allows it to be converted to many output formats,
but the original tool by the same name only supports HTML.

## Who created Markdown?

John Gruber created the Markdown language in 2004 in collaboration with
Aaron Swartz on the syntax.

liquidsaul avatar Aug 18 '22 12:08 liquidsaul

Could you show us your project directory structure @liquidsaul?

what happens when you don’t set a H1?

CC @duguosheng

jasonwilliams avatar Aug 18 '22 17:08 jasonwilliams

I haven't changed the code of creating card, so I don't know the reason for this...

duguosheng avatar Aug 21 '22 02:08 duguosheng

@jasonwilliams

Structure

$  tree flashcards
flashcards
└── deck1
    └── cluster_update_maintenance.md

I'm guessing its a problem with my directory structure but I'm not sure what the correct setup is.

Send to deck and send to DirName Deck both don't error out and create a desk but no cards are added (even with no H1)

If I don't set H1 with "Send to own deck" the error is -> "Deck not sent: Unable to parse title!"

liquidsaul avatar Aug 22 '22 12:08 liquidsaul

Issue fixed itself after I got a new M1 Macbook and tried it there.

liquidsaul avatar Nov 03 '22 16:11 liquidsaul