ISO icon indicating copy to clipboard operation
ISO copied to clipboard

Abiword: en: not a valid language tag

Open karthik-holla opened this issue 1 year ago • 7 comments

Installed Abiword on Hellosystem-0.8.2 (Build 0H345) and I am getting this following error.

Fontconfig warning: ignoring LANG="en: not a valid language tag (LANG="en_US.UTF-8" MM_CHARSET="en_US.UTF-8" TZ="America/New_York" en_US.UTF-8 echo -n 'LANG="en_US.UTF-8" MM_CHARSET="en_US.UTF-8" TZ="America/New_York" ' | sudo -A -E tee /usr/local/var/localize/include)

(process:3017): Gtk-WARNING **: 14:29:19.196: Locale not supported by C library. Using the fallback 'C' locale. zsh: abort abiword

karthik-holla avatar Jul 26 '23 14:07 karthik-holla

@karthik-holla Please open a terminal and give me the output of:

cat /usr/local/var/localize/include

and

env | grep -e '^LANG' -e '^MM' -e '^TZ'

Mine are:

% cat /usr/local/var/localize/include    
LANG="de_DE.UTF-8"
MM_CHARSET="de_DE.UTF-8"
TZ="Europe/Berlin"

% env | grep -e '^LANG' -e '^MM' -e '^TZ'
LANG=de_DE.UTF-8
LANGUAGE=
MM_CHARSET=de_DE.UTF-8
TZ=Europe/Berlin

probonopd avatar Jul 26 '23 18:07 probonopd

image I have a problem. I choose normally, but the language selected in the system language menu is not the language I want (English is displayed when Chinese is selected) Build 0H345.

louies0623 avatar Jul 27 '23 01:07 louies0623

The output of the command cat /usr/local/var/localize/include is cat: /usr/local/var/localize/include: No such file or directory and the output of env | grep -e '^LANG' -e '^MM' -e '^TZ' LANG=en_US.UTF-8 MM_CHARSET="en_US.UTF-8" TZ="America/New_York" LANGUAGE= MM_CHARSET=UTF-8`

karthik-holla avatar Jul 27 '23 12:07 karthik-holla

LANG=en_US.UTF-8 looks correct to me; Abiword can't handle it?

probonopd avatar Jul 27 '23 13:07 probonopd

And each time I boot my system (which is installed to a ssd) I get this IMG20230727183316 IMG20230727183324 IMG20230727184819

karthik-holla avatar Jul 28 '23 01:07 karthik-holla

Interesting. The root cause seems to be:

Writing to /usr/local/var/localize/include failed

probonopd avatar Jul 28 '23 09:07 probonopd

Looks like we tried to write a file to a directory that did not exist yet. The next ISO build should hopefully fix this.

probonopd avatar Jul 28 '23 09:07 probonopd