Bulk suggest new tags

Before the error happened, I was…
Bulk suggest notes with new tags

Error message (don't change this)
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 5.14.2 PyQt 5.14.1
Platform: macOS-13.4-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-06-01 12:41:10

Traceback (most recent call last):

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

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

  File "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 61, in <lambda>
    on_done=lambda future: self._on_upload_finished(

  File "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 84, in _on_upload_finished
    future.result()

  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 "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 60, in <lambda>
    lambda: AddonAnkiHubClient().upload_assets(media_paths, ankihub_did),

  File "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 403, in upload_assets
    future.result()

  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 "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 432, in _zip_and_upload_assets_chunk
    os.remove(zip_filepath)

FileNotFoundError: [Errno 2] No such file or directory: '/Users/alexnahon/Library/Application Support/Anki2/Alex/collection.media/4e64f80b-a871-4125-8203-bee90324a18f_0_deck_assets_part.zip'

Sentry link (for developers)

Thanks, @alexmed! We’ll look into this and get back to you ASAP!

1 Like

Sorry for the late response. Did this error occur again?

1 Like

Hi, yes this continues to happen with almost every Bulk Suggestion.

Error message (don't change this)
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 5.14.2 PyQt 5.14.1
Platform: macOS-13.4.1-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-07-05 20:12:27

Traceback (most recent call last):

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

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

  File "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 61, in <lambda>
    on_done=lambda future: self._on_upload_finished(

  File "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 84, in _on_upload_finished
    future.result()

  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 "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 60, in <lambda>
    lambda: AddonAnkiHubClient().upload_media(media_paths, ankihub_did),

  File "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 403, in upload_media
    future.result()

  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 "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 432, in _zip_and_upload_media_chunk
    os.remove(zip_filepath)

FileNotFoundError: [Errno 2] No such file or directory: '/Users/alexnahon/Library/Application Support/Anki2/Alex/collection.media/4e64f80b-a871-4125-8203-bee90324a18f_0_deck_assets_part.zip'

Sentry link (for developers)

I saw that there was an update for the add-on, and I am still getting this error:

Error message (don't change this)
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 5.14.2 PyQt 5.14.1
Platform: macOS-13.4.1-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-07-06 20:48:42

Traceback (most recent call last):

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

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

  File "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 61, in <lambda>
    on_done=lambda future: self._on_upload_finished(

  File "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 84, in _on_upload_finished
    future.result()

  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 "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 60, in <lambda>
    lambda: AddonAnkiHubClient().upload_media(media_paths, ankihub_did),

  File "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 403, in upload_media
    future.result()

  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 "/Users/alexnahon/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 432, in _zip_and_upload_media_chunk
    os.remove(zip_filepath)

FileNotFoundError: [Errno 2] No such file or directory: '/Users/alexnahon/Library/Application Support/Anki2/Alex/collection.media/4e64f80b-a871-4125-8203-bee90324a18f_0_deck_assets_part.zip'

Sentry link (for developers)

Sorry for the late response. Are you still getting this error? It should have been fixed in one of the recent updates.