* bug#37479: International locale error
@ 2019-09-22 13:45 quiliro
2019-09-22 15:12 ` quiliro
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: quiliro @ 2019-09-22 13:45 UTC (permalink / raw)
To: 37479
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@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@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@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@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#37479: International locale error
2019-09-22 13:45 bug#37479: International locale error quiliro
@ 2019-09-22 15:12 ` quiliro
[not found] ` <20190922201537.GA3155@PhantoNv4ArchGx.localdomain>
2019-09-23 5:08 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2 siblings, 0 replies; 4+ messages in thread
From: quiliro @ 2019-09-22 15:12 UTC (permalink / raw)
To: 37479
Every time I run the guix command, I get an error about locales, even
though i am running Guix System
quiliro@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%
[...]
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20190922201537.GA3155@PhantoNv4ArchGx.localdomain>]
* bug#37479: International locale error
[not found] ` <20190922201537.GA3155@PhantoNv4ArchGx.localdomain>
@ 2019-09-23 2:54 ` quiliro
0 siblings, 0 replies; 4+ messages in thread
From: quiliro @ 2019-09-23 2:54 UTC (permalink / raw)
To: 37479
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@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@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@GSD3 ~/Descargas/elisp$ sudo bash
root@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@GSD3 /home/quiliro/Descargas/elisp# LANG=es_EC.UTF-8 locale-gen
bash: locale-gen: command not found
root@GSD3 /home/quiliro/Descargas/elisp# exit
quiliro@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@GSD3 ~$
>>
>
> Good luck :)
>
> Regards,
> Bengt Richter
Thank you for your help.
Quiliro
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#37479: International locale error
2019-09-22 13:45 bug#37479: International locale error quiliro
2019-09-22 15:12 ` quiliro
[not found] ` <20190922201537.GA3155@PhantoNv4ArchGx.localdomain>
@ 2019-09-23 5:08 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2 siblings, 0 replies; 4+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2019-09-23 5:08 UTC (permalink / raw)
To: Quiliro Ordóñez; +Cc: 37479
[-- Attachment #1: Type: text/plain, Size: 844 bytes --]
Quiliro,
You say that:
quiliro@riseup.net 写道:
> My current locale is es_EC.UTF-8:
> quiliro@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-09-23 5:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-22 13:45 bug#37479: International locale error quiliro
2019-09-22 15:12 ` quiliro
[not found] ` <20190922201537.GA3155@PhantoNv4ArchGx.localdomain>
2019-09-23 2:54 ` quiliro
2019-09-23 5:08 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.