kelciour / google-translate

Anki add-on for Google Translate
5 stars 5 forks source link

[Bug] Error shown on latest Anki (2.1.52) #22

Closed ghost closed 2 years ago

ghost commented 2 years ago

OS: Manjaro KDE - X11 (latest stable) Anki: 2.1.52 Stable

An error is shown after clicking the "Google Translate" Button on the Editor. After closing the "error" window, the translation appears though.

Having to see the "error window" for every translation significantly reduces the speed of workflow.

Could it be possible to solve this problem ?

Thanks for your hard work ! Your add-ons are very helpful :D


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, repeating 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 to the add-on author. Debug info: Anki 2.1.52 (ab1c2395) Python 3.9.10 Qt 6.3.0 PyQt 6.3.0 Platform: Linux Flags: frz=True ao=True sv=3 Add-ons, last update check: 2022-05-25 21:16:41

Caught exception: Traceback (most recent call last): File "aqt.webview", line 42, in cmd File "json", line 231, in dumps File "json.encoder", line 199, in encode File "json.encoder", line 257, in iterencode File "json.encoder", line 179, in default TypeError: Object of type GoogleTranslate is not JSON serializable