Anki and AnkiDroid Crashing Error

Hello, all,

For some time now, I’ve been unable to use one specific deck on my phone (via AnkiDroid) – every time I open this deck, the app simply crashes and submits and error report. On my desktop (Mac), I receive the error message pasted below when I try to browse items in that deck, though I’m able to open it for study.

For what it’s worth, this is a Portuguese-language deck with 265 cards. The Front/Back and custom cards I created are fine when I click on them in browse on my Mac. And roughly 10 simple “Forward” cards are click-able without error. But the vast majority of the cards, which are “Forward,” yield an error message when I attempt to click on them.

I’ve done everything I can think of – uninstalling/disabling add-ons, starting in safe mode, etc – but to no avail.

Add ons: AnkiConnect; Automatic Basic to Cloze Updated; Japanese Example Sentences; Japanese Support; Kindle Highlights Import

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-on support site.
Debug info:
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-02-24 15:43:48

Caught exception:
Traceback (most recent call last):
File “aqt/progress.py”, line 54, in handler
File “aqt/utils.py”, line 965, in
File “aqt/browser/browser.py”, line 436, in onRowChanged
File “aqt/editor.py”, line 456, in set_note
File “aqt/editor.py”, line 471, in loadNote
File “anki/notes.py”, line 146, in items
File “anki/notes.py”, line 146, in
IndexError: list index out of range

Caught exception:
Traceback (most recent call last):
File “aqt/progress.py”, line 54, in handler
File “aqt/utils.py”, line 965, in
File “aqt/browser/browser.py”, line 436, in onRowChanged
File “aqt/editor.py”, line 456, in set_note
File “aqt/editor.py”, line 471, in loadNote
File “anki/notes.py”, line 146, in items
File “anki/notes.py”, line 146, in
IndexError: list index out of range

Caught exception:
Traceback (most recent call last):
File “aqt/progress.py”, line 54, in handler
File “aqt/utils.py”, line 965, in
File “aqt/browser/browser.py”, line 436, in onRowChanged
File “aqt/editor.py”, line 456, in set_note
File “aqt/editor.py”, line 471, in loadNote
File “anki/notes.py”, line 146, in items
File “anki/notes.py”, line 146, in
IndexError: list index out of range

You should definitively try without add-ons to see if that solves the issue.

2 Likes

Hey there! I tried with all add-ons disabled, and tried starting in safe mode as well. It doesn’t seem to resolve anything, sadly.

Did you try Tools > Check Database?
Also, even if the error occurs without add-ons, they may obscure the error message, so it’s preferable to post the error log of a safe mode run.

2 Likes