Public bug reported:

Gaphor crashes on launch. 
Extract of the call stack : 
File "/usr/lib/python2.7/dist-packages/gaphor/core.py", line 10, in <module>
    from gaphor.i18n import _
  File "/usr/lib/python2.7/dist-packages/gaphor/i18n.py", line 18, in <module>
    catalog = gettext.Catalog('gaphor', localedir=localedir)
  File "/usr/lib/python2.7/gettext.py", line 493, 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 337, in _parse
    tmsg = unicode(tmsg, self._charset)
LookupError: unknown encoding: CHARSET

I found a similar bug here: 
https://bugzilla.redhat.com/show_bug.cgi?id=541523

It told the problem was with my LANG value: 
$ echo $LANG
fr_FR.UTF-8

Calling Gaphor with : 
$ LANG=en_EN.UTF-8 gaphor

gives: 
(process:6719): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

but works.

** Affects: gaphor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1129135

Title:
  Gaphor crashes on launch on french ubuntu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gaphor/+bug/1129135/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to