Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anki Crash on Startup #288

Open
menyagalaxy opened this issue Feb 17, 2023 · 0 comments
Open

Anki Crash on Startup #288

menyagalaxy opened this issue Feb 17, 2023 · 0 comments

Comments

@menyagalaxy
Copy link

menyagalaxy commented Feb 17, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant