You are not logged in.

#1 2013-10-15 00:07:39

LucetLux
Member
Registered: 2013-08-16
Posts: 165

[SOLVED] Locale issues.

It seems that my system is suffering a fair share of bugs lately, for some unrelated reason I can't use gnome anymore so I started using KDE, and for whatever reason I'm having locale problems now.
I tried running some gtk applications and they are unable to run, giving me this message:

(transmission-gtk)

(process:5717): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Illegal instruction (core dumped)

or similar:

(teamspeak3)

H #1 SMP PREEMPT Sat Oct 5 21:22:51 CEST 2013 x86_64 Binary: 64bit
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
./ts3client_runscript.sh: line 15:  5710 Aborted                 (core dumped) ./ts3client_linux_amd64 $@

I'm also unable to update pcsx2-svn from the aur for basically the same reason.

I looked for similar issues on this forum and I found some, but either none of the solutions proposed there work or I fail to understand them.

The output of locale -a

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_COLLATE to default locale: No such file or directory
C
POSIX
en_GB
en_GB.iso88591
en_GB.utf8
en_US
en_US.iso88591
en_US.utf8

and of 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=en_UK.UTF-8
LC_CTYPE="en_UK.UTF-8"
LC_NUMERIC="en_UK.UTF-8"
LC_TIME="en_UK.UTF-8"
LC_COLLATE="en_UK.UTF-8"
LC_MONETARY="en_UK.UTF-8"
LC_MESSAGES="en_UK.UTF-8"
LC_PAPER="en_UK.UTF-8"
LC_NAME="en_UK.UTF-8"
LC_ADDRESS="en_UK.UTF-8"
LC_TELEPHONE="en_UK.UTF-8"
LC_MEASUREMENT="en_UK.UTF-8"
LC_IDENTIFICATION="en_UK.UTF-8"
LC_ALL=

Any idea of what the balls is going on ?

My latest updates/installs from yaourt -Q --date, just in case:

extra/gtk 1.2.10-12
local/gtkglarea1 1.2.3-2
community/driconf 0.9.1-10
multilib/lib32-libpng12 1.2.50-2
community/libpng12 1.2.50-3
extra/swig 2.0.11-1
multilib/lib32-libdrm 2.4.46-1
multilib/lib32-mesa 9.2.1-1
multilib/lib32-libglade 2.6.4-5
local/trine2-hib 0_20130911-1
catalyst/catalyst-utils 13.11-1
catalyst/lib32-catalyst-utils 13.11-1 (lib32)
extra/baobab 3.10-1 (gnome)
extra/gnome-icon-theme 3.10.0-1 (gnome)
extra/libgweather 3.10.0-1
extra/evolution-data-server 3.10.1-1
extra/folks 0.9.5-1
extra/gnome-desktop 1:3.10.0-1 (gnome)
extra/eog 3.10.0-1 (gnome)
extra/gnome-themes-standard 3.10.0-1 (gnome)
extra/epiphany 3.10.0-2 (gnome)
extra/evince 3.10.0-2 (gnome)
extra/gnome-session 3.10.1-1 (gnome)
extra/gnome-settings-daemon 3.10.0-1 (gnome)
extra/mutter 3.10.0.1-1 (gnome)
extra/mutter-wayland 3.10.0.1-2
extra/network-manager-applet 0.9.8.4-2
extra/gnome-shell 3.10.0.1-1 (gnome)
extra/gdm 3.10.0-1 (gnome)
extra/gnome-backgrounds 3.10.0-1 (gnome)
extra/gnome-calculator 3.10.0-1 (gnome)
extra/gnome-contacts 3.10-1 (gnome)
extra/gnome-control-center 3.10.0-1 (gnome)
extra/gnome-dictionary 3.10.0-1 (gnome)
extra/gnome-disk-utility 3.10.0-1 (gnome)
extra/gnome-font-viewer 3.10.0-1 (gnome)
extra/gnome-icon-theme-extras 3.6.2-1 (gnome)
extra/gnome-keyring 3.10.0-1 (gnome)
extra/gnome-screenshot 3.10.0-1 (gnome)
extra/gnome-shell-extensions 3.10.0-1 (gnome)
extra/gnome-system-log 3.9.90-1 (gnome)
extra/gnome-system-monitor 3.10.0-1 (gnome)
extra/gnome-terminal 3.10.0-2 (gnome)
extra/yelp 3.10.0-1 (gnome)
extra/gnome-user-docs 3.10.0-1 (gnome)
extra/gnome-user-share 3.10.0-1 (gnome)
extra/grilo-plugins 0.2.9-2 (gnome)
extra/gucharmap 3.9.99-1 (gnome)
extra/mousetweaks 3.10.0-1 (gnome)
extra/nautilus 3.10.0-1 (gnome)
extra/sushi 3.10.0-1 (gnome)
extra/totem 3.10.1-1 (gnome)
extra/totem-plugin 3.10.1-1 (gnome)
extra/tracker 0.16.2-2 (gnome)
extra/xdg-user-dirs-gtk 0.10-1 (gnome)
extra/accerciser 3.8.2-1 (gnome-extra)
extra/aisleriot 3.10.0-1 (gnome-extra)
extra/autogen 5.17.4-1
extra/gdl 3.10.0-1
extra/libanjuta 3.10.0-1
extra/devhelp 3.10.0-1 (gnome-extra)
extra/glade 3.16.0-1
extra/gts 0.7.6-3
extra/libgda 5.1.2-2
extra/vala 0.22.0-1
extra/anjuta 3.10.0-1 (gnome-extra)
extra/bijiben 3.10.1-1 (gnome-extra)
extra/brasero 3.8.0-3 (gnome-extra)
extra/nautilus-sendto 3.8.1-1 (gnome-extra)
extra/gtkhtml4 4.6.6-1
extra/libpst 0.6.58-1
extra/libytnef 1.5-3
extra/evolution 3.10.1-1 (gnome-extra)
extra/file-roller 3.10.0-2 (gnome-extra)
extra/five-or-more 3.10.1-1 (gnome-extra)
extra/four-in-a-row 3.10.1-1 (gnome-extra)
extra/gnome-chess 3.10.1.1-1 (gnome-extra)
extra/gnome-clocks 3.10.0-1 (gnome-extra)
extra/gnome-devel-docs 3.8.1-1 (gnome-extra)
extra/gnome-documents 3.10.0-2 (gnome-extra)
extra/gnome-online-miners 3.10.0-1
extra/libzapojit 0.0.3-1
extra/gnome-getting-started-docs 3.10.0.1-1 (gnome-extra)
extra/gnome-klotski 3.10.0-1 (gnome-extra)
extra/gnome-mahjongg 3.10.0-1 (gnome-extra)
extra/gnome-maps 3.10.0-1 (gnome-extra)
extra/gnome-mines 3.10.1-1 (gnome-extra)
extra/libdmapsharing 2.9.23-1
extra/gnome-nettool 3.8.1-1 (gnome-extra)
extra/gnome-nibbles 3.10.1-1 (gnome-extra)
extra/gnome-robots 3.10.0-1 (gnome-extra)
extra/gnome-sudoku 3.10.1-1 (gnome-extra)
extra/gnome-tetravex 3.10.0-1 (gnome-extra)
extra/gnome-weather 3.10.0-1 (gnome-extra)
extra/iagno 3.10.1-1 (gnome-extra)
extra/lightsoff 3.10.0-1 (gnome-extra)
extra/orca 3.10.0-1 (gnome-extra)
extra/quadrapassel 3.10.0-1 (gnome-extra)
extra/seahorse 3.10.0-1 (gnome-extra)
extra/swell-foop 3.10.1-1 (gnome-extra)
extra/tali 3.10.0-1 (gnome-extra)
extra/gtk-vnc 0.5.2-2
community/spice-gtk3 0.21-2
community/usbredir 0.6-3
extra/gnome-tweak-tool 3.10.0-2
catalyst/catalyst-hook 13.11-1
local/teamviewer 8.0.20931-1
local/kdesudo 3.4.2.4-1
core/dbus 1.6.16-1
extra/gnome-color-manager 3.10.1-1 (gnome-extra)
extra/gnome-icon-theme-symbolic 3.10.1-1 (gnome)
extra/gnome-music 3.10.1-1 (gnome-extra)
extra/pygobject-devel 3.10.1-1
extra/python-gobject 3.10.1-1
extra/gnome-photos 3.10.1-1 (gnome-extra)
extra/graphviz 2.34.0-1
extra/python2-gobject 3.10.1-1
extra/rygel 0.20.1-1 (gnome-extra)
extra/at-spi2-core 2.10.1-1
extra/cheese 3.10.1-1 (gnome-extra)
extra/vinagre 3.10.1-1 (gnome-extra)
extra/vino 3.10.1-1 (gnome)

Any help would be appreciated.

Last edited by LucetLux (2013-10-15 00:56:28)

Offline

#2 2013-10-15 00:25:23

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,681

Re: [SOLVED] Locale issues.

Change en_UK to en_GB

Offline

#3 2013-10-15 00:36:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Locale issues.

'locale -a' tells you which locales are available. You can choose either en_GB or en_US. en_UK is not available and it doesn't seem to exist at all according to 'grep en_UK /etc/locale.gen'.

Offline

#4 2013-10-15 00:39:30

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Locale issues.

skunktrader wrote:

Change en_UK to en_GB

Well, it is weird.
I have
en_GB.UTF-8 UTF-8
en_GB ISO-8859-1
en_US.UTF-8 UTF-8
en_US ISO-8859-1
uncommented in /etc/locale.gen and I generated my locales back on install with locale-gen.
Why when I run "locale" en_UK is displayed instead of en_GB ? And how am I supposed to change that ?
In case you didn't notice, when I run "locale -a", en_GB is displayed, which seems correct.

Thank you.

PD: If I run locale-gen again nothing changes.

Last edited by LucetLux (2013-10-15 00:42:31)

Offline

#5 2013-10-15 00:41:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Locale issues.

Please read the wiki.

Offline

#6 2013-10-15 00:41:55

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,681

Re: [SOLVED] Locale issues.

Follow the wiki

Offline

#7 2013-10-15 00:56:06

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Locale issues.

I did read the wiki before, that's how I found out about most of this in the first place.
Running "localectl set-locale LANG="en_GB.utf8" seems to have done the trick, it is strange, I've never had problems with any of this and it has been the same since I first installed arch.
Transmission is still broken for whatever reason, It looks like some sort of corruption is slowly eating gnome.

Thank you all for your help.

Offline

Board footer

Powered by FluxBB