GNU bug report logs - #37479
International locale error

Previous Next

Package: guix;

Reported by: quiliro <at> riseup.net

Date: Sun, 22 Sep 2019 13:45:01 UTC

Severity: normal

To reply to this bug, email your comments to 37479 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37479; Package guix. (Sun, 22 Sep 2019 13:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to quiliro <at> riseup.net:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 22 Sep 2019 13:45:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: quiliro <at> riseup.net
To: "bug-guix" <bug-guix <at> gnu.org>
Subject: International locale error
Date: 1569157588
Hello Guix.

I have had a problem on Guix System for about a month since a reconfigure
and have tried several 'sudo guix system reconfigure config.scm'. But
still cannot solve it. I have tried to include all symptoms in order to
make this report useful.

My user login for Gnome appears as 'Quiliro Ord???ez' instead of Quiliro
Ordóñez.

Only my user quiliro is available for Gnome as Quiliro Ord????ez until I
login on tty1 terminal as user analucia. Then that user appears as Ana
Luc??a Barahona on Gnome.

When I am logged in as user in Gnome and I change to tty1 (with C-M-F1),
if I go back to tty7, I get a new Gnome login. The Gnome session I was on
is on tty8.

My config.scm has been tested with (locale "es_EC.UTF-8") and with (locale
"es_ES.utf8"). I have errors with both. With es_EC.UTF-8, I get English
language displayed, not Spanish on web pages. With es_ES.utf8, I get
Spanish  displayed, but still have the other international character
problems.

I cannot open gnome-session. When I open it via Xfce-terminal it replies
with error:
quiliro <at> GSD3 ~$ gnome-terminal
# Locale not supported by C library.
# 	Using the fallback 'C' locale.
# Error constructing proxy for
org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling
StartServiceByName for org.gnome.Terminal:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
org.gnome.Terminal exited with status 9
quiliro <at> GSD3 ~$

I cannot type characters such as ĝ on C-M-F1 as well as on Xfce-terminal
and Emacs in Gnome. But I can type characters such as ó and ñ. I don't
have that problem on Icecat.

My current locale is es_EC.UTF-8:
quiliro <at> GSD3 ~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=es_EC.UTF-8
LC_CTYPE="es_EC.UTF-8"
LC_NUMERIC="es_EC.UTF-8"
LC_TIME="es_EC.UTF-8"
LC_COLLATE="es_EC.UTF-8"
LC_MONETARY="es_EC.UTF-8"
LC_MESSAGES="es_EC.UTF-8"
LC_PAPER="es_EC.UTF-8"
LC_NAME="es_EC.UTF-8"
LC_ADDRESS="es_EC.UTF-8"
LC_TELEPHONE="es_EC.UTF-8"
LC_MEASUREMENT="es_EC.UTF-8"
LC_IDENTIFICATION="es_EC.UTF-8"
LC_ALL=
quiliro <at> GSD3 ~$

My complete system reconfigure file (config.scm) is:
(use-modules (gnu) (gnu system nss))
(use-service-modules desktop xorg)
(use-package-modules certs gnome)

(operating-system
 (host-name "GSD3")
 (timezone "America/Guayaquil")
 ;; (locale "es_EC.UTF-8")
 (locale "es_ES.utf8")
 (keyboard-layout (keyboard-layout "es" "dvorak"))  ;for the console

 ;; Use the BIOS variant of GRUB
 (bootloader (bootloader-configuration
              (bootloader grub-bootloader)
              (target "/dev/sda")
	      (keyboard-layout keyboard-layout))) ;for GRUB

 (file-systems (append (list
		(file-system
		 (device (uuid "<HIDDEN>"))
		 (mount-point "/")
		 (type "ext4"))
		(file-system
		 (device (uuid "<HIDDEN>"))
		 (mount-point "/home/quiliro/respaldos")
		 (type "ext4")))
                %base-file-systems))

 (swap-devices '("/dev/sda1"))

 (users
  ;; (cons
  (cons*
   (user-account
    (name "quiliro")
    (comment "Quiliro Ordóñez")
    (group "users")
    (supplementary-groups '("wheel" "netdev" "audio" "video"))
    (home-directory "/home/quiliro"))
   (user-account
    (name "analucia")
    (comment "Ana Lucía Barahona")
    (group "users")
    (supplementary-groups '("netdev" "audio" "video"))
    (home-directory "/home/analucia"))
   (user-account
    (name "invitado")
    (comment "Usuario invitado")
    (group "users")
    (supplementary-groups '("netdev" "audio" "video"))
    (home-directory "/home/invitado"))
   %base-user-accounts))

 ;; This is where we specify system-wide packages.
 (packages (append (list
		    nss-certs          ;for HTTPS access
		    gvfs)              ;for user mounts
		   %base-packages))

 ;; Add GNOME and/or Xfce---we can choose at the log-in
 ;; screen with F1.  Use the "desktop" services, which
 ;; include the X11 log-in service, networking with
 ;; NetworkManager, and more.
 (services (append (list
	    (service gnome-desktop-service-type)
            (service xfce-desktop-service-type)
	    (set-xorg-configuration
	     (xorg-configuration             ;for Xorg
	      (keyboard-layout keyboard-layout))))
	    %desktop-services))

 ;; Allow resolution of '.local' host names with mDNS.
 (name-service-switch %mdns-host-lookup-nss))

The command I run as regular user for reconfiguration is:
guix pull
sudo guix system reconfigure config.scm

I can provide more information as needed to solve this bug for
Iberoamerican users.

Happy hacking!
Quiliro





Information forwarded to bug-guix <at> gnu.org:
bug#37479; Package guix. (Sun, 22 Sep 2019 15:14:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: quiliro <at> riseup.net
To: "bug-guix" <bug-guix <at> gnu.org>
Subject: Re: bug#37479: International locale error
Date: Sun, 22 Sep 2019 10:12:48 -0500
Every time I run the guix command, I get an error about locales, even
though i am running Guix System

quiliro <at> GSD3 ~$ guix upgrade
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales'
package and
defining `GUIX_LOCPATH', along these lines:

     guix package -i glibc-utf8-locales
     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
[...]





Information forwarded to bug-guix <at> gnu.org:
bug#37479; Package guix. (Mon, 23 Sep 2019 02:55:01 GMT) Full text and rfc822 format available.

Message #11 received at 37479 <at> debbugs.gnu.org (full text, mbox):

From: quiliro <at> riseup.net
To: 37479 <at> debbugs.gnu.org
Cc: Bengt Richter <bokr <at> bokr.com>
Subject: Re: bug#37479: International locale error
Date: Sun, 22 Sep 2019 21:54:27 -0500
Thank you for your reply, Bengt. I received this email outside of the
mailing list. So I have forwarded it. Below inline I comment.

On Sun, September 22, 2019 3:15 pm, Bengt Richter wrote:
> On +2019-09-22 14:44:57 +0000, quiliro <at> riseup.net wrote:
>> Hello Guix.
>>
>> I have had a problem on Guix System for about a month since a
>> reconfigure
>> and have tried several 'sudo guix system reconfigure config.scm'. But
>> still cannot solve it. I have tried to include all symptoms in order to
>> make this report useful.
>>
>> My user login for Gnome appears as 'Quiliro Ord???ez' instead of Quiliro
>> Ordóñez.
>>
>
> [...]
>
>> I cannot type characters such as ĝ on C-M-F1 as well as on Xfce-terminal
>> and Emacs in Gnome. But I can type characters such as ó and ñ. I don't
>> have that problem on Icecat.
>>
>> My current locale is es_EC.UTF-8:
>> quiliro <at> GSD3 ~$ locale
>> locale: Cannot set LC_CTYPE to default locale: No such file or directory
>> locale: Cannot set LC_MESSAGES to default locale: No such file or
>> directory
>> locale: Cannot set LC_ALL to default locale: No such file or directory
>
> I believe locale should not complain as in the above 3 lines.
> When it stops complaining, I suspect many of the other complaints will
> disappear.
>
> Unfortuantely, I did not make good notes when my locale command produced
> the same errors,
> so take my advice with a grain of salt ;-)
>
> You might want to try running  locale-gen as root -- i.e. sudo locale-gen
> See man locale-gen

It is not available.

> But first, what LANG=... does sudo locale produce for you?
> I would guess it needs to be LANG=es_EC.UTF-8 for you.
>
> If it doesn't show that LANG=, probably locale-gen will need to be told.
> Perhaps something like this would work to invoke locale-gen:
>
> sudo bash
> LANG=es_EC.UTF-8 locale-gen
> # ... locale-gen take a little while to compile stuff ...
> # exit with Ctl-d back to your user cli

quiliro <at> GSD3 ~/Descargas/elisp$ sudo bash
root <at> GSD3 /home/quiliro/Descargas/elisp# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=es_EC.UTF-8
LC_CTYPE="es_EC.UTF-8"
LC_NUMERIC="es_EC.UTF-8"
LC_TIME="es_EC.UTF-8"
LC_COLLATE="es_EC.UTF-8"
LC_MONETARY="es_EC.UTF-8"
LC_MESSAGES="es_EC.UTF-8"
LC_PAPER="es_EC.UTF-8"
LC_NAME="es_EC.UTF-8"
LC_ADDRESS="es_EC.UTF-8"
LC_TELEPHONE="es_EC.UTF-8"
LC_MEASUREMENT="es_EC.UTF-8"
LC_IDENTIFICATION="es_EC.UTF-8"
LC_ALL=
root <at> GSD3 /home/quiliro/Descargas/elisp# LANG=es_EC.UTF-8 locale-gen
bash: locale-gen: command not found
root <at> GSD3 /home/quiliro/Descargas/elisp# exit
quiliro <at> GSD3 ~/Descargas/elisp$ sudo locale-gen
sudo: locale-gen: command not found

>> LANG=es_EC.UTF-8
>> LC_CTYPE="es_EC.UTF-8"
>> LC_NUMERIC="es_EC.UTF-8"
>> LC_TIME="es_EC.UTF-8"
>> LC_COLLATE="es_EC.UTF-8"
>> LC_MONETARY="es_EC.UTF-8"
>> LC_MESSAGES="es_EC.UTF-8"
>> LC_PAPER="es_EC.UTF-8"
>> LC_NAME="es_EC.UTF-8"
>> LC_ADDRESS="es_EC.UTF-8"
>> LC_TELEPHONE="es_EC.UTF-8"
>> LC_MEASUREMENT="es_EC.UTF-8"
>> LC_IDENTIFICATION="es_EC.UTF-8"
>> LC_ALL=
>> quiliro <at> GSD3 ~$
>>
>
> Good luck :)
>
> Regards,
> Bengt Richter

Thank you for your help.
Quiliro





Information forwarded to bug-guix <at> gnu.org:
bug#37479; Package guix. (Mon, 23 Sep 2019 05:09:01 GMT) Full text and rfc822 format available.

Message #14 received at 37479 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Quiliro Ordóñez <quiliro <at> riseup.net>
Cc: 37479 <at> debbugs.gnu.org
Subject: Re: bug#37479: International locale error
Date: Mon, 23 Sep 2019 07:08:19 +0200
[Message part 1 (text/plain, inline)]
Quiliro,

You say that:

quiliro <at> riseup.net 写道:
> My current locale is es_EC.UTF-8:
> quiliro <at> GSD3 ~$ locale
> locale: Cannot set LC_CTYPE to default locale: No such file or 
> directory
> locale: Cannot set LC_MESSAGES to default locale: No such file 
> or directory
> locale: Cannot set LC_ALL to default locale: No such file or 
> directory
> LANG=es_EC.UTF-8
      ^^^^^^^^^^^

But this doesn't match:

> My complete system reconfigure file (config.scm) is:
> (use-modules (gnu) (gnu system nss))
> (use-service-modules desktop xorg)
> (use-package-modules certs gnome)
>
> (operating-system
>  (host-name "GSD3")
>  (timezone "America/Guayaquil")
>  ;; (locale "es_EC.UTF-8")
>  (locale "es_ES.utf8")
           ^^^^^^^^^^

Strange, no?  Or is this to be expected in Gnome?

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.