Re-opened Anki and there was this error

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

Error message (don't change this)
Anki 25.02.7 (1b882285)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.6-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/nlachhwani/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 63, in on_failure
    self._download_in_progress = False

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

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

  File "/Users/nlachhwani/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 67, in <lambda>
    parent=aqt.mw,

  File "/Users/nlachhwani/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 135, in _update_deck_media_and_download_missing_media
    self._update_deck_media(ankihub_did=ah_did)

  File "/Users/nlachhwani/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 211, in _missing_media_for_ah_deck

  File "/Users/nlachhwani/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 194, in _media_referenced_by_notes
    try:

AttributeError: 'NoneType' object has no attribute 'get_note'

Sentry link (for developers)

Hello,

  • Update your Anki. You can download it here: https://apps.ankiweb.net/. After downloading, simply run the downloaded file to update your application.

  • Update your 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 error happens again.