kelciour / awesometts-anki-addon

AwesomeTTS text-to-speech add-on for Anki
GNU General Public License v3.0
31 stars 2 forks source link

An error occurred. Please start Anki while... #1

Closed JSY88 closed 5 years ago

JSY88 commented 5 years ago

First of all, thank you for the cool stuff! It worked well for a while, and suddenly there was an error like this. What can I do to fix this?

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.9 (ae67c976) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3 Platform: Windows 7 Flags: frz=True ao=True sv=1

Caught exception: File "C:\Users\jinsub\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 298, in accept self._accept_next() File "C:\Users\jinsub\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 403, in _accept_next note=note) File "C:\Users\jinsub\AppData\Roaming\Anki2\addons21\814349176\awesometts\router.py", line 439, in call callbacks'fail' File "C:\Users\jinsub\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 358, in fail message = exception.message <class 'AttributeError'>: 'ValueError' object has no attribute 'message'

kelciour commented 5 years ago

I've added a quick fix to fix this exception message. Unfortunately, it won't solve the original problem, but at least, the next time when this happens, the error message will be different. Please use Anki - Tools - Add-ons - Check for Updates to update the add-on.

JSY88 commented 5 years ago

The error message has changed! It will no longer terminate with an error. thanks a lot!

kelciour commented 5 years ago

Ah, no problem. I'm closing this issue then.