I am moving to Gentoo LInux, and as per instructions on the website I’ve unpacked the tar from anki instead of using my package manager.
The error is: when I try to sync, Anki gives me an error like this:
Syncing failed:
Traceback (most recent call last):
File "aqt/sync.py", line 342, in run
File "aqt/sync.py", line 411, in _sync
File "aqt/sync.py", line 450, in _syncMedia
File "anki/sync.py", line 754, in sync
File "anki/sync.py", line 810, in _downloadFiles
File "anki/media.py", line 613, in addFilesFromZip
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 9-11: ordinal not in range(256)
After searching, I found that this python error is caused by using a specific codec, and an easy fix for that is to change the codec to UTF-8, but I don’t know how to do it myself. Is there an easier solution to this? If not, can you fix that?