I get the following error when I try to Update Collection. Can you help?
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 to the add-on author.
Debug info:
Anki 2.1.61 (0c1eaf4c) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-10.15.7-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-02-12 12:52:50
Add-ons possibly involved: Leech Toolkit
Caught exception:
Traceback (most recent call last):
File "/Users/christopher.evans2/Library/Application Support/Anki2/addons21/368380974/src/sync.py", line 87, in sync_collection
thresholds[key] = deck_conf['lapse']['leechFails']
KeyError: 'lapse'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aqt.taskman", line 122, in _on_closures_pending
File "aqt.taskman", line 71, in
File "aqt.taskman", line 90, in wrapped_done
File "aqt.sync", line 117, in on_future_done
File "aqt.main", line 1026, in on_collection_sync_finished
File "_aqt.hooks", line 4805, in call
File "/Users/christopher.evans2/Library/Application Support/Anki2/addons21/368380974/src/sync.py", line 93, in sync_collection
if deck_conf['id'] == key:
TypeError: list indices must be integers or slices, not str
I get the following error when I try to Update Collection. Can you help?
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 to the add-on author.
Debug info:
Anki 2.1.61 (0c1eaf4c) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-10.15.7-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-02-12 12:52:50
Add-ons possibly involved: Leech Toolkit
Caught exception:
Traceback (most recent call last):
File "/Users/christopher.evans2/Library/Application Support/Anki2/addons21/368380974/src/sync.py", line 87, in sync_collection
thresholds[key] = deck_conf['lapse']['leechFails']
KeyError: 'lapse'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aqt.taskman", line 122, in _on_closures_pending
File "aqt.taskman", line 71, in
File "aqt.taskman", line 90, in wrapped_done
File "aqt.sync", line 117, in on_future_done
File "aqt.main", line 1026, in on_collection_sync_finished
File "_aqt.hooks", line 4805, in call
File "/Users/christopher.evans2/Library/Application Support/Anki2/addons21/368380974/src/sync.py", line 93, in sync_collection
if deck_conf['id'] == key:
TypeError: list indices must be integers or slices, not str