aaaaaah

Chinese Support Redux v0115 Addon Issue's Avatar

Chinese Support Redux v0115 Addon Issue

03 Dec, 2019 02:38 PM

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 on the add-ons section of our support site.
Debug info:
Anki 2.1.13 (3ba55990) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=True sv=1

Caught exception:
  File "aqt\webview.py", line 27, in cmd
  File "aqt\webview.py", line 87, in _onCmd
  File "aqt\webview.py", line 368, in _onBridgeCmd
  File "aqt\editor.py", line 273, in onBridgeCmd
  File "anki\hooks.py", line 39, in runFilter
  File "C:\Users\phlor\AppData\Roaming\Anki2\addons21\1128979221\edit.py", line 74, in onFocusLost
    if update_fields(note, field, allFields):
  File "C:\Users\phlor\AppData\Roaming\Anki2\addons21\1128979221\behavior.py", line 308, in update_fields
    fill_sound(hanzi, copy)
  File "C:\Users\phlor\AppData\Roaming\Anki2\addons21\1128979221\behavior.py", line 205, in fill_sound
    s = sound(hanzi, tts_engine)
  File "C:\Users\phlor\AppData\Roaming\Anki2\addons21\1128979221\sound.py", line 52, in sound
    return '[sound:%s]' % download_sound(hanzi, options[source])
  File "C:\Users\phlor\AppData\Roaming\Anki2\addons21\1128979221\tts.py", line 35, in download_sound
    tts.save(path)
  File "C:\Users\phlor\AppData\Roaming\Anki2\addons21\1128979221\lib\gtts\tts.py", line 247, in save
    self.write_to_fp(f)
  File "C:\Users\phlor\AppData\Roaming\Anki2\addons21\1128979221\lib\gtts\tts.py", line 192, in write_to_fp
    str(e))
<class 'gtts.tts.gTTSError'>: Connection error during token calculation: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001034CEF90B8>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',))

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac