Hi, saw this reported in reviews on the anki page, but I didn't see it here.
On Anki 2.1.55, macbook pro 15", mid-2015, MacOS Monterey 12.6.2
Opening Anki returns this error and it fails to open:
Traceback (most recent call last): File "aqt.main", line 179, in init File "aqt.main", line 228, in finish_ui_setup File "aqt.toolbar", line 48, in draw File "aqt.toolbar", line 133, in _centerLinks File "_aqt.hooks", line 4714, in call File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\stats.py", line 69, in on_top_toolbar_did_init_links name, details = getStatsLink() File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\stats.py", line 52, in getStatsLink d = loadStats() File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\stats.py", line 19, in loadStats f = gzip.open(getStatsPath()) File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\stats.py", line 14, in getStatsPath def getStatsPath(): return cfg('path_stats') File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\preferences.py", line 26, in get_preference return _get_config_py_preference(key, model_id, deck_id) File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\preferences.py", line 71, in _get_config_py_preference if key in config_py.deck_overrides.get(deck, []): AttributeError: 'NoneType' object has no attribute 'deck_overrides'
Hi, saw this reported in reviews on the anki page, but I didn't see it here.
On Anki 2.1.55, macbook pro 15", mid-2015, MacOS Monterey 12.6.2 Opening Anki returns this error and it fails to open:
Traceback (most recent call last): File "aqt.main", line 179, in init File "aqt.main", line 228, in finish_ui_setup File "aqt.toolbar", line 48, in draw File "aqt.toolbar", line 133, in _centerLinks File "_aqt.hooks", line 4714, in call File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\stats.py", line 69, in on_top_toolbar_did_init_links name, details = getStatsLink() File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\stats.py", line 52, in getStatsLink d = loadStats() File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\stats.py", line 19, in loadStats f = gzip.open(getStatsPath()) File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\stats.py", line 14, in getStatsPath def getStatsPath(): return cfg('path_stats') File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\preferences.py", line 26, in get_preference return _get_config_py_preference(key, model_id, deck_id) File "C:\Users{user}\AppData\Roaming\Anki2\addons21\1032435232\morph\preferences.py", line 71, in _get_config_py_preference if key in config_py.deck_overrides.get(deck, []): AttributeError: 'NoneType' object has no attribute 'deck_overrides'
Thank you!