Card Retirement
0.23MB. Updated 2021-08-08.
The author has shared 1 other
item(s).
Description
Download
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
Supported Anki versions:
- 2.1.45-2.1.46+ (Updated 2021-08-08)
To download this add-on, please copy and paste the following code into Anki 2.1:
1972853015
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools->Add-ons menu item, then click on Get Add-ons and paste in the code.
All Anki 2.1.x Add-Ons Contact Author
Reviews

Because of this addon, I can't "Undo Delete Not". I get this error message instead of undeleting notes:
" 'NoneType' object has no attribute 'entries' "
I've already lost a dozen cards because of this addon.
" 'NoneType' object has no attribute 'entries' "
I've already lost a dozen cards because of this addon.

I really love this add-on, it was working just fine but now after a click on the card that is going to be at a year it shows this error.
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-12-12 09:38:06
Caught exception:
Traceback (most recent call last):
File "aqt\reviewer.py", line 465, in <lambda>
File "aqt\reviewer.py", line 422, in _answerCard
File "decorator.py", line 232, in fun
File "anki\hooks.py", line 89, in decorator_wrapper
File "anki\hooks.py", line 81, in repl
File "C:\Users\endri\AppData\Roaming\Anki2\addons21\1972853015\main.py", line 337, in checkInterval
mw.col._undo.append(undoCopy)
AttributeError: 'LegacyCheckpoint' object has no attribute 'append'
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-12-12 09:38:06
Caught exception:
Traceback (most recent call last):
File "aqt\reviewer.py", line 465, in <lambda>
File "aqt\reviewer.py", line 422, in _answerCard
File "decorator.py", line 232, in fun
File "anki\hooks.py", line 89, in decorator_wrapper
File "anki\hooks.py", line 81, in repl
File "C:\Users\endri\AppData\Roaming\Anki2\addons21\1972853015\main.py", line 337, in checkInterval
mw.col._undo.append(undoCopy)
AttributeError: 'LegacyCheckpoint' object has no attribute 'append'

Doesn't work on the latest version of Anki.

Thank you so much. I was still stuck on 2.1.35 because of the Migaku shenanigans.

nice

Thank you! I don't know why I updated Anki since the only thing it did is break MIA Retirement. You saved me from more pain

If you're using Anki 2.1.48+ with the new deck options menu: Hold shift when you click gear -> options (next to the deck names) to get the old menu so you can use this addon.

Apologize for posting error here, but didn't see a proper place to do so.
Debug info:
Anki 2.1.46 (94913ec2) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-08-05 22:16:44
Add-ons possibly involved: Card Retirement
Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 538, in handler
File "aqt/reviewer.py", line 497, in _onAnswerButton
File "decorator.py", line 232, in fun
File "anki/hooks.py", line 89, in decorator_wrapper
File "anki/hooks.py", line 84, in repl
File "aqt/reviewer.py", line 425, in _answerCard
File "decorator.py", line 232, in fun
File "anki/hooks.py", line 89, in decorator_wrapper
File "anki/hooks.py", line 80, in repl
File "decorator.py", line 232, in fun
File "anki/hooks.py", line 89, in decorator_wrapper
File "anki/hooks.py", line 81, in repl
File "/Users/cso/Library/Application Support/Anki2/addons21/1972853015/main.py", line 287, in checkInterval
last = len(mw.col._undo[2]) - 1
TypeError: '_ReviewsUndo' object is not subscriptable
Debug info:
Anki 2.1.46 (94913ec2) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-08-05 22:16:44
Add-ons possibly involved: Card Retirement
Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 538, in handler
File "aqt/reviewer.py", line 497, in _onAnswerButton
File "decorator.py", line 232, in fun
File "anki/hooks.py", line 89, in decorator_wrapper
File "anki/hooks.py", line 84, in repl
File "aqt/reviewer.py", line 425, in _answerCard
File "decorator.py", line 232, in fun
File "anki/hooks.py", line 89, in decorator_wrapper
File "anki/hooks.py", line 80, in repl
File "decorator.py", line 232, in fun
File "anki/hooks.py", line 89, in decorator_wrapper
File "anki/hooks.py", line 81, in repl
File "/Users/cso/Library/Application Support/Anki2/addons21/1972853015/main.py", line 287, in checkInterval
last = len(mw.col._undo[2]) - 1
TypeError: '_ReviewsUndo' object is not subscriptable
Comment from author
Thanks, currently working on that. All the undo code was updated in 2.1.45 and I didn't know!
Slowly fixing that here: https://github.com/RawToast/Anki-Retirement-Addon/pull/4
Hopefully will fix that later tonight or tomorrow morning (Japan time!) -- Fixed!
Slowly fixing that here: https://github.com/RawToast/Anki-Retirement-Addon/pull/4
Hopefully will fix that later tonight or tomorrow morning (Japan time!) -- Fixed!

Awesome! The best addon in existence :) Waiting eagerly for 2.1.45 support!
Edit: Working in 2.1.45 :D
Edit: Working in 2.1.45 :D
Comment from author before post was edited
Wow it's already out! Just updated Anki and released a new version that seems to work fine :)