Issue When Adding Desktop Deck to AnkiDroid

57 views
Skip to first unread message

Nathan Parkinson

unread,
Dec 29, 2022, 3:40:28 PM12/29/22
to public...@ankidroid.org
Hello,

I encountered an issue when trying to move decks from my desktop to my android. On some decks, some of the cards do not transfer and duplicates are made of a few of the other cards. The result is a deck of the same number of cards with missing and duplicate information. When I export that deck from Android and move it back to desktop, the corrupt changes persist in the newly exported deck file.

The issue is really annoying as it results in information loss and duplication and makes the decks incomplete and unreliable.

I was able to resolve one deck. I found that the duplicates showing in AnkiDroid were actually present on desktop as well; so I recreated the notes and deleted the original notes that were generating duplicate cards. I also changed the note type for the deck from the one generated with the the deck to "basic." This fixed the issue on AnkiDroid for that first deck. That was the only deck out of 16 that showed issues with duplicate cards on desktop. When I import all those decks onto AnkiDroid, I get a lot of info loss and duplication.

The decks I'm trying to move from desktop to Android were created automatically from MemRise using memanki-cli: https://github.com/matthieu-rolland/memanki-cli.

On the first deck that I was able to fix on desktop (which did resolve the issue on Android), the import message I get on AnkiDroid is "Cards imported: 22." On the second deck that shows up fine on desktop, but then gets messed up on AnkiDroid, the import message I get is "Updated 0 of 6 existing notes. Cards imported: 20." The second deck has 20 cards in it on desktop. After importing to AnkiDroid, it still has a total of 20 cards, but only 14 unique cards. 6 cards get erased, and 6 of the remaining 14 cards get duplicated. I've seen on some other decks that two copies are created for some cards. I've attached the before and after files for the second deck that is giving me trouble.

OS: Linux Mint 21
Anki Version ⁨2.1.55 (01caec2a)⁩
Anki Python 3.9.15 Qt 6.4.0 PyQt 6.4.0

Phone: LG G6
Android version 9
Kernel version 3.18.120
AnkiDroid v2.15.6

I downloaded desktop Anki from https://apps.ankiweb.net/, but I got my AnkiDroid from APKPure as I don't use Google Play: https://apkpure.com/ankidroid-flashcards/com.ichi2.anki. I recall that I couldn't get the latest option to install on my phone; so I used an older one, maybe variant 321506300 (2021-07-14) with architecture arm64-v8a.



Thanks for any help.

Nathan

The Art of Nathan Parkinson
02 Greetings and Goodbyes, basic expressions_desktop.apkg
02_Greetings_and_Goodbyes_basic_expressions_ankidroid.apkg

Mike Hardy

unread,
Dec 29, 2022, 3:42:44 PM12/29/22
to anki-a...@googlegroups.com, Nathan Parkinson, public...@ankidroid.org


Hmm - I'm not going to be able to get into the details on exactly what happened here (you've provided good information, I just don't have the time personally, apologies) - but this all makes me think...wouldn't just syncing from Desktop to AnkiWeb to AnkiDroid be easier? And if there is a privacy concern, it is pretty easy with current Anki Desktop to set up a private local sync server and then use our latest alphas (https://github.com/ankidroid/Anki-Android/releases) to connect to the local sync server


-Mike

--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-android...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/IA1PR11MB6241EC47D6AE6BA2B8837305BCF29%40IA1PR11MB6241.namprd11.prod.outlook.com.

Nathan Parkinson

unread,
Dec 29, 2022, 10:27:40 PM12/29/22
to Mike Hardy, anki-a...@googlegroups.com, public...@ankidroid.org
Thanks for your feedback, Mike.

Take care,
Nathan

The Art of Nathan Parkinson

From: Mike Hardy <mi...@mikehardy.net>
Sent: December 29, 2022 3:42 PM
To: anki-a...@googlegroups.com <anki-a...@googlegroups.com>; Nathan Parkinson <nat...@nathanparkinson.com>; public...@ankidroid.org <public...@ankidroid.org>
Subject: Re: [Ankidroid] Issue When Adding Desktop Deck to AnkiDroid
 
Reply all
Reply to author
Forward
0 new messages