7 2
Contact Author Sign in to rate

Card Retirement

0.23MB. Updated 2021-08-08.
The author has shared 1 other item(s).

Description

Simple retirement add-on, basically the Migaku one with the Migaku stuff removed. The main goal of this add-on is to provide support for later versions, as Migaku plugins are updated on a slower basis (as there are so many!) Thanks to the GPL license, this is fine :D For instructions on how to use this, until I write something here, please use the Migaku website: https://www.migaku.io/tools-guides/migaku-retirement/guide Note that the menu item for this plugin is now under `Tools` => `Retirement` Migaku Users Migaku users please use this add-on: https://ankiweb.net/shared/info/1666520655 as it's likely this could break stuff for you. I removed code that handles specific Migaku only features. Release Notes 2.1.45.3 Fixed error when undoing a review (hopefully, please let me know if you see this again!) 2.1.45.2 Fixed error when showing a notification. 2.1.45.1 Move menu to `Tools` Added conflict to manifest, this plugin should disable itself if you have the Migaku Retirement plugin installed. You can only use one retirement plugin! 2.1.45 Fixed crash under Anki 2.1.45 Credit Yoga and Migaku

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:

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

on 1671138082
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.
on 1670883623
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'
on 1660765546
Doesn't work on the latest version of Anki.
on 1659743414
Thank you so much. I was still stuck on 2.1.35 because of the Migaku shenanigans.
on 1644529804
nice
on 1637692939
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
on 1633079087
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.
on 1628286219
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
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!
on 1627687854
Awesome! The best addon in existence :) Waiting eagerly for 2.1.45 support!
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 :)