Add on update not working

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 25.02.4 (a5c33ad0)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.26200

Traceback (most recent call last):

  File "aqt.taskman", line 144, in _on_closures_pending

  File "aqt.taskman", line 88, in <lambda>

  File "decorator", line 232, in fun

  File "anki.hooks", line 92, in decorator_wrapper

  File "anki.hooks", line 89, in repl

  File "C:\Users\akang\AppData\Roaming\Anki2\addons21\1322529746\gui\addons.py", line 35, in _check_future_for_exceptions
    _old(*args, **kwargs)

  File "aqt.addons", line 1257, in _download_done

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "concurrent.futures.thread", line 58, in run

  File "aqt.addons", line 1234, in <lambda>

  File "aqt.addons", line 1250, in _download_all

  File "aqt.addons", line 1195, in download_and_install_addon

  File "aqt.addons", line 474, in install

  File "aqt.addons", line 498, in _install

  File "aqt.addons", line 745, in backupUserFiles

PermissionError: [WinError 5] Access is denied: 'C:\\Users\\akang\\AppData\\Roaming\\Anki2\\addons21\\1468920185\\user_files' -> 'C:\\Users\\akang\\AppData\\Roaming\\Anki2\\addons21\\files_backup'

Sentry link (for developers)

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

Hi Marcos Zan thanks for supporting users. I added a new workaround for this issue in a recent update so if it works as expected this error should not occur in the future. (this change will only take effect in the new version so this error may still occur when the user updates an older version of the add-on, I think some add-on users may continue to use older versions instead of updating immediately.)

2 Likes

Hi, that’s great! Thank you for letting me know!