Error message when clicking the graph of card ease

This error message appears every time when I click on a bar graph, although it doesn’t seem to affect anything. I had tried Check Database and started Anki while shift key but the problem still persists. I also found that it only occurs on the premade deck (35317 cards). My own deck is working normally.

Anki 2.1.58 (ab8b1465) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0

Platform: Windows-10-10.0.22621

Flags: frz=True ao=False sv=3

Add-ons, last update check: 2023-02-17 20:35:58

Caught exception:

Traceback (most recent call last):

File "aqt.browser.sidebar.tree", line 333, in mouseReleaseEvent

File "aqt.browser.sidebar.tree", line 436, in _on_search

AttributeError: 'NoneType' object has no attribute 'item_for_index'

I can’t reproduce this. Can you link to a shared deck that has this behaviour?

It’s the AnKing Overhaul Step 1/Step 2 V12. Should I share it on AnkiWeb?

Only if you have permission from the copyright holder. If you have the deck in your private AnkiWeb account, please let me know the email address you are syncing with privately.

Thanks for providing that video. The error seems to indicate that you’re clicking on the sidebar before it has been properly displayed. Is it possible you accidentally double-clicked on the graph? Since a single click will open the browser, the second click would have landed on the sidebar.

I think that is the cause. The reason it only occurs on large deck because it loads slower.

Thank you for the report; a fix will be in the next update.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.