

Hierarchical Tags Addon (2.0 => 2.1)
<10kB. Updated 2017-10-08.
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.0-2.1.16 (Updated 2017-10-08)
To download this add-on, please copy and paste the following code into Anki 2.1:
1835859645
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.
Reviews

Doesn't work with the new Anki

Doesn't work! I'm a first time user

Does Not work

Doesnt work

https://ankiweb.net/shared/info/594329229
here you can find the add on in the newer anki versions
here you can find the add on in the newer anki versions

Doesnt work with the latest anki!

doesnt work

Not installing on Anki 2.1.26. I can't update a newer version of Anki because my laptop is too old.

Thank you for this great add-on, We are grateful!
Please update when you have time, thanks!
Please update when you have time, thanks!

They don't work with the newest update of Anki!!!! Nooooo!!!!!

So useful add-on but unfortunately it doesn't work with the new Anki update ( Error ).

Super useful addon previously in Anki 2.0
But there are further changes required, and porting is gonna require more effort than just adding a line of code and bugs should be fixed
It'd be better to remove this from the addons page in my opinion seeing as the creator isn't keen on debugging the addon and another one already exists: https://ankiweb.net/shared/info/594329229
But there are further changes required, and porting is gonna require more effort than just adding a line of code and bugs should be fixed
It'd be better to remove this from the addons page in my opinion seeing as the creator isn't keen on debugging the addon and another one already exists: https://ankiweb.net/shared/info/594329229

Error

Does not work! Same error message for Windows as posted below.

No longer works!

