Help Needed: "More Decks Stats and Time Left" Add-on Not Working Properly in Anki 23.10 Beta 3

Hello everyone,

I am writing to seek assistance with an issue I am encountering after updating to Anki 23.10 Beta 3. My add-on “More Decks Stats and Time Left” seems to have stopped functioning correctly following this update.

Problem Description: Since updating to Anki 23.10 Beta 3, the “More Decks Stats and Time Left” add-on has started exhibiting abnormal behaviors. Specifically, I am encountering a TypeError: renderStats() got multiple values for argument ‘_old’. This error appears to be related to an argument overlap in the renderStats function.

This is caused by this commit, which adds a new parameter to _renderStats():

One way to fix the issue is adding the parameter to your renderStats() override in the add-on and pass it to _old(). Example:

def renderStats(self, _old, today):
_old(self, today)
1 Like

Thanks for your great work ! I love your Add-on @cjdduarte …! :grinning: