m-rtin/anki-ipa

[fr] Problem generating French IPA

autumnkent opened this issue · 1 comments

I'm getting an error when I try to generate French IPA. I don't have any problem generating Russian or German. I'm seeing this problem on both Windows 10 and Linux Mint.
The debug info below is from my latest attempt. The only other add-ons installed were Review Heatmap and AwesomeTTS Google Cloud Text to Speech Unofficial.
Thanks for everything - this add-on is otherwise fantastic!

Debug info:
Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-08-23 15:40:21

--- Logging error ---
Traceback (most recent call last):
File "logging_init_.py", line 1084, in emit
File "C:\python38\lib\encodings\cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode character '\u025b' in position 37: character maps to
Call stack:
File "runanki", line 4, in
File "aqt_init_.py", line 349, in run
File "aqt_init_.py", line 488, in run
File "aqt\webview.py", line 31, in cmd
File "aqt\webview.py", line 97, in onCmd
File "aqt\webview.py", line 500, in onBridgeCmd
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-2>", line 2, in onBridgeCmd
File "lib\site-packages\anki\hooks.py", line 666, in decorator_wrapper
File "lib\site-packages\anki\hooks.py", line 663, in repl
File "C:\Users\Cate\AppData\Roaming\Anki2\addons21\799647424\main.py", line 183, in on_bridge_cmd
old(editor, command)
File "aqt\editor.py", line 378, in onBridgeCmd
File "C:\Users\Cate\AppData\Roaming\Anki2\addons21\799647424\main.py", line 68, in paste_ipa
logging.debug(f"IPA transcription string: {ipa}")
File "logging_init
.py", line 2077, in debug
File "logging_init
.py", line 1422, in debug
File "logging_init
.py", line 1577, in log
File "logging_init
.py", line 1587, in handle
File "logging_init
.py", line 1649, in callHandlers
File "logging_init_.py", line 950, in handle
File "logging_init_.py", line 1183, in emit
File "logging_init_.py", line 1089, in emit
Message: 'IPA transcription string: ɛtʁ'
Arguments: ()

Thanks for your feedback! Could you update to the newest version of the addon and try again? Could you send a screenshot? On my machine it looks like this:

image