I even don't understand what the problem is

I recently started using Anki app, and I got some notification that there’s an error when I uploaded my decks in Ankiweb, which I can’t totally understand…

Error message (don't change this)
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.2 PyQt 6.5.2
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2025-04-04 16:13:59

Traceback (most recent call last):

  File "aqt.main", line 274, in on_focus_changed

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

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 238, in refresh_ui_and_start_after_sync_tasks_once
    aqt.mw.reset()

  File "aqt.main", line 823, in reset

  File "aqt.main", line 775, in _synthesize_op_did_execute_from_reset

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

  File "aqt.main", line 787, in on_operation_did_execute

  File "aqt.deckbrowser", line 89, in op_executed

  File "aqt.deckbrowser", line 80, in refresh_if_needed

  File "aqt.deckbrowser", line 75, in refresh

  File "aqt.deckbrowser", line 148, in _renderPage

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

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

  File "C:\Users\Admin\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\Admin\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\Admin\AppData\Roaming\Anki2\addons21\1771074083\renderer.py", line 145, in render
    if self._render_cache and self._cache_still_valid(

  File "C:\Users\Admin\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 80, in __getattr__

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

Sentry link (for developers)

Hello,

The issue is most likely coming from the heat map add-on, try the following

  1. Update to the latest version of Anki (your version is currently outdated), you can update through here: https://apps.ankiweb.net/
  2. After you install the new version of Anki. Go to tools in the top left → addons → get updates