Error message: Importing an Anki Deck

Hi,

I am trying to import a premade deck and keep getting this error message.

Import failed. Debugging info:

Traceback (most recent call last):

File “aqt/importing.py”, line 404, in on_done

File “concurrent/futures/_base.py”, line 432, in result

File “concurrent/futures/_base.py”, line 388, in __get_result

File “concurrent/futures/thread.py”, line 57, in run

File “anki/importing/apkg.py”, line 37, in run

UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xb5 in position 1: invalid start byte

If you search the Forum for other posts with that error – Search results for 'UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 1: invalid start byte order:latest' - Anki Forums – you’ll find several that mention using very old versions of Anki. Are you trying to import this into 2.1.35?

2 Likes

ok thanks. Yes, I am.

should I try and update first? I have tried that before and lost a lot of cards so I am worried that could happen again

Yes.

That shouldn’t happen. Maybe you looked at the wrong place for your cards? Anki updates don’t modify your sqlite database, so what you’re describing is quite odd.

To make sure, you can just export your entire collection and save it to a safe place, though. And if the cards actually do seem to disappear again after the update, then feel free to open a topic here on the forums and we can have a look.

1 Like