Remove optional tag

Hi there,

I accidentally made an optional tag called “UniMelb” and Brian was very helpful and removed it from my AnkiHub profile on the website.

My issue is that the tag never disappeared from the “Optional Tag Suggestions” window on my Anki (see screenshot below). I also deleted the tag from my Anki (see screenshots below), but the tag still pops up in the optional tag suggestion window!

I also tried to log in and out of AnkiHub on Anki - that did not fix it.

I also tried to reset an optional tag group from the menu (AnkiHub→ reset an optional tag group), and the tag shows up there, and if I click reset, Anki freezes, and I get the following error. (screenshot below for the error popup message)

Any help would be appreciated :slight_smile:

Anki 25.09 (539054c3) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-15.6.1-arm64-arm-64bit-Mach-O
File "/Users/jordan/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/threading.py", line 1014, in _bootstrap
self._bootstrap_inner()
File "/Users/jordan/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/threading.py", line 1043, in _bootstrap_inner
self.run()
File "/Users/jordan/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/threading.py", line 994, in run
self._target(*self._args, **self._kwargs)
File "/Users/jordan/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/thread.py", line 93, in _worker
work_item.run()
File "/Users/jordan/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/jordan/Library/Application Support/Anki2/addons21/1322529746/gui/browser/browser.py", line 687, in <lambda>
task=lambda: _reset_optional_tag_group(extension_id=extension_id),
File "/Users/jordan/Library/Application Support/Anki2/addons21/1322529746/gui/browser/browser.py", line 703, in _reset_optional_tag_group
update_decks_and_media(on_done=on_done, ah_dids=[extension_config.ah_did], start_media_sync=False)
File "/Users/jordan/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 36, in wrapper
return func(*args, **kwargs)
File "/Users/jordan/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 209, in update_decks_and_media
run_update(
File "/Users/jordan/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 173, in run_update
).failure(on_failure).with_progress().run_in_background()
File "/Users/jordan/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/__init__.py", line 263, in run_in_background
self._run(mw, wrapped_op, wrapped_done)
File "/Users/jordan/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/__init__.py", line 281, in _run
mw.taskman.with_progress(op, on_done, label=label, parent=self._parent)
File "/Users/jordan/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 113, in with_progress
self.run_in_background(task, wrapped_done, uses_collection=uses_collection)
File "/Users/jordan/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 74, in run_in_background
traceback.print_stack()
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AMBOSS Official Medical School Step Shelf Study Resource ['1044112126', 2999-01-01T11:00, 'None', '']
AnKing Note Types Easy Customization ['952691989', 2025-12-16T20:40, 'None', mod]
AnKing QuickSearch ['1621009815', 2026-03-20T12:42, 'None', '']
AnkiHub ['1322529746', 2026-03-26T05:20, 'None', mod]
Batch Editing ['291119185', 2023-10-26T11:38, 'None', '']
BetterSearch ['1052724801', 2026-03-03T23:58, 'None', mod]
Browser search result highlighter ['1057317630', 2026-03-31T23:37, 'None', '']
Calculate New Cards To Do ['2014569756', 2022-05-19T15:38, 'None', mod]
Colorful Tags IN EDITOR Hierarchical Tags ['1302882059', 2026-04-08T13:18, 'None', '']
Contanki - Controller Support for Anki beta ['1898790263', 2024-03-01T12:22, 'v1.0.2', mod]
Countdown To Events and Exams ['1143540799', 2022-06-27T21:50, 'None', '']
Display total cards and time studied on main screen ['352950969', 2024-08-30T07:17, 'None', '']
Edit Field During Review Cloze ['385888438', 2025-08-05T00:13, '6.23', mod]
Fastbar- with nightmode support ['46611790', 2025-01-28T09:52, 'None', '']
Filtered Deck From Tag ['2058067048', 2023-02-19T12:42, 'None', mod]
Image Occlusion Enhanced ['1374772155', 2022-04-09T17:15, 'None', '']
Malleus Anki Helper Addon ['620451841', 2026-04-03T17:10, 'None', '']
More Decks Stats and Time Left ['1556734708', 2025-06-24T06:44, 'None', mod]
New Cards Counter ['635082046', 2022-04-21T06:37, 'None', '']
Review Heatmap, DST-patched ['review_heatmap', 2025-10-06T02:56, 'None', '']
Symbols As You Type ['2040501954', 2026-01-26T03:25, 'None', '']
The KING of Button Add-ons ['374005964', 2025-07-28T21:25, 'None', mod]
Transfer scheduling data from one card to another ['94685914', 2024-08-10T00:32, 'None', '']
===IDs of active AnkiWeb add-ons===
1044112126 1052724801 1057317630 1143540799 1302882059 1322529746 1374772155 1556734708 1621009815 1898790263 2014569756 2040501954 2058067048 291119185 352950969 374005964 385888438 46611790 620451841 635082046 94685914 952691989
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnkiWebView Inspector ['31746032', 2023-06-28T05:26, 'None', '']
Colorful Tags Hierarchical Tags ['594329229', 2022-09-16T01:06, 'None', '']
Exam Notifier ['236593452', 2025-02-01T23:20, 'None', mod]
Life Drain ['715575551', 2024-12-03T17:44, 'None', mod]
Opening the same window multiple time ['354407385', 2023-11-05T12:59, 'None', '']
Progress bar - Visualize reviewed cards and remaining Fixed by Shige ['1708250053', 2024-11-11T07:00, 'None', mod]
Rearrange home addons Created by Shige ['1797615099', 2024-08-28T04:00, 'None', mod]
Review Heatmap ['1771074083', 2022-06-30T11:43, 'None', '']

Thinking

Search
Found 0 results for ‘tags:official optional tag suggestions UniMelb reset optional tag group category::person_raising_hand: Support order:latest_topic max_posts:20 status:open’

Thanks for all the details and screenshots—that helps a lot.

It looks like two separate things are happening:

  1. The old optional tag (“UniMelb”) is cached locally, so it still appears in the Optional Tag Suggestions dialog even though it was removed from your AnkiHub profile.
  2. Resetting the optional tag group triggers an Anki/AnkiHub background task that never completes properly, which is why Anki “freezes” and you get the traceback.

Because this involves internal AnkiHub state and a likely bug with the reset feature on Anki 25 / Python 3.13, there’s unfortunately nothing you can safely fix just by editing tags in your collection.

Here’s what I’d suggest next:


1. Provide a full AnkiHub debug log

This will let the devs see exactly what’s happening when Anki tries to reset that group.

  1. In Anki, go to:
    AnkiHub → Help → Copy debug info (or similar menu entry).
  2. Paste that info as a reply in your topic (in addition to the traceback you already posted).

2. Confirm a few details (for the devs)

Please reply with:

  1. Deck(s) affected: Is this only on a specific AnkiHub deck (e.g., AnKing Overhaul) or multiple decks?
  2. Whether UniMelb ever had its own optional-tag group on AnkiHub (e.g., did you at some point submit it as an optional tag group, or was it only a one‑off local tag that got picked up?).
  3. Whether you:
    • Removed all AnkiHub_Optional::UniMelb tags from cards (you seem to have, based on the screenshot).
    • Have ever changed your AnkiHub username or institution/optional-tag settings after Brain removed the tag.

3. Temporary workaround ideas

These may or may not help, but are worth trying while waiting on a fix:

  1. New temporary profile test

    • Create a new Anki profile (File → Switch Profile → Add).
    • Install only AnkiHub there, log in, and sync the same shared deck.
    • Check if Optional Tag Suggestions in this clean profile still shows “UniMelb”.
    • Report the result in the thread.
    • If it does not show there, that confirms it’s a local/cached state in your main profile.
  2. Disable other add-ons during reset attempt

    • In your main profile, hold Shift while starting Anki to disable all add-ons.
    • Then enable only AnkiHub.
    • Try AnkiHub → Reset an optional tag group again and see whether it still freezes.
    • If it still does, mention that in your reply.

(Please don’t delete/rename any AnkiHub folders or config manually—that can cause more issues.)


From your description, this is very likely a bug with how AnkiHub stores optional-tag suggestions or with the reset operation on the latest Anki version. The next step really is for a dev (probably @Brain again) to look at your debug info and possibly clear or repair the server-side record for that group.

If you post the debug info and answers to the questions above, it should give them exactly what they need to reproduce and fix it.

This is a bug in the add-on. For now, you can unsubscribe from the deck (from AnkiHub > Deck Management) then subscribe to it from the website and sync again to work around it.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.