Attempting to sync new notes to flashcards on Anki via the Export to Anki/Obsidian to Anki plugin.
Have not changed anything and have been using this for years. All of a sudden, it is no longer generating new IDs to make new flashcards as of the last few days.
A few days ago, I did note using the Scan Vault function from Export to Anki froze Obsidian completely on my PC, but not my laptop. After syncing my notes again via OneDrive to match between my PC and laptop, Scan Vault no longer froze Obsidian, but does not generate any new cards or update any changes made to existing cards.
Things I have tried
Have tried:
Re-installing Export to Anki/Obsidian to Anki plugin
Re-installing AnkiConnect
Rolling back to older version of Obsidian
Moving my vault - still no luck
Making a new flashcard on a blank, new note - still no new ID and flashcard generated
Making a completely new vault with fresh installation of Export to Anki/Obsidian to Anki and new flashcard - still no new ID and flashcard generated
Checking the console each time, no error message is generated. It says it is able to connect to Anki and does its usual processes, but at the end, no ID is generated and no card is produced.
I have just encountered the same behavior. In my case, I tracked it down to encountering a STARTI with no custom regexp and no in-line Anki deck in the source. It may or may not solve your case, but I thought I’d share my test case:
Succeeds:
STARTI [Basic] This is a test. Back: Test successful! ENDI
Fails:
STARTI This is a test. Back: Test successful! ENDI
Now in the plugin settings, open the Note Type Table. The for Note Type “Basic” and Custom Regexp Column, paste this regexp:
^#+(.+)\n*((?:\n(?:^[^\n#].{0,2}$|^[^\n#].{3}(?<!<!--).*))+)
Succeeds:
STARTI [Basic] This is a test2. Back: Test successful! <!--ID: 1763756170225--> ENDI
I wll try to get an issue posted on the github repo when I have time.