I don't know what this is, help please

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

Error message (don't change this)
Anki 24.11 (87ccd24e)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.5-arm64-arm-64bit

Traceback (most recent call last):

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

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

  File "aqt.operations", line 253, in wrapped_done

  File "/Users/nuhamemulugeta/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 60, in on_failure
    raise exception

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

  File "aqt.operations", line 243, in wrapped_op

  File "/Users/nuhamemulugeta/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 64, in <lambda>
    op=lambda _: self._update_deck_media_and_download_missing_media(),

  File "/Users/nuhamemulugeta/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 142, in _update_deck_media_and_download_missing_media
    self._client.download_media(missing_media_names, ah_did)

  File "/Users/nuhamemulugeta/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 531, in download_media
    media_path = media_dir_path / media_name

TypeError: unsupported operand type(s) for /: 'NoneType' and 'str'

Sentry link (for developers)

Please ensure you are on the latest version of Anki. You can download it here: https://apps.ankiweb.net/. After downloading, simply run the downloaded file to update your application.

Next, please update the AnkiHub add-on:

  1. On your Anki main screen, go to Tools > Add-ons > Check for Updates.
  2. After the update is complete, please restart Anki.

Let us know if the issue persists after trying these steps. :blush: