I already posted this bug report in the thread for the specific add-on, but a week has passed with no response and the thread seems to have gone dead unfortunately. Hence the new one.
The add-on is called deck and card info sidebar during review.
Here’s what I’m seeing, approximately every day during my reviews:
After this, the add-on stops updating the sidebar that it creates with details about the current and previous cards.
Here’s what I get from “Copy Debug Info”:
Anki 25.07.5 (7172b2d2) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-15.5-arm64-arm-64bit-Mach-O
Traceback (most recent call last):
File "/Users/MY-USERNAME/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/webview.py", line 188, in cmd
return json.dumps(self.onCmd(str))
~~~~~~~~~~^^^^^
File "/Users/MY-USERNAME/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/webview.py", line 275, in _onCmd
return self._onBridgeCmd(str)
~~~~~~~~~~~~~~~~~^^^^^
File "/Users/MY-USERNAME/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/webview.py", line 806, in _onBridgeCmd
return self.onBridgeCmd(cmd)
~~~~~~~~~~~~~~~~^^^^^
File "/Users/MY-USERNAME/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/overview.py", line 99, in _linkHandler
self.mw.moveToState("review")
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/Users/MY-USERNAME/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py", line 782, in moveToState
gui_hooks.state_did_change(state, oldState)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/MY-USERNAME/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/_aqt/hooks.py", line 4897, in __call__
hook(new_state, old_state)
~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/Users/MY-USERNAME/Library/Application Support/Anki2/addons21/673114053/__init__.py", line 94, in maybe_restore_sidebar
cs.show()
~~~~~~~^^
File "/Users/MY-USERNAME/Library/Application Support/Anki2/addons21/673114053/sidebar_base.py", line 125, in show
self.setup_style()
~~~~~~~~~~~~~~~~^^
File "/Users/MY-USERNAME/Library/Application Support/Anki2/addons21/673114053/sidebar_base.py", line 59, in setup_style
self.set_day_style()
~~~~~~~~~~~~~~~~~~^^
File "/Users/MY-USERNAME/Library/Application Support/Anki2/addons21/673114053/sidebar_base.py", line 81, in set_day_style
update_contents_of_sidebar(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/Users/MY-USERNAME/Library/Application Support/Anki2/addons21/673114053/sidebar_set_contents.py", line 58, in update_contents_of_sidebar
txt += revlog_data_mod(self, card, gc('num_of_revs', 3))
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/MY-USERNAME/Library/Application Support/Anki2/addons21/673114053/revlog.py", line 36, in revlog_data_mod
tstr = ["Lrn", "Rev", "ReLn", "Filt", "Resch"][_type]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
IndexError: list index out of range
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Advanced Browser ['874215009', 2024-10-27T10:20, 'None', '']
AnkiWebView Inspector ['31746032', 2023-06-27T15:26, 'None', '']
Change Note Creation Times ['217650262', 2023-10-18T22:59, 'None', '']
Custom Stats Range ['84374528', 2023-12-06T12:29, 'None', '']
Customize Keyboard Shortcuts ['24411424', 2023-11-01T05:17, 'None', '']
Edit Field During Review Cloze ['385888438', 2025-08-04T10:13, '6.23', mod]
FSRS Helper Postpone Advance Load Balance Easy Days Disperse Siblings ['759844606', 2025-08-17T21:42, 'None', '']
Field AutoComplete ['511710206', 2025-01-29T02:01, 'None', mod]
Highlight Search Results in the Browser ['225180905', 2023-10-21T15:17, 'None', '']
LPCG LyricsPoetry Cloze Generator ['2084557901', 2023-12-06T22:43, 'None', '']
More Decks Stats and Time Left ['1556734708', 2025-06-23T16:44, 'None', '']
Progress Graphs and Stats for Learned and Matured Cards ['266436365', 2020-03-29T02:26, 'None', '']
Progress bar Actual ['1882716549', 2025-05-18T02:31, 'None', '']
Review Heatmap ['1771074083', 2022-06-29T21:43, 'None', '']
Search Stats Extended ['1613056169', 2025-07-30T19:05, 'None', mod]
See Previous Card Ratings in Reviewer ['1906641654', 2025-01-20T23:13, 'None', '']
Statistics for Note Types Card Types and Tags ['16703369', 2022-03-14T17:14, 'None', '']
Switch Note Type Hotkey ['565948788', 2021-10-03T23:46, 'None', '']
True Retention ['613684242', 2017-11-19T15:43, 'None', '']
deck and card info sidebar during review ['673114053', 2022-08-16T06:30, 'None', '']
===IDs of active AnkiWeb add-ons===
1556734708 1613056169 16703369 1771074083 1882716549 1906641654 2084557901 217650262 225180905 24411424 266436365 31746032 385888438 511710206 565948788 613684242 673114053 759844606 84374528 874215009
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
I also had an interesting little chat with ChatGPT about the output above:
The key line is:
tstr = ["Lrn", "Rev", "ReLn", "Filt", "Resch"][_type] IndexError: list index out of range
That means _type sometimes has a value outside the expected range 0–4. The add-on assumes every review log entry has one of those five types, but Anki 25.07.5 (or FSRS-related logging) is producing a different _type value that isn’t accounted for.
So the issue:
The add-on’s revlog.py doesn’t handle newer/different revlog types introduced in recent Anki versions.
When such an entry appears in your revlog, the add-on crashes every time the sidebar tries to show review data.
It isn’t a core Anki bug — it’s that this add-on is outdated and doesn’t handle new _type codes.
Can anyone help?