kelciour / awesometts-anki-addon

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

I got the error when trying to insert TTS tag. #3

Closed vhung85 closed 4 years ago

vhung85 commented 5 years ago

When I click to insert, I got this error. The anki version is: 2.1.11 (3cf770c7) The AwesomeTTS version is: v1.13.0-dev

Thank you so much

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.11 (3cf770c7) 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 "C:\Users\hungl\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\templater.py", line 201, in accept tform = self._card_layout.tab['tform'] <class 'AttributeError'>: 'CardLayout' object has no attribute 'tab'

image

Uitalo commented 5 years ago

I have the same error: Debug info: Anki 2.1.11 (3cf770c7) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3 Platform: Mac 10.14.3 Flags: frz=True ao=True sv=2 Add-ons possibly involved: AwesomeTTS Google Cloud Text-to-Speech unofficial Caught exception: File "/Users/cassiouitalo/Library/Application Support/Anki2/addons21/814349176/awesometts/gui/templater.py", line 201, in accept tform = self._card_layout.tab['tform'] <class 'AttributeError'>: 'CardLayout' object has no attribute 'tab'

thiagopikcius commented 5 years ago

I have the same error. Everything works fine if I'm using AwesomeTTS in the browser (Add TTS Audio to Selected Notes).

Screenshot 2019-04-17 16 37 22

But it doesn't work in a template (Add TTS On-The-Fly Tag to Template) image

When trying to insert the TTS tag to template, I get the following error image

danicraft4343 commented 5 years ago

i have the same issue. i only need on-the-fly, but it´s not working