Anki Forums

Error message when trying to change note type (2.1.45a2)

After selecting two or more cards from different notes, and then Notes > Change note type…

You’ll get the “Please select cards from only one note type” as expected:
capt. pantalla2

However, after clicking OK, you’ll get an error message:

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-on support site.
Debug info:
Anki 2.1.45 (b9a4908b) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-05-21 20:56:42

Caught exception:
Traceback (most recent call last):
File "aqt\[](", line 54, in handler
File "aqt\[](", line 998, in <lambda>
File "aqt\browser\[](", line 529, in onChangeModel
File "aqt\browser\[](", line 39, in __init__
File "aqt\browser\[](", line 67, in setup
IndexError: list index out of range

I’ve deactivated all my addons anc checked the database, but the error message persist.
2.1.44 works as expected.


I’ve pushed a fix. :+1:


Thanks, you guys are doing an incredible job!

1 Like