I was trying to setup on-the-fly playback using Google Cloud Text-to-Speech (ko-KR-Wavenet-C). Since the issue opened in #3 is still present, I manually added the template tag using a preset. Upon force palying the TTS audio on the card, the following error message appears.
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.15 (442df9d6) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=True sv=2
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 "<decorator-gen-14>", line 2, in _linkHandler
File "anki\hooks.py", line 74, in decorator_wrapper
File "anki\hooks.py", line 71, in repl
File "C:\Users\Lenovo\AppData\Roaming\Anki2\addons21\review_heatmap\links.py", line 74, in heatmapLinkHandler
return None if not _old else _old(self, url)
File "aqt\overview.py", line 37, in _linkHandler
File "aqt\main.py", line 485, in moveToState
File "aqt\main.py", line 515, in _reviewState
File "aqt\reviewer.py", line 46, in show
File "aqt\reviewer.py", line 96, in nextCard
File "aqt\reviewer.py", line 185, in _showQuestion
File "anki\hooks.py", line 29, in runHook
File "C:\Users\Lenovo\AppData\Roaming\Anki2\addons21\814349176\awesometts\__init__.py", line 629, in <lambda>
lambda: reviewer.card_handler('question', aqt.mw.reviewer.card),
File "C:\Users\Lenovo\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\reviewer.py", line 119, in card_handler
show_errors=config['automatic_questions_errors'])
File "C:\Users\Lenovo\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\reviewer.py", line 252, in _play_html
parent, show_errors)
File "C:\Users\Lenovo\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\reviewer.py", line 331, in _play_html_tag
fail=lambda exception: (
File "C:\Users\Lenovo\AppData\Roaming\Anki2\addons21\814349176\awesometts\router.py", line 439, in __call__
callbacks['fail'](exception)
File "C:\Users\Lenovo\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\reviewer.py", line 346, in <lambda>
exception.message,
<class 'AttributeError'>: 'ValueError' object has no attribute 'message'
I was trying to setup on-the-fly playback using Google Cloud Text-to-Speech (ko-KR-Wavenet-C). Since the issue opened in #3 is still present, I manually added the template tag using a preset. Upon force palying the TTS audio on the card, the following error message appears.
AwesomeTTS v1.13.0-dev Anki v2.1.15 Windows 10