Anki Error After New Add-On

I added “Rebuild All Empty All for Anki 21” yesterday. Anki worked perfectly all day yesterday and for some time of this morning, until I received the following error message:

Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 5.14.1 PyQt 5.14.1
Platform: Mac 12.6
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-11-30 16:22:01

Caught exception:
Traceback (most recent call last):
File “aqt.webview”, line 42, in cmd
File “aqt.webview”, line 149, in _onCmd
File “aqt.webview”, line 624, in _onBridgeCmd
File “aqt.reviewer”, line 529, in _linkHandler
File “aqt.reviewer”, line 447, in _answerCard
File “aqt.reviewer”, line 454, in _after_answering
File “aqt.reviewer”, line 233, in nextCard
File “aqt.reviewer”, line 342, in _showQuestion
File “anki.cards”, line 189, in autoplay
File “anki.decks”, line 299, in config_dict_for_deck_id
TypeError: argument of type ‘NoneType’ is not iterable

It suggested to hold down the shift key while starting Anki to disable add-ons to see if they were the problem. After restarting Anki while holding down the shift key, I received the following error:

Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 5.14.1 PyQt 5.14.1
Platform: Mac 12.6
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-11-30 16:22:01

Caught exception:
Traceback (most recent call last):
File “aqt.webview”, line 42, in cmd
File “aqt.webview”, line 149, in _onCmd
File “aqt.webview”, line 624, in _onBridgeCmd
File “aqt.overview”, line 92, in _linkHandler
File “aqt.main”, line 673, in moveToState
File “aqt.main”, line 694, in _reviewState
File “aqt.reviewer”, line 150, in show
File “aqt.reviewer”, line 170, in refresh_if_needed
File “aqt.reviewer”, line 231, in nextCard
File “aqt.reviewer”, line 322, in _initWeb
File “aqt.reviewer”, line 761, in _bottomHTML
File “anki.cards”, line 198, in time_taken
File “anki.cards”, line 177, in time_limit
File “anki.decks”, line 299, in config_dict_for_deck_id
TypeError: argument of type ‘NoneType’ is not iterable

It stated to go to Tools>Check Database and see if it fixes the problem, but it did not. I am still getting one of the above errors whether I start Anki holding down the shift key or not. Does anyone know what I can do about this?

I have had the Awesome TTS and Review Heatmap add-ons for a long time with no problems. I assume the most recent add-on is the problem, but when I disable it, I still get an error.

I am not computer-savvy, and this is all Greek to me.

Thank you!

Your AnkiWeb collection seems ok. If the problem has not gone away, please sync normally and then force a one way sync in the preferences, choosing download. Does that resolve it?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.