You are not logged in.
Several day ago I upgraded anki to version 2.0 after the first run it was trying to upgrade old decks but after 6 hours of waiting I resigned and killed the process. Now when I try to run anki, I get the following error message:
Traceback (most recent call last):
File "/usr/bin/anki", line 15, in <module>
aqt.run()
File "/usr/share/anki/aqt/__init__.py", line 214, in run
setupLang(pm, app, opts.lang)
File "/usr/share/anki/aqt/__init__.py", line 90, in setupLang
'ankiqt', dir, languages=[lang], fallback=True)
File "/usr/lib/python2.7/gettext.py", line 465, in translation
mofiles = find(domain, localedir, languages, all=1)
File "/usr/lib/python2.7/gettext.py", line 437, in find
for nelang in _expand_lang(lang):
File "/usr/lib/python2.7/gettext.py", line 132, in _expand_lang
locale = normalize(locale)
File "/usr/lib/python2.7/locale.py", line 358, in normalize
fullname = localename.translate(_ascii_lower_map)
AttributeError: 'NoneType' object has no attribute 'translate'
I think that something is wrong with my language settings but I have no idea what. Can you help me?
Offline
Same problem...
Offline
removing ~/Anki/prefs.db and now it working ![]()
Offline