Error - ⁨Extended Card Stats During Review⁩ Add-on

Hello, I installed the Extended Card Stats During Review Add-on (1008566916), restarted Anki and tried to use it the first time, by clicking Shift+C when studying. It shows the following error:

And here is the debug info:

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.19041

Traceback (most recent call last):
File “C:\Users\Gabriel\AppData\Roaming\Anki2\addons21\1008566916\reviewer_card_stats.py”, line 182, in cardStats
_cs.toggle()
File “C:\Users\Gabriel\AppData\Roaming\Anki2\addons21\1008566916\reviewer_card_stats.py”, line 80, in toggle
self.show()
File “C:\Users\Gabriel\AppData\Roaming\Anki2\addons21\1008566916\reviewer_card_stats.py”, line 65, in show
self.shown = self.addDockable((“Card Info”), self.web)
File “C:\Users\Gabriel\AppData\Roaming\Anki2\addons21\1008566916\reviewer_card_stats.py”, line 48, in _addDockable
dock.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea)
AttributeError: type object ‘Qt’ has no attribute ‘LeftDockWidgetArea’

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Editor Scripts Symbols [‘2065559429’, 2022-07-25T14:48, ‘None’, mod]
Extended Card Stats During Review [‘1008566916’, 2017-08-29T15:59, ‘None’, ‘’]
More Decks Stats and Time Left [‘1556734708’, 2023-09-24T11:08, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-29T22:43, ‘None’, ‘’]
Searching PDF Reading Note-Taking in Add Dialog [‘1781298089’, 2022-08-15T04:22, ‘None’, mod]

===IDs of active AnkiWeb add-ons===
1008566916 1556734708 1771074083 1781298089 2065559429

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

Can someone help, please?

Thanks

1 Like

That add-on hasn’t been updated since 2017. Is there any reason to think it would still work in a 23.12.x version of Anki?

If all it’s doing is showing you the card info screen during review … that’s available in Anki without an add-on. Statistics - Anki Manual

2 Likes

I think this add-on would work as an alternative to this.

yes, there is a reason; it’s because I didn’t pay attention to this fact, considering I’m a beginner at Anki. Anyway, thanks for the information.

1 Like

Oh, Yhank you! But it seems that this add-on doesn’t show what interests me most: all past learning or review events.

Anki’s own Card Info (I), like @Danika_Dakika informed, does it; the only problem for me is that it opens in a new window.

Example:

(on the left, Anki’s Card Info; on the right, Card Info During Review add-on; in green, the infos that interests me most.)

Thank you!

1 Like

Updated this to 23.10+ a while ago (which was super easy to do thanks to Damien’s groundwork), but hadn’t uploaded it until now.

You should be able to download and use the add-on on 23.x now: Extended Card Stats During Review

3 Likes

This is exactly what I needed! Thank you very much.

1 Like

Thanks, @glutanimate.

Why does it turn off when returning to the deck list?

https://ankiweb.net/shared/info/1008566916 has links to nonexistent source code and issue tracker.

@Aleksej thanks for letting me know about the missing links. I created a support thread for as I haven’t had time to update the repo yet. But you can also use the old repo if you want - I will transfer all issues related to the add-on to its own repo in the future.

Why does it turn off when returning to the deck list?

Pretty much just replicating the behavior of the add-on it’s based on, Card Info During Review. Do you have a particular use case in mind where keeping the sidebar open would be helpful? My line of thinking would be that this is a UI that’s contextual to the Reviewer, so it seems sensible to exit it when also exiting the Reviewer.

It does not reopen automatically when reviewing.

@Aleksej good point, I could see that being helpful. Added a note to potentially look into this the next time I have time to work on the add-on.

1 Like