Not working with the latest version of Anki! When I try to open the Browse tab, this appears:
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-ons section of our support site.
Debug info:
Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Mac 10.15.1
Flags: frz=True ao=True sv=1
Add-ons possibly involved: Hierarchical Tags Addon 20 21
Caught exception:
Traceback (most recent call last):
File "aqt/progress.py", line 73, in handler
File "aqt/browser.py", line 1068, in deferredDisplay
File "aqt/browser.py", line 1081, in buildTree
File "</Applications/Anki.app/Contents/MacOS/decorator.pyc:decorator-gen-14>", line 2, in _userTagTree
File "anki/hooks.py", line 82, in decorator_wrapper
File "anki/hooks.py", line 79, in repl
File "/Users/norakallabat/Library/Application Support/Anki2/addons21/1835859645/hierarchical_tags.py", line 29, in _userTagTree
item = self.CallbackItem(
AttributeError: 'AdvancedBrowser' object has no attribute 'CallbackItem'
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-ons section of our support site.
Debug info:
Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Mac 10.15.1
Flags: frz=True ao=True sv=1
Add-ons possibly involved: Hierarchical Tags Addon 20 21
Caught exception:
Traceback (most recent call last):
File "aqt/progress.py", line 73, in handler
File "aqt/browser.py", line 1068, in deferredDisplay
File "aqt/browser.py", line 1081, in buildTree
File "</Applications/Anki.app/Contents/MacOS/decorator.pyc:decorator-gen-14>", line 2, in _userTagTree
File "anki/hooks.py", line 82, in decorator_wrapper
File "anki/hooks.py", line 79, in repl
File "/Users/norakallabat/Library/Application Support/Anki2/addons21/1835859645/hierarchical_tags.py", line 29, in _userTagTree
item = self.CallbackItem(
AttributeError: 'AdvancedBrowser' object has no attribute 'CallbackItem'

Upgraded 2.1.19 ... forced to by 2/1/2020 synch cutoff and won't work with your add in. Debug info here, (similar to macos one earlier in posts)
Debug info:
Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Caught exception:
Traceback (most recent call last):
File "aqt\progress.py", line 73, in handler
File "aqt\browser.py", line 1068, in deferredDisplay
File "aqt\browser.py", line 1081, in buildTree
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-6>", line 2, in _userTagTree
File "lib\site-packages\anki\hooks.py", line 82, in decorator_wrapper
File "lib\site-packages\anki\hooks.py", line 79, in repl
File "C:\Users\Gregg\AppData\Roaming\Anki2\addons21\1835859645\hierarchical_tags.py", line 29, in _userTagTree
item = self.CallbackItem(
AttributeError: 'Browser' object has no attribute 'CallbackItem'
Debug info:
Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Caught exception:
Traceback (most recent call last):
File "aqt\progress.py", line 73, in handler
File "aqt\browser.py", line 1068, in deferredDisplay
File "aqt\browser.py", line 1081, in buildTree
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-6>", line 2, in _userTagTree
File "lib\site-packages\anki\hooks.py", line 82, in decorator_wrapper
File "lib\site-packages\anki\hooks.py", line 79, in repl
File "C:\Users\Gregg\AppData\Roaming\Anki2\addons21\1835859645\hierarchical_tags.py", line 29, in _userTagTree
item = self.CallbackItem(
AttributeError: 'Browser' object has no attribute 'CallbackItem'

To the person below, try this hierarchical tag. I was experiencing the same problem. This one worked for me and I have 2.19.
https://ankiweb.net/shared/info/594329229
https://ankiweb.net/shared/info/594329229

SOMEONE PLEASE HELP! This pops up when I try to "browse"...
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-ons section of our support site.
Debug info:
Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Mac 10.15.2
Flags: frz=True ao=True sv=1
Add-ons possibly involved: 1835859645
Caught exception:
Traceback (most recent call last):
File "aqt/progress.py", line 73, in handler
File "aqt/browser.py", line 1068, in deferredDisplay
File "aqt/browser.py", line 1081, in buildTree
File "</Applications/Anki.app/Contents/MacOS/decorator.pyc:decorator-gen-50>", line 2, in _userTagTree
File "anki/hooks.py", line 82, in decorator_wrapper
File "anki/hooks.py", line 79, in repl
File "/Users/davidslupek/Library/Application Support/Anki2/addons21/1835859645/hierarchical_tags.py", line 29, in _userTagTree
AttributeError: 'Browser' object has no attribute 'CallbackItem'
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-ons section of our support site.
Debug info:
Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Mac 10.15.2
Flags: frz=True ao=True sv=1
Add-ons possibly involved: 1835859645
Caught exception:
Traceback (most recent call last):
File "aqt/progress.py", line 73, in handler
File "aqt/browser.py", line 1068, in deferredDisplay
File "aqt/browser.py", line 1081, in buildTree
File "</Applications/Anki.app/Contents/MacOS/decorator.pyc:decorator-gen-50>", line 2, in _userTagTree
File "anki/hooks.py", line 82, in decorator_wrapper
File "anki/hooks.py", line 79, in repl
File "/Users/davidslupek/Library/Application Support/Anki2/addons21/1835859645/hierarchical_tags.py", line 29, in _userTagTree
AttributeError: 'Browser' object has no attribute 'CallbackItem'

NO LONGER WORKS WITH 2.1.19!

Great job! Thanks!

This add-on no longer works with Anki 2.1.17 (released on 2020-01-11) or newer because of changes in Anki. All add-ons that modify the browser sidebar need to be updated.
On 2020-01-11 the only sidebar add-on that works with 2.1 is Hierarchical Tags 2 (Anki 2.1.17 support)", https://ankiweb.net/shared/info/594329229, which glutanimate just released. The popular add-on "Blitzkrieg: Advanced Browser Sidebar", https://ankiweb.net/shared/info/564851917, will be updated later.
On 2020-01-11 the only sidebar add-on that works with 2.1 is Hierarchical Tags 2 (Anki 2.1.17 support)", https://ankiweb.net/shared/info/594329229, which glutanimate just released. The popular add-on "Blitzkrieg: Advanced Browser Sidebar", https://ankiweb.net/shared/info/564851917, will be updated later.

Essential,thanks for the update

great for organization 😸

Excelent

Wanting new features with the 2.0→2.1 migration is nice and all, but there's something to be said with continuing all of the previous features without impacting performance.
It worked before 2.1 and now it works after: a testament to how well the original add-on was written.
It worked before 2.1 and now it works after: a testament to how well the original add-on was written.

Thanks!

good

wouldn't want to use 2.1 without hierarchical tags

noice

monitors progress

Hierarchical tags is a must have for Anki in my opinion. It makes organizing things way easier and is super easy to use. Definitely recommend giving this a shot

Thanks for the addon & thanks to the guy who said, click 'browse' ➡️ 'filter' ➡️ 'sidebar'

Good! Thank you

Sadly did not work. Don't know how else to attempt to make it work. WANT IT

thank you

Gotta love hierarchies!
Note: there's a bug in the add-on that removes the icon image from tags. Easy fix is to edit hierarchical_tags.py, and change ":/icons/anki-tag.png" to ":/icons/tag.svg".
Note: there's a bug in the add-on that removes the icon image from tags. Easy fix is to edit hierarchical_tags.py, and change ":/icons/anki-tag.png" to ":/icons/tag.svg".

Great for organization! I haven't tried more than 2 hierarchies, so I can't comment on whether that works.

Good! Thank you

If you're having trouble turning it on, go to browse, then click "filter". Then, click the sidebar button. That will bring up the hierarchical tags!

works great!

I added this however it does not appear on the side when I check browse. Is there some additional thing I need to do once added. Also, I disabled all other add ons and closed and re-opened anki, unfortunately it still did not appear. If anyone could help that would be greatly appreciated. If helped, I will change my rating.

Thanks for the port.

Useful.
But there's something uncomfortable.
If I use hierarchies more than 3 like this
Mathematics::Calculus::Textbook::CH06::Excerciese
Mathematics::Calculus::Textbook::CH05::Excerciese
I can't see all the contents when I only select uppermost tag
(In this case "Mathematics")
This can be done only when I use 2 hierarchies like
Mathematics::Calculus
Mathematics::Aanlysis
But there's something uncomfortable.
If I use hierarchies more than 3 like this
Mathematics::Calculus::Textbook::CH06::Excerciese
Mathematics::Calculus::Textbook::CH05::Excerciese
I can't see all the contents when I only select uppermost tag
(In this case "Mathematics")
This can be done only when I use 2 hierarchies like
Mathematics::Calculus
Mathematics::Aanlysis

Works like a charm

This is a life saver!

Usefull

Great!

Worked beautifully for 2.1, as it had faithfully worked for 2.0. For the down vote, I would suggest you share a detailed explanation about exactly how it did not work for you at all??

very good!
I like it
I like it

works for me

worked for me.

it doesn't work at all!

Works perfectly.