Copycat Importer (AnkiApp/AnkiPro)

No tags are in the file you sent me. Maybe AnkiApp doesn’t include them in XML exports. Tags are imported when using the “Data folder” and “Database files” options, but you might have different issues with them.

1 Like

Yes please! How can i share my log in details to the ankipro? Or dor ankiweb? Thanks in advance

I only need access to your AnkiPro account. Click on my profile picture to see my email.

Thank you. I’m sorry, for the late response, I’ve sent the login

@Zara3 I added a workaround for this. Install this Chrome extension and follow the instructions after updating the Anki add-on: https://chromewebstore.google.com/detail/ankipro-export-helper/ghmmlnlfpghgbecgkiananhlbfakmcpd

5 Likes

Hello abdo, i’m sorry to bother you but i’ve got an issue to import decks from ankiapp.

all my decks are downloaded on my computer but i can’t import them with the Data folder or Database files method.

C:\Users\monte\AppData\Roaming\AnkiApp
C:/Users/monte/AppData/Roaming/AnkiApp/databases/app_-_0/1

" No cards were found in your AnkiApp database. Before using this add-on, please make sure you’ve downloaded the decks on your AnkiApp account by clicking on the Download button shown when you select a deck in AnkiApp. "

thank you

If you’re sure the decks are downloaded locally and the alternative XML option doesn’t work for you, you can upload the database file and I’ll take a look: https://gofile.io/

I uploaded my ankipro flashcards using the copycat importer, but the pictures are not loading, making the flashcards useless. Is there a way to fix this issue?
image

Thank you! this is the database file :
gofile. io /d/keFJgO

Have a good day

Are the pictures appearing on AnkiPro? You should at least get an error if media download fails for some reason, so not sure what’s the issue.

The database file is empty for some reason. I’ll keep an eye on more reports of the issue.
I suggest trying the XML method for now, as it’s more stable.

Thank you! I tried the XML method but I can’t save decks from Opera. it’s greyed.
I use the desktop version of AnkiApp 9.2.1 btw :wink:

Yes, they are. I didn’t get any error messages. The flashcards simply don’t display pictures. I think I’ll be stuck with ankipro until I can convince my friends to come to anki. Thanks for your help though!

@Vincent See the workarounds mentioned under the XML zips section in the add-on’s page.

@ezracat If you’re willing to share your AnkiPro login credentials, I can look more into the issue.

1 Like

The add-on now downloads AnkiApp decks directly from their website. This should work more reliably. All old importing methods were removed.

@Vincent The new version works well with your account according to my tests. Let me know how it goes!

1 Like

Hey Abdo,
first of all a big thank you for keeping the importer running, unfortunately it doesn’t seem to work for me right now though.
When I try to import my decks from AnkiApp, after a successful login, an error always appears with the following debug info:

Anki 24.04.1 (ccd9ca1a) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):
File “aqt.taskman”, line 142, in _on_closures_pending
File “aqt.taskman”, line 86, in
File “C:\Users\Janusar\AppData\Roaming\Anki2\addons21\2072125761\gui\dialog.py”, line 56, in on_done
count, warnings = fut.result()
File “concurrent.futures._base”, line 439, in result
File “concurrent.futures._base”, line 391, in __get_result
File “concurrent.futures.thread”, line 58, in run
File “C:\Users\Janusar\AppData\Roaming\Anki2\addons21\2072125761\gui\dialog.py”, line 51, in start_importing
return importer.do_import(), importer.warnings
File “C:\Users\Janusar\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py”, line 413, in do_import
return self._import_cards()
File “C:\Users\Janusar\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py”, line 320, in _import_cards
self.mw.col.models.add(model)
File “anki.models”, line 205, in add
File “anki._backend_generated”, line 1077, in add_notetype_legacy
File “anki._backend”, line 173, in _run_command
anki.errors.CardTypeError: Card template ⁨1⁩ in notetype ‘⁨Basic-74f73 (Card 1)⁩’ has a problem.
See the preview for more information.

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Copycat Importer AnkiAppAnkiPro [‘2072125761’, 2024-05-28T13:28, ‘None’, mod]

===IDs of active AnkiWeb add-ons===
2072125761

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

Afterwards my decks appear, but without any cards in them.
Any help would be greatly appreciated!

Can you share your AnkiApp login details with me in a private message?

I am having the same issue described above. Is it possible to add back the XML importing? that was working for me. Or is there a way for me to downgrade the addon back to the previous version?

I believe it may have to do with special whitespace in the ios created templates from ankiapp. Copying the debug log to notepad++ shows nonstandard whitespace before and after the template number and notetype name.


anki.errors.CardTypeError: Card template ⁨1⁩ in notetype ‘⁨Basic (Card 1)⁩’ has a problem.
See the preview for more information.

Downgraded to 2.3 and was able to successfully import my deck :+1: