Ankihub add on keeps showing error

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

Error message (don't change this)
Anki 24.06.3 (d678e393)  (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 142, in _on_closures_pending

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

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

  File "C:\Users\Daniyal K\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 64, in on_failure
    raise exception

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

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

  File "C:\Users\Daniyal K\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 68, in <lambda>
    op=lambda _: self._update_deck_media_and_download_missing_media(),

  File "C:\Users\Daniyal K\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 146, in _update_deck_media_and_download_missing_media
    self._client.download_media(missing_media_names, ah_did)

  File "C:\Users\Daniyal K\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 575, in download_media
    media_path = media_dir_path / media_name

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

Sentry link (for developers)

Hello,

You are not 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.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.