Sakcjn

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

Error message (don't change this)
Anki 24.04.1 (ccd9ca1a)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.3.2-x86_64-i386-64bit

Traceback (most recent call last):

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

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

  File "aqt.taskman", line 106, in wrapped_done

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

  File "/Users/arafabbas/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 92, in on_subscriptions_fetched
    sync_state.schema_before_new_decks_installation = collection_schema()

  File "/Users/arafabbas/Library/Application Support/Anki2/addons21/1322529746/main/utils.py", line 704, in collection_schema
    return aqt.mw.col.db.scalar("select scm from col")

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

Sentry link (for developers)

Try syncing with AnkiWeb by clicking the Sync button before closing Anki.