GithubHelp home page GithubHelp logo

Comments (8)

snfergy avatar snfergy commented on June 22, 2024 1

That worked! Thanks a lot.

from memento.

ripose-jp avatar ripose-jp commented on June 22, 2024

90% of the time this is related to your note template.

Set your duplicate policy to "allowed in same deck". Can you add any note?

from memento.

snfergy avatar snfergy commented on June 22, 2024

Yes, that seems to have done the trick. How can I view what's causing the issue in particular?

from memento.

ripose-jp avatar ripose-jp commented on June 22, 2024

How can I view what's causing the issue in particular?

I don't know if there is a way. Anki/AnkiConnect decide what qualifies a note as a duplicate and they don't tell Memento anything beyond that.

The reason I asked you to change your duplicate policy was to check if the problem was with your note template or Memento. The fact that changing your duplicate policy allows Memento to add cards means that your notes are being detected as duplicates Anki. You can fix this by fixing your notes or your template. You can post your template and I'll let you know if I see anything immediately wrong, but beyond that you'll have to troubleshoot yourself.

from memento.

snfergy avatar snfergy commented on June 22, 2024

It's quite a lot. I'm using a premade deck as a template.

Front Template: https://pastebin.com/1eCis5de
Back Template: https://pastebin.com/FkXfkK4z

from memento.

ripose-jp avatar ripose-jp commented on June 22, 2024

I mean your Memento template, not your Anki template. I've never written an Anki template so I can't help you debug that.

from memento.

snfergy avatar snfergy commented on June 22, 2024

https://i.imgur.com/9LtSkHX.png

from memento.

ripose-jp avatar ripose-jp commented on June 22, 2024

From what I've seen, SentKanji is probably the key that Anki uses to detect duplicates. If so, it ignores markup and just looks at the text. When you add vocab from one sentence all other in the same sentence are detected as duplicates.

Maybe add spaces around <b>{close-body}</b> to try and trick Anki.

This is all just speculation, I don't guarantee this will work.

from memento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.