You are not logged in.

#1 2012-11-14 08:11:26

hafron
Member
Registered: 2012-07-03
Posts: 5

[Anki]Error after upgrading to 2.0

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

#2 2013-10-13 18:25:37

Vufer
Member
Registered: 2012-03-15
Posts: 8

Re: [Anki]Error after upgrading to 2.0

Same problem...

Offline

#3 2013-10-13 18:52:10

Vufer
Member
Registered: 2012-03-15
Posts: 8

Re: [Anki]Error after upgrading to 2.0

removing ~/Anki/prefs.db and now it working smile

Offline

Board footer

Powered by FluxBB