dirty-apricot•2y ago
Import Missing Cards
My import is missing 9 cards (3211/3220)
What details would help troubleshoot this?
:migachu:
https://cdn.discordapp.com/attachments/1154199057158373437/1154956580777885716/image.png
39 Replies
ambitious-aqua•2y ago
Maybe check if any of your cards are suspended in Anki - the total count includes suspended cards, but the Anki importer only imports non-suspended cards
dirty-apricotOP•2y ago
confirmed none are suspended.
ambitious-aqua•2y ago
Hmm cool thanks for checking
You could import the deck again - it won't re-import cards you've already imported
If those last 9 get imported then it's likely a bottleneck in the Anki Addon
Otherwise if the 9 are still missing then something else is going on
dirty-apricotOP•2y ago
It did re-import the cards. I ended up with 6422
For context. I’m importing from Anki into Migaku Memory.
After deleting the deck with duplicates and retrying, Anki broke.
I get an error about Anki web not working.
Seems to consistently omit 9 cards after 4 attempts.
Just tried a different deck and got 5657/5668
Another deck was 6093/6093
There is no log saying which cards failed to import?
In summary, my deck imports are consistently as follows.
Deck 1 3211/3220….9 omitted
Deck 2 5657/5668…11 omitted
Deck 3 6093/6093…0 omitted
@NJWong
I tried each deck multiple times with the same results, so I assume it can’t parse some cards.
dirty-apricotOP•2y ago
Also, it seems to have broken Anki, I will have to reinstall. Importing still works despite the error.

dirty-apricotOP•2y ago
It seems the error propagates a reinstall. Migaku must have corrupted my Anki DB.
ambitious-aqua•2y ago
Pretty sure the MM anki importer only reads from Anki, it shouldn't write anything to the DB
It says AnkiWeb encountered a problem, are you able to login to AnkiWeb and see if you can see anything there?
dirty-apricotOP•2y ago
oh they doin maintenance.
first time i have seen that. quite the coincidence. good call
ambitious-aqua•2y ago
Yeah perfect storm of things haha
If you want to share the Deck 1 export (as a Google Drive link) I can try importing to my profile and see what's going on
dirty-apricotOP•2y ago
here is the no media one. nice and fast.
dirty-apricotOP•2y ago
Deck 2 5657/5668…11 omitted
@NJWong
dirty-apricotOP•2y ago
Here is Deck 1 3211/3220….9 omitted
ambitious-aqua•2y ago
Thanks! @Henrik (JST) when you get a chance could you maybe help me investigate why this deck has 11 cards missing during the Anki import?
I know the import logic skips suspended cards even though they're included in the total deck count - do you know of any other reasons cards can get skipped?
dirty-apricotOP•2y ago
@Henrik (JST) I’ll be available if you need anything until 1pm EDT
Y’all get a chance to investigate this?
@Migaku Memory Support :peepoSip:
If there is a way to get a text list of my words in MM, I could do a quick dif on that and an export of my Anki words.
ambitious-aqua•2y ago
Hey sorry I didn't get to look at the issue any further, and doesn't look like Henrik did either - there might be a way from my side to get a text list of the words in MM. I'll put aside some time today and get back to you
dirty-apricotOP•2y ago
I’ll just do some alternative studying in the meantime 😁
Any news?
I just tried on my windows PC and got the same result. So it’s Probly a card parsing issue.
@Henrik (JST) are you willing to help troubleshoot this? I’m not sure of y’all schedule, so if y’all don’t work the weekends, I understand.
I can just try some things on my own throughout the weekend.
probable-pink•2y ago
Sorry for the silence! We have a lot of things on our schedules 😵💫
dirty-apricotOP•2y ago
I get it. I was just looking forward to using Migaku Memory and I am stuck until I figure this out. I have already sunk a lot of time into this issue. If there was a way to export a wordlist from MM, I could have this solved in minutes.
I could just diff MM with Anki.
probable-pink•2y ago
Hm, I just imported Chinese Core into MM, and 3220 cards turned into 2742
dirty-apricotOP•2y ago
with core, I have consistently got 3211 on both my Mac and PC.
probable-pink•2y ago
Do you also get this screen when importing cards:

probable-pink•2y ago
?
dirty-apricotOP•2y ago
ya, ithe Anki deck is not a Migaku card type
the Chinese Grammar deck is smaller and has the same issue. Might be easier for testing. Faster imports with no media
probable-pink•2y ago
Can you make a screenshot of the settings you use?
dirty-apricotOP•2y ago
Chinese Core

dirty-apricotOP•2y ago
Chinese Grammar

dirty-apricotOP•2y ago

dirty-apricotOP•2y ago
Both I was doing as sentance cards.
probable-pink•2y ago
Good news is that I was able to recreate the issue with exactly 3211 cards, just as you did. This means I can start investigating. Bad news is that I will go to bed now, and I don't know how much time I can spend on it on the weekend. But now that I can recreate it, it's high up on my priority list!
dirty-apricotOP•2y ago
we made progress and that is whats important. sleep tight.
Any luck? @Henrik (JST) or @NJWong .
probable-pink•2y ago
@Nooby I'll take another look at it later today 💪
dirty-apricotOP•2y ago
Exciting news. I miss doing SRS learning.
What is your time zone?
probable-pink•2y ago
I'm on CEST, but i work both early and late at times 🙂
dirty-apricotOP•2y ago
Ah okay. I am EDT.
probable-pink•2y ago
It's duplicates!
The following words are duplicates in the chinese core deck:
贵姓
喝醉
请假
亲戚
花钱
预订
座位
请客
里面
筷子
Just search for them in Anki, and you'll see
But we should probably report on that better when doing the importing
Anki has a duplicates feature. If you're in the browser, go to Notes > Find Duplicates...
There, you have to select the field name where you want to look for duplicates. In this case it would be "Word" e.g.
dirty-apricotOP•2y ago
Dang. I thought I checked that. I must have done the search wrong. It’s Probly the same case for the grammar one then. Thank you for your help.
Did you use a filter to get that? @Henrik (JST) to find "full duplicates"
dirty-apricotOP•2y ago

dirty-apricotOP•2y ago
Either way, thank you again for your help. I happy with the states of my decks now and how they are imported. :migachu: back to studying
probable-pink•2y ago
I tested on my debug account where I only had your deck in the collection, so no need for a filter 🙂