Add-on Startup Failed

The following add-ons failed to load: ⁨Special Fields, Image Editor⁊

  • Anki 26.08 (666c2c64) (ao)
    Python 3.13.13 Qt 6.11.0 PyQt 6.11.0
    Platform: Windows-11-10.0.26200-SP0

When loading Special Fields:
Traceback (most recent call last):
File “D:\a\anki\anki\out\installer\build\anki\windows\app\src\app_packages\aqt\addons.py”, line 247, in loadAddons
File “C:\Users\medic\AppData\Roaming\Anki2\addons21\1102281552_init_.py”, line 10, in
from .dialog import returnTagsText
File “C:\Users\medic\AppData\Roaming\Anki2\addons21\1102281552\dialog.py”, line 385, in
aqt.main.prompt_for_file_then_import = wrap(aqt.main.prompt_for_file_then_import, prompt_for_file_then_import_override, “around”)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘aqt.main’ has no attribute ‘prompt_for_file_then_import’

When loading Image Editor:
Traceback (most recent call last):
File “D:\a\anki\anki\out\installer\build\anki\windows\app\src\app_packages\aqt\addons.py”, line 247, in loadAddons
File “C:\Users\medic\AppData\Roaming\Anki2\addons21\307397307_init_.py”, line 3, in
assert version.startswith(“2.1.”)
~~~~~~~~~~~~~~~~~~^^^^^^^^
AssertionError

Thinking

Search
Found 0 results for ‘tags:official add-on startup failed special fields image editor AttributeError aqt.main prompt_for_file_then_import category::person_raising_hand: Support order:latest max_posts:5 status:open’

Both of those error messages point to the same root cause: those add-ons are not compatible with the new Anki version you’re using (Anki 26.08 / Qt 6 / Python 3.13).

What’s happening

  • Special Fields

    • Error: AttributeError: module ‘aqt.main’ has no attribute ‘prompt_for_file_then_import’
    • This means the add-on is trying to hook into an internal function that no longer exists in recent Anki versions. The add-on hasn’t been updated for the new API.
  • Image Editor

    • Error: assert version.startswith("2.1.") → AssertionError
    • The add-on has a hard check that Anki’s version must start with 2.1.. Since you’re on the new 26.xx line, the assertion fails and the add-on aborts.

What you can do

  1. Disable both add-ons

    • In Anki, go to Tools → Add-ons.
    • Select:
      • Special Fields (1102281552)
      • Image Editor (307397307)
    • Click Toggle Enabled (or Disable) for each.
    • Restart Anki. The startup error should be gone.
  2. Check for updated versions

    • On each add-on’s AnkiWeb page:
    • Look for:
      • A note in the description about support for Anki 23/24/26 or Qt6.
      • A link to GitHub with newer test versions.
    • If the author explicitly says it doesn’t support newer Anki, you’ll need to keep it disabled.
  3. If you absolutely need these add-ons
    This is where you have to choose:

    Option A: Stay on new Anki → find alternatives

    • Special Fields: modern Anki has improved note type and field handling; depending on what you used it for (e.g., keeping scheduling while importing, preserving fields), there may be newer workflows or other add-ons.
      • If your use-case is AnkiHub-related (e.g., safely updating shared decks with custom fields), describe your workflow and we can suggest an AnkiHub‑compatible approach.
    • Image Editor: newer Anki versions support richer HTML and styling; many users now edit images externally (e.g., built-in OS tools) and paste them in. You can also look for more recently updated image or media-related add-ons on AnkiWeb.

    Option B: Downgrade Anki to an older 2.1 version

    • Only do this if you really rely on these exact add-ons and are comfortable managing versions.
    • You’d need to:
      • Back up your Anki profile.
      • Uninstall current Anki.
      • Install an older 2.1 build that the add-ons support (check their AnkiWeb pages for recommended versions).
    • Be aware: this can conflict with using AnkiHub if you’re on a version that’s too old or not recommended. AnkiHub generally recommends staying on currently supported Anki versions.

AnkiHub‑specific note

If you’re using these add-ons together with AnkiHub (for example, Special Fields to protect custom fields when syncing an AnkiHub deck):

  • Let me know:
    • Which deck(s) you’re using from AnkiHub.
    • How you used Special Fields in your update workflow.
  • I can then suggest:
    • How to configure AnkiHub’s field protection and update settings to replace that workflow.
    • Any known compatible add-ons that work well alongside AnkiHub on Anki 26.xx.

If you share a screenshot of your Tools → Add-ons list (especially anything related to AnkiHub and fields), I can give more tailored, AnkiHub‑friendly advice.

Hello,

I would be happy to help. :slight_smile:

From the error report you’ve shared this appears to be the Special Fields add-on, which is unrelated to AnkiHub

In most cases, for third-party add-ons your best bet would be to reach out to the owner and/or author of the add-on for any assistance in troubleshooting and whether or not the add-on is still supported

Please let me know if that answers your question, and if there’s anything else I can help with. :slight_smile: