[Bug 353608] Re: Klavaro crashes on startup (jaunty-beta)

Elie De Brauwer elie at de-brauwer.be
Sat Jun 27 19:52:52 UTC 2009


imo the quick fix is as follows, when I look in the current code the
error traces back to translation.c line 273 which says:

(gdb) run
Starting program: /tmp/klavaro-1.1.8/src/klavaro 
[Thread debugging using libthread_db enabled]
[New Thread 0xb70fe730 (LWP 7135)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb70fe730 (LWP 7135)]
0x0807670c in trans_set_combo_language () at translation.c:273
273		if (strcmp (tmp_code, "eo_XX") == 0)

or

	tmp_code = main_preferences_get_string ("interface", "language");
	if (tmp_code != NULL && strcmp (tmp_code, "eo_XX") == 0)

or basicly, the translation has failed, probably because my locale is
not known by he system. Luckily the ./configure says which locales are
known:

checking for catalogs to be installed...  bn_BD cs_CZ de_DE en_GB eo
es_ES fr_FR hu_HU nl_BE nl_NL pl_PL pt_BR ru_RU sv_SE ur_PK vi_VN

So I think the quick fix consists out of setting your $LANG environment
variable to one of those listed above:

edb at lapedb:~$ echo $LANG
en_US.UTF-8
edb at lapedb:~$ LANG=en_GB
edb at lapedb:~$ klavaro

and tada, klavaro appears.

At this point klavaro has written a file ~/.klavaro/preferences.ini and
you as long as this file is there it will always start (no matter what
the contents of $LANG is).  (One other thing I found out, it doesn't
seem to matter what the contents of LANG is, as long as it's not
something that makes sense ....)

-- 
Klavaro crashes on startup (jaunty-beta)
https://bugs.launchpad.net/bugs/353608
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list