Error When Updating Anki

The category for general support questions related to using AnkiHub.

Things not to ask about here:

Please include supporting information and documents such as screenshots, recordings, etc.

Thank you for reaching out! Our moderators have been notified and will assist you shortly. In the meantime, you can get an instant response from me simply by @ mentioning my username`. Alternatively, start a private conversation with me (see screenshot below). If you ask me a question, I will do my best to respond using only verified information found in the official AnkiHub docs and the Anki manual.

You can also find answers to common questions in our FAQ and Docs.

Thinking

Search
Found 1 result for ‘tags:official Error When Updating Anki order:latest_topic max_posts:20 status:open’

This topic is meant for you to describe your specific problem so we can help, not to restate the category description.

To get support with your “Error When Updating Anki”, please reply here with:

  1. Exact error message

    • Copy/paste the text of the error or upload a screenshot of the error dialog.
  2. Your setup

    • Anki version (e.g., 23.12)
    • AnkiHub add-on version (from Tools → Add-ons → AnkiHub → View Files)
    • Operating system (Windows / macOS / Linux + version)
  3. What you were doing when it happened

    • For example: “I updated Anki from 23.10 to 23.12 and then tried to sync AnkiHub,” or “Error appears as soon as I open Anki.”
  4. Other add-ons

    • List any other add-ons you’re using, especially sync- or deck-related ones.

Once you share that info, I can help you figure out whether:

  • The error is caused by using an unsupported Anki version with AnkiHub, or
  • There’s a known compatibility issue with another add-on, or
  • Something needs to be fixed in your local Anki/AnkiHub setup.

If your question ends up being only about Anki itself (and not AnkiHub), the best place is the Anki Support Forum. But if AnkiHub is involved at all, post the details above here and we’ll troubleshoot with you.

Hello,

Could you please specify exactly what issue you are facing? Screenshots would help us understand it better.

Hello,
When I open the desktop Anki app I am prompted to update with the message pictured.

It loads and then shows the following screen:
Anki 25.09.2 (3890e12c) (ao)

Python 3.13.5 Qt 6.9.1 PyQt 6.9.1

Platform: Windows-11-10.0.26200-SP0

Traceback (most recent call last):

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py”, line 152, in raise_exception

raise exception

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py”, line 148, in _on_closures_pending

closure()

~~~~~~~^^

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py”, line 88, in

lambda future: self.run_on_main(lambda: on_done(future))

~~~~~~~^^^^^^^^

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\decorator.py”, line 235, in fun

return caller(func, *(extras + args), **kw)

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\anki\hooks.py”, line 91, in decorator_wrapper

return repl(*args, **kwargs)

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\anki\hooks.py”, line 88, in repl

return new(_old=old, *args, **kwargs)

File “C:\Users\nefel\AppData\Roaming\Anki2\addons21\1322529746\gui\addons.py”, line 35, in _check_future_for_exceptions

_old(*args, **kwargs)

~~~~^^^^^^^^^^^^^^^^^

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\addons.py”, line 1276, in _download_done

future.result()

~~~~~~~~~~~~~^^

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 449, in result

return self.__get_result()

~~~~~~~~~~~~~~~~~^^

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 401, in __get_result

raise self._exception

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\thread.py”, line 59, in run

result = self.fn(*self.args, **self.kwargs)

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\addons.py”, line 1253, in

lambda: self._download_all(force_enable), self._download_done

~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\addons.py”, line 1269, in _download_all

download_and_install_addon(

~~~~~~~~~~~~~~~~~~~~~~~~~~^

self.mgr, self.client, id, force_enable=force_enable

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

)

^

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\addons.py”, line 1214, in download_and_install_addon

result2 = mgr.install(

io.BytesIO(result.data), manifest=manifest, force_enable=force_enable

)

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\addons.py”, line 474, in install

self._install(package, zfile)

~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\addons.py”, line 498, in _install

self.backupUserFiles(module)

~~~~~~~~~~~~~~~~~~~~^^^^^^^^

File “C:\Users\nefel\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\addons.py”, line 745, in backupUserFiles

os.rename(p, self._userFilesBackupPath())

~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

PermissionError: [WinError 5] Access is denied: ‘C:\\Users\\nefel\\AppData\\Roaming\\Anki2\\addons21\\1468920185\\user_files’ → ‘C:\\Users\\nefel\\AppData\\Roaming\\Anki2\\addons21\\files_backup’

Hello,

This error comes from the Anki Terminator V2 add-on: https://ankiweb.net/shared/info/1468920185

Please try this solution from the creator of the add-on: Anki Terminator V2 error on update - #3 by shigeyuki

2 Likes