Anki Forums

Error when using Chinese Anki Deck with Audio and Add-on built-in

Anki 2.1.9 (ae67c976) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3

Platform: Mac 10.16

Flags: frz=True ao=True sv=1

Caught exception:

File “aqt/webview.py”, line 67, in javaScriptConsoleMessage

<class ‘UnicodeEncodeError’>: ‘ascii’ codec can’t encode characters in position 21-22: ordinal not in range(128)

Does anyone have any advice on how to troubleshoot this? This error appears everytime I review a single card, basically making it impossible to review.

https://faqs.ankiweb.net/when-problems-occur.html

I saw this as I was trying to access a Mandarin Deck

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.9 (ae67c976) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.16
Flags: frz=True ao=False sv=1

Caught exception:
File “aqt/webview.py”, line 67, in javaScriptConsoleMessage
<class ‘UnicodeEncodeError’>: ‘ascii’ codec can’t encode characters in position 21-22: ordinal not in range(128)

Have you tried this? If you haven’t, first export the deck or make a backup, and do that please.