helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
807 stars 58 forks source link

Abiword: en: not a valid language tag #497

Open karthik-holla opened 1 year ago

karthik-holla commented 1 year ago

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

probonopd commented 1 year ago

@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
louies0623 commented 1 year ago

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.

karthik-holla commented 1 year ago

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`

probonopd commented 1 year ago

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

karthik-holla commented 1 year ago

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

probonopd commented 1 year ago

Interesting. The root cause seems to be:

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

probonopd commented 1 year ago

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