34 20
Sign in to rate

Hierarchical Tags Addon (2.0 => 2.1)

<10kB. Updated 2017-10-08.

Description

Just "ported" the original Hierarchical Tags Addon by Patrice Neff to be ready for Anki 2.1! Did no changes to the original add-on, just added a working "__init__.py". It seems there are no further changings needed for the plugin.

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:

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.

All Anki 2.1.x Add-Ons

Reviews

on 1675192697
Doesn't work with the new Anki
on 1671811085
Doesn't work! I'm a first time user
on 1657571385
Does Not work
on 1633275325
Doesnt work
on 1629655152
https://ankiweb.net/shared/info/594329229

here you can find the add on in the newer anki versions
on 1622675591
Doesnt work with the latest anki!
on 1619560585
doesnt work
on 1598027859
Not installing on Anki 2.1.26. I can't update a newer version of Anki because my laptop is too old.
on 1597498739
Thank you for this great add-on, We are grateful!

Please update when you have time, thanks!
on 1585414687
They don't work with the newest update of Anki!!!! Nooooo!!!!!
on 1583742207
So useful add-on but unfortunately it doesn't work with the new Anki update ( Error ).
on 1583423045
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
on 1583221285
Error
on 1583179418
Does not work! Same error message for Windows as posted below.
on 1581192570
No longer works!
on 1580909125
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'
on 1580572771
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'
on 1579714860
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
on 1579586255
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'
on 1579543214
NO LONGER WORKS WITH 2.1.19!
on 1578864241
Great job! Thanks!
on 1578757970
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 1578705329
Essential,thanks for the update
on 1577513751
great for organization 😸
on 1575208148
Excelent
on 1574707679
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.
on 1573651932
Thanks!
on 1567990771
good
on 1567378836
wouldn't want to use 2.1 without hierarchical tags
on 1562678679
noice
on 1560814113
monitors progress
on 1559081972
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
on 1558972517
Thanks for the addon & thanks to the guy who said, click 'browse' ➡️ 'filter' ➡️ 'sidebar'
on 1556854417
Good! Thank you
on 1556824615
Sadly did not work. Don't know how else to attempt to make it work. WANT IT
on 1555165567
thank you
on 1549751313
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".
on 1547681238
Great for organization! I haven't tried more than 2 hierarchies, so I can't comment on whether that works.
on 1547544647
Good! Thank you
on 1547178319
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!
on 1546898259
works great!
on 1546186714
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.
on 1545857234
Thanks for the port.
on 1541645455
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
on 1540777720
Works like a charm
on 1539765026
This is a life saver!
on 1539634360
Usefull
on 1539428645
Great!
on 1538442852
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??
on 1536807930
very good!
I like it
on 1536523967
works for me
on 1536422352
worked for me.
on 1535670485
it doesn't work at all!
on 1531984282
Works perfectly.