Loading the app

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

Error message (don't change this)
Anki 25.02 (038d85b1)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-26.5.2-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.taskman", line 108, in wrapped_done

  File "aqt.sync", line 127, in on_future_done

  File "decorator", line 232, in fun

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

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

  File "/Users/grantschutte/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 390, in _upload_if_full_sync_triggered_by_ankihub
    aqt.sync.full_upload(mw, server_usn, on_done)

  File "aqt.sync", line 288, in full_upload

  File "aqt.taskman", line 110, in with_progress

  File "aqt.taskman", line 71, in run_in_background

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

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

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

  File "aqt.deckbrowser", line 171, in success

  File "aqt.deckbrowser", line 185, in __renderPage

  File "decorator", line 232, in fun

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

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

  File "/Users/grantschutte/Library/Application Support/Anki2/addons21/1556734708/mds_time_left.py", line 82, in renderStats
    cards, thetime   = self.mw.col.db.first("""select count(), sum(time)/1000 from revlog where id > ?""", query_time_param * 1000)

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

Sentry link (for developers)

Hello,

Please update Anki and your AnkiHub add-on:

You can download the latest version of Anki here: https://apps.ankiweb.net/. After downloading it, simply run the file to update the application.

Here is how to update your AnkiHub add-on:

  1. From the Anki main screen, go to Tools > Add-ons > Check for Updates.

  2. Once the update is complete, restart Anki.

Let us know if you continue to experience this issue!