Anki Forums

I'm getting an error related to add-ons' but turning them off didn't do

Hi, I’m getting an error that according to Anki is because of the add-ons’, but even after turning them off one by one I still get the same error, the error message comes up whenever I open a deck and click on the “study now” button, for some reason whenever I close the error window it goes away until I reopen Anki, but the thing is that ever since I started getting that error which was 20 minutes ago, I’ve also tried restarting the computer but that didn’t do either.
I’d really appreciate it if someone could give me a hand here.

Here’s the message:

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, repeat 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.38 (355e4cd5) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-04-05 17:39:39

Caught exception:
Traceback (most recent call last):
File “aqt\taskman.py”, line 87, in _on_closures_pending
File “aqt\taskman.py”, line 59, in
File “aqt\sound.py”, line 279, in
File “aqt\tts.py”, line 565, in _on_done
File “concurrent\futures_base.py”, line 432, in result
File “concurrent\futures_base.py”, line 388, in __get_result
File “concurrent\futures\thread.py”, line 57, in run
File “aqt\sound.py”, line 279, in
File “aqt\tts.py”, line 562, in _play
File “asyncio\runners.py”, line 44, in run
File “asyncio\base_events.py”, line 616, in run_until_complete
File “aqt\tts.py”, line 589, in speakText
RuntimeError

image

After disabling all of them it shows this message:

An error occurred. Please use Tools > Check Database to see if that fixes the problem.

If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.

Anki 2.1.38 (355e4cd5) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2

Platform: Windows 10

Flags: frz=True ao=False sv=1

Add-ons, last update check: 2021-04-05 17:39:39

Caught exception:

Traceback (most recent call last):

File “aqt\taskman.py”, line 87, in _on_closures_pending

File “aqt\taskman.py”, line 59, in

File “aqt\sound.py”, line 279, in

File “aqt\tts.py”, line 565, in _on_done

File “concurrent\futures_base.py”, line 432, in result

File “concurrent\futures_base.py”, line 388, in __get_result

File “concurrent\futures\thread.py”, line 57, in run

File “aqt\sound.py”, line 279, in

File “aqt\tts.py”, line 562, in _play

File “asyncio\runners.py”, line 44, in run

File “asyncio\base_events.py”, line 616, in run_until_complete

File “aqt\tts.py”, line 589, in speakText

RuntimeError

But even after doing all of this the text to speech won’t work, I didn’t install it recently, the last add-on that I installed was 2 months ago, so this doesn’t have to do with any recent changes.

First, try updating to the latest Anki.

Anki has native TTS support, are you using it or some add-on like AwesomeTTS?

Maybe it’s caused by unavailable voices or something. Maybe check your card templates or post the relevant sections here.

@dae it appears the RuntimeError is thrown here:

1 Like

Newer Anki versions already show a better error. I’d recommend ensuring all Windows updates are installed, try restarting your computer, or try using a different voice.

I updated it and even though, the error window doesn’t pop up, it shows a message when I first open anki saying that the tts doesn’t work, the message isn’t an error window now it’s showed like the message “the card has been buried" like when you bury a card.

Did you ensure all Windows updates are installed, try restarting your computer, and try changing to a different voice?