Helpppp

Anki 25.07.5 (7172b2d2) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: Windows-11-10.0.22631-SP0

Traceback (most recent call last):
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\main.py”, line 288, in on_focus_changed
gui_hooks.focus_did_change(new, old)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages_aqt\hooks.py”, line 3496, in call
hook(new, old)
~~~~^^^^^^^^^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\main.py”, line 881, in on_focus_did_change
self.reviewer.refresh_if_needed()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\reviewer.py”, line 204, in refresh_if_needed
self.nextCard()
~~~~~~~~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\reviewer.py”, line 262, in nextCard
self._showQuestion()
~~~~~~~~~~~~~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\reviewer.py”, line 377, in _showQuestion
q = c.question()
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\cards.py”, line 150, in question
return self.render_output(reload, browser).question_and_style()
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\cards.py”, line 168, in render_output
).render()
~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\template.py”, line 240, in render
atext = apply_custom_filters(partial.anodes, self, front_side=qout.text)
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\template.py”, line 337, in apply_custom_filters
ctx.note().items(),
~~~~~~~~~~~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\notes.py”, line 158, in items
return [(f[“name”], self.fields[ord]) for ord, f in sorted(self._fmap.values())]
~~~~~~~~~~~^^^^^
IndexError: list index out of range

Error in sys.excepthook:
Traceback (most recent call last):
Traceback (most recent call last):

Original exception was:
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\webview.py”, line 188, in cmd
return json.dumps(self.onCmd(str))
~~~~~~~~~~^^^^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\webview.py”, line 275, in _onCmd
return self._onBridgeCmd(str)
~~~~~~~~~~~~~~~~~^^^^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\webview.py”, line 806, in onBridgeCmd
return self.onBridgeCmd(cmd)
~~~~~~~~~~~~~~~~^^^^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\overview.py”, line 99, in linkHandler
self.mw.moveToState(“review”)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\main.py”, line 779, in moveToState
getattr(self, f"
{state}State", lambda *: None)(oldState, *args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\main.py”, line 800, in _reviewState
self.reviewer.show()
~~~~~~~~~~~~~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\reviewer.py”, line 184, in show
self.refresh_if_needed()
~~~~~~~~~~~~~~~~~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\reviewer.py”, line 204, in refresh_if_needed
self.nextCard()
~~~~~~~~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\reviewer.py”, line 262, in nextCard
self._showQuestion()
~~~~~~~~~~~~~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\reviewer.py”, line 377, in _showQuestion
q = c.question()
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\cards.py”, line 150, in question
return self.render_output(reload, browser).question_and_style()
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\cards.py”, line 168, in render_output
).render()
~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\template.py”, line 240, in render
atext = apply_custom_filters(partial.anodes, self, front_side=qout.text)
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\template.py”, line 337, in apply_custom_filters
ctx.note().items(),
~~~~~~~~~~~~~~~~^^
File “C:\Users\catfi\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\notes.py”, line 158, in items
return [(f[“name”], self.fields[ord]) for ord, f in sorted(self._fmap.values())]
~~~~~~~~~~~^^^^^
IndexError: list index out of range

Error in sys.excepthook:
Traceback (most recent call last):
Traceback (most recent call last):

Original exception was:
Traceback (most recent call last):
Traceback (most recent call last):
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AMBOSS add-on [‘0amboss_addon’, 2024-08-05T09:24, ‘None’, ‘’]
AnkiConnect [‘2055492159’, 2025-06-12T21:01, ‘None’, mod]
AnkiHub [‘1322529746’, 2025-08-25T08:39, ‘None’, ‘’]
Ankimote - remote to control Anki from your phone [‘149004221’, 2021-08-11T11:57, ‘None’, ‘’]
Custom Background Image and Gear Icon [‘1210908941’, 2025-06-22T08:27, ‘None’, mod]
Customize Keyboard Shortcuts [‘24411424’, 2023-11-01T04:17, ‘None’, ‘’]
Find cards from UWorld test [‘444814983’, 2024-07-19T01:19, ‘None’, ‘’]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T02:15, ‘None’, ‘’]
More Overview Stats 21 [‘738807903’, 2025-02-17T15:14, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-29T20:43, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1210908941 1322529746 1374772155 149004221 1771074083 2055492159 24411424 444814983 738807903

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])cordings, etc.

I’ll help you troubleshoot this error in Anki. It looks like you’re experiencing an “IndexError: list index out of range” when trying to review cards, which is typically related to note data issues.

Let me walk you through some troubleshooting steps:

1. Check your database

First, try running the database check tool in Anki:

  • Go to Tools > Check Database
  • This may fix any inconsistencies in your database

2. Disable add-ons

The error might be caused by one of your add-ons. Try restarting Anki while holding the Shift key, which will temporarily disable all add-ons. If the problem goes away, you’ll need to identify which add-on is causing the issue.

I notice you have several add-ons installed, including AnkiHub. Try disabling them one by one to identify the problematic one.

3. Check for corrupt notes/cards

This specific error (“list index out of range” in the note.items() function) often happens when a note has fewer fields than its note type requires. This could be due to:

  • A corrupt note
  • A change in a note type that removed fields
  • Syncing issues

4. Restart Anki and your computer

Sometimes simply restarting Anki or your computer can resolve temporary issues.

5. Update Anki

You’re using Anki 25.07.5, which appears to be current, but check if there are any more recent updates available.

6. Check specific cards

If possible, try to identify which specific deck or cards are causing the problem. Sometimes the issue only affects certain cards.

If these steps don’t resolve your issue, you might need to restore from a backup or get more specialized help from the Anki forums.

Would you like me to provide more detailed guidance on any of these steps?

Hello,

I’ve replied in this other thread: More help - #2 by MarcosZan