Issue 6: mdvinput: crash for locales fi, no, ro
Status:  New
Owner: ----
Reported by loginov.alex.valer@gmail.com, Jul 23, 2014
What steps will reproduce the problem?
1.
export LANGUAGE=fi_FI.UTF-8:fi; mdvinput
2.
WARNING: No translations found for your language, using default
Traceback (most recent call last):
  File "/usr/lib/mdvinput/mdvinput.py", line 46, in <module>
    gettext.install(APP, DIR)
  File "/usr/lib/python2.7/gettext.py", line 495, in install
    t = translation(domain, localedir, fallback=True, codeset=codeset)
  File "/usr/lib/python2.7/gettext.py", line 480, in translation
    t = _translations.setdefault(key, class_(fp))
  File "/usr/lib/python2.7/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib/python2.7/gettext.py", line 339, in _parse
    tmsg = unicode(tmsg, self._charset)
LookupError: unknown encoding: CHARSET

Jul 23, 2014
#1 loginov.alex.valer@gmail.com
There is patch in attachment

mdvinput-1.6.2-mga-charset-locales.patch
1.3 KB   Download