Title?

**Before the error happened, I was…**syncing my deck

Error message (don't change this)
Anki 25.02.1 (234fa0c2)  (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 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 "C:\Users\dille\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 318, 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 187, in __renderPage

  File "_aqt.hooks", line 1837, in __call__

  File "C:\Users\dille\AppData\Roaming\Anki2\addons21\1771074083\views.py", line 81, in on_deckbrowser_will_render_content
    heatmap_html = self._controller.render_for_view(self._view)

  File "C:\Users\dille\AppData\Roaming\Anki2\addons21\1771074083\controller.py", line 77, in render_for_view
    return self._renderer.render(view, limhist, limfcst, current_deck_only)

  File "C:\Users\dille\AppData\Roaming\Anki2\addons21\1771074083\renderer.py", line 145, in render
    if self._render_cache and self._cache_still_valid(

  File "C:\Users\dille\AppData\Roaming\Anki2\addons21\1771074083\renderer.py", line 205, in _cache_still_valid
    col_unchanged = self._mw.col.mod == cache.col_mod  # type: ignore

  File "anki._legacy", line 81, in __getattr__

AttributeError: 'Collection' object has no attribute 'mod'

Sentry link (for developers)

Hello,

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

Next, please go to Tools > Check Database.

This issue is related to the Review Heatmap add-on. Try disabling it and see if the issue persists.

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