Thanks Abdo!
Also having the “blank card” issue. I think the problem is that when exporting a deck from AnkiApp (copycat), the zip file only contains an HTML file. When I import into Anki, it does show the correct number of card beings imported, they just don’t contain any content when I attempt to review.
I’ve been trying to get out of the AnkiApp ecosystem for ages, but until I can find a way to get the 15,000+ cards I’ve created into a better app, I have to suffer through their increasinly glitchy updates…
I just released an update.
@lara1234 @luke_090904 @jmstrnad XML importing should be working now. Some users may now get errors instead of empty cards. Please let me know of any errors. Some files exported by AnkiApp have inconsistent format.
@chlxek @Wise-Turnover7325 I added a workaround for AnkiPro importing. They actually banned my IP address while I was working on the fix.
THANK YOU THANK YOU THANK YOU abdo, absolute lifesaver!
I’m trying to import from AnkiApp using the XML .zip method and I am running into this error.
Anki 24.04 (429bc9e1) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.19045
Traceback (most recent call last):
File "aqt.taskman", line 142, in _on_closures_pending
File "aqt.taskman", line 86, in <lambda>
File "C:\Users\Ivan\AppData\Roaming\Anki2\addons21\2072125761\gui\dialog.py", line 54, 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\Ivan\AppData\Roaming\Anki2\addons21\2072125761\gui\dialog.py", line 48, in start_importing
importer = self.importer_class(**options)
File "C:\Users\Ivan\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py", line 345, in __init__
self._extract_xml_zip(path_info.path)
File "C:\Users\Ivan\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py", line 560, in _extract_xml_zip
_read_xml(xml_file.read())
File "C:\Users\Ivan\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py", line 548, in _read_xml
notetype.fields.normalize(str(field["name"]))
File "bs4.element", line 1573, in __getitem__
KeyError: 'name'
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Copycat Importer AnkiAppAnkiPro ['2072125761', 2024-04-05T10:17, 'None', '']
===IDs of active AnkiWeb add-ons===
2072125761
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
I’m aware of this error but not sure how to tackle it yet. You can share your file and I’ll take a look:
Hi abdo, thank you for updating it. I’m afraid it has not worked for my files. It is coming up with this error (below). Do you think there is a way around it? As I’d absolutely love to be able to use the proper Anki for my upcoming exams. Thank you for all your help with this.
Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-12.6-x86_64-i386-64bit
Traceback (most recent call last):
File “aqt.taskman”, line 142, in _on_closures_pending
File “aqt.taskman”, line 86, in
File “/Users/laracandy/Library/Application Support/Anki2/addons21/2072125761/gui/dialog.py”, line 54, 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 “/Users/laracandy/Library/Application Support/Anki2/addons21/2072125761/gui/dialog.py”, line 48, in start_importing
importer = self.importer_class(**options)
File “/Users/laracandy/Library/Application Support/Anki2/addons21/2072125761/importers/ankiapp.py”, line 345, in init
self._extract_xml_zip(path_info.path)
File “/Users/laracandy/Library/Application Support/Anki2/addons21/2072125761/importers/ankiapp.py”, line 560, in _extract_xml_zip
_read_xml(xml_file.read())
File “/Users/laracandy/Library/Application Support/Anki2/addons21/2072125761/importers/ankiapp.py”, line 548, in _read_xml
notetype.fields.normalize(str(field[“name”]))
File “bs4.element”, line 1573, in getitem
KeyError: ‘name’
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Copycat Importer AnkiAppAnkiPro [‘2072125761’, 2024-04-05T15:17, ‘None’, ‘’]
===IDs of active AnkiWeb add-ons===
2072125761
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
gofile /d/Be1okX
This is my zip file with XML inside.
im getting an error
Anki 24.04 (429bc9e1) (ao)
Python 3.9.18 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.19045
Traceback (most recent call last):
File “aqt.taskman”, line 142, in _on_closures_pending
File “aqt.taskman”, line 86, in
File “C:\Users\Mohamad Nahhas\AppData\Roaming\Anki2\addons21\2072125761\gui\dialog.py”, line 54, 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\Mohamad Nahhas\AppData\Roaming\Anki2\addons21\2072125761\gui\dialog.py”, line 48, in start_importing
importer = self.importer_class(**options)
File “C:\Users\Mohamad Nahhas\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py”, line 345, in init
self._extract_xml_zip(path_info.path)
File “C:\Users\Mohamad Nahhas\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py”, line 560, in _extract_xml_zip
_read_xml(xml_file.read())
File “C:\Users\Mohamad Nahhas\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py”, line 548, in _read_xml
notetype.fields.normalize(str(field[“name”]))
File “bs4.element”, line 1573, in getitem
KeyError: ‘name’
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Copycat Importer AnkiAppAnkiPro [‘2072125761’, 2024-04-05T17:17, ‘None’, ‘’]
===IDs of active AnkiWeb add-ons===
2072125761
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
@elbowjointpanic @lara1234 @IBeatHim error should be fixed now.
thank you so much abdo! hate to bother again but do u think there is any way for the tags from ankiapp to transfer over aswell?
Can you share an XML file with tags?
thank you SO SO SO MUCH!!! I appreciate it very much!!! You’re the best!!!
Thank you very much, abdo.
I am trying to import from AnkiPro on mac but when I try to log in it just shows a rick roll video? :(( please help I am trying to study for my midterms but I got locked out of my flashcards :(( super desperate for help
The latest release of the add-on should fix this. Check for updates using Tools > Add-ons > Check for Updates. If you’re still having the issue, please send a screenshot of what you’re seeing.
how would i go about doing that? just send over the zip file of the deck or sthing else
You can send the zip over email (click on my profile picture to see it).
I keep getting rick rolled when i try to log in to anki pro using this importer. Please help
I can’t reproduce the issue with my account. Maybe it depends on the account or is totally random. I can look into it more if you’re willing to share your login credentials with me privately.