Closed mikelpr closed 5 months ago
What happens if you run LC_ALL=C flatpak run net.jami.Jami
?
or LC_ALL=C LANGUAGE= flatpak run net.jami.Jami
I'm experiencing exactly the same error with the latest flatpak. Yes setting LC_ALL to C works around the problem.
I need some more information:
locale
I'm using Debian 12 Bookworm.
$ locale LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LC_CTYPE="en_GB.UTF-8" LC_NUMERIC=nl_BE.utf8 LC_TIME=nl_BE.utf8 LC_COLLATE="en_GB.UTF-8" LC_MONETARY=nl_BE.utf8 LC_MESSAGES="en_GB.UTF-8" LC_PAPER=nl_BE.utf8 LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT=nl_BE.utf8 LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL=
For comparison, this is what I get when starting another Flatpak application which does not fail:
$ flatpak run com.github.tchx84.Flatseal
(com.github.tchx84.Flatseal:2): Gtk-WARNING **: 11:34:17.199: Locale not supported by C library.
Using the fallback 'C' locale.
I think your locale settings are misconfigured. You should update it like described in the wiki. You have to enable all the locales you see in the output of locale
with sudo dpkg-reconfigure locales
.
And please report upstream that a misconfigured locale can crash Jami and isn't falling back to C
like Flatseal.
My locale settings are correctly set up in my host system using dpkg-reconfigure locales. I guess the problem is that this locale is not included in the flatpak environment.
I can proof this by starting gnome-text-editor (installed from the Debian package) using my set up locale, and by starting it up with an unconfigured locale:
frederik@piranha:~$ gnome-text-editor
frederik@piranha:~$ LC_ALL=dk_DK gnome-text-editor
(gnome-text-editor:20498): Gtk-WARNING **: 12:42:44.353: Locale not supported by C library.
Using the fallback 'C' locale.
Notice that there is no error when starting with my configured locale.
I will open a bug report for Jami.
You can also look into this bug report, it shows how to add languages to flatpak.
here be stdout of running
flatpak run net.jami.Jami