-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Same fields, different note ID lead to problems in Anki. Should GUID take note or deck ID into account? #61
Comments
Thanks for the detailed bug report that clearly explains the problem, and for doing the investigative work on the Anki forum! I think your proposal of incorporating the I don't think it makes sense to incorporate the deck ID, because you often do want deduplication across decks; if the exact same card in a |
I created two decks with genanki:
Importing deck A works, but importing deck B fails after I import A: "Notes skipped, as they’re already in your collection"
So Anki thinks the notes are identical because they have the same GUID. The
mid
of course is different.I raised this topic on the Anki forum and it seems they don't consider this worth fixing. Anki author Damien Elmes said:
So I'm wondering if genanki should also use the note ID or deck ID to generate the GUID. This would avoid the problem I encountered.
One question is how to handle such a change without breaking existing deks (GUIDs).
The text was updated successfully, but these errors were encountered: