anki-addons-misc icon indicating copy to clipboard operation
anki-addons-misc copied to clipboard

[Limit New Cards to Less Than One] synchronization error

Open Arthur-Milchior opened this issue 5 years ago • 2 comments

  • [ x] In case of a bug: Have you tried restarting Anki?
  • [x ] Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • [x ] Did you check the add-on description on AnkiWeb for known issues?
  • [x ] Did you perform a cursory search through existing issue reports?

How can we reproduce the problem?

Select a deck on which your add-on applies (in anki 2.1. I.e. in the port I made). Synchronize

Expected behavior: [ What you expected to happen ] Synchronization

Actual behavior: [ What actually happened ] Anki state my collection is an inconsistent state. Elmes explained that I regularly have an incorrect number of card to review in my current deck. And actually, now that I recall that I use this add-on, it makes perfect sens. It means that this add-on should not be activated during synchronization.

Reproducible?: [ Can you reliably reproduce the issue by following the steps above? ] Yes

Version information

Anki 2.1.12

System

  • Operating system: [ Ubuntu 18.10 ]

Arthur-Milchior avatar Apr 27 '19 03:04 Arthur-Milchior

That's common when you screw with the count that is different from what the server expects. Something simple like this should solve it. https://github.com/lovac42/Cardistry/blob/master/src/cardistry.py#L66 (not apgl)

lovac42 avatar Apr 27 '19 05:04 lovac42

Thanks for the detailed report, Arthur, and thanks for chiming in, lovac. I'll see what I can do, but I'm afraid it's not a high priority at the moment as the add-on only has ≈50 users.

glutanimate avatar Aug 12 '19 07:08 glutanimate