Copycat Importer (AnkiApp/AnkiPro)

Sure! Sorry about the delay

gofile. io /d /8XYTq4

The zip should be imported using the XML zip option.

I tried to, but I get this message:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.2 PyQt 6.5.2
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-11-17 09:29:08
Add-ons possibly involved: ⁨Copycat Importer AnkiAppAnkiPro⁩

Caught exception:
Traceback (most recent call last):
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “C:\Users\Nico\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\Nico\AppData\Roaming\Anki2\addons21\2072125761\gui\dialog.py”, line 48, in start_importing
importer = self.importer_class(**options)
File “C:\Users\Nico\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py”, line 341, in init
self._extract_xml_zip(path_info.path)
File “C:\Users\Nico\AppData\Roaming\Anki2\addons21\2072125761\importers\ankiapp.py”, line 562, in _extract_xml_zip
mime = guess_mime(data)
File “C:\Users\Nico\AppData\Roaming\Anki2\addons21\2072125761\importers\utils.py”, line 50, in guess_mime
return from_buffer(data, mime=True)
File “C:\Users\Nico\AppData\Roaming\Anki2\addons21\2072125761\vendor\puremagic\main.py”, line 225, in from_string
return _magic(head, foot, mime, ext)
File “C:\Users\Nico\AppData\Roaming\Anki2\addons21\2072125761\vendor\puremagic\main.py”, line 139, in _magic
raise ValueError(“Input was empty”)
ValueError: Input was empty

This is caused by an empty media file in the zip. I pushed a fix.

Hi im trying to import my cards from ankipro but each time i type in my email and password im getting ,Failed to log in: 422 Client Error: Unprocessable Entity for url(i can’t post links here)" im signed in the app with Google and im sure that im typing in correct email and password is it a bug or im doing something wrong?

This is probably a bug, but I’ll need help trying to reproduce it. If you’re willing to share your login info with me privately, that would help. A screenshot at least would be good (you can also work around the linking restriction for new users by pasting the link as parts like google .com)


its the same if i type in correct and wrong password

I got this error when I tried an incorrect password. Are you perhaps using Google login? That’s not supported yet.

Yeah google login that has to be the issue

I’ll look into supporting Google login in the next release.

Google/Apple login is now supported.

2 Likes

Hate to be a pain, can you walk me through how to do this, neither google nor youtube are helping. I’ve got the decks prepared it’s just the going from the webpage to editing the line that you specified that is my issue.

Please and thank you,

  • Wokta
  • I assume you want to import from AnkiApp?
  • Did you get the decks as a zip? If so, use the XML zips option.
  • Otherwise, if you have AnkiApp installed in the same device, point the Data folder option to your AnkiApp folder.

I’ve got decks on the orange anki and want to export but the button is greyed out and you have suggested the fix but I have no clue how to use Google dev to make the change.

Fixed it, thanks it really helped knowing that I wouldn’t have to remake all my decks. The add-on that you have made has saved me literally days of work, thank you

  • Wokta
1 Like

I am coming up with an error when I transfer AnkiApp to Anki this way Please help?

I have it on my Mac and tried all 3 options for downloads nothing works and zip file I dont know where the file is i am exporting but can not find it

Please post the full error message.

any update on why im getting this