You are not logged in.

#1 2014-11-21 20:50:27

Arch3R
Member
Registered: 2014-11-21
Posts: 38

[SOLVED]Cannot start mocp without LC_ALL="C"

Hi everyone
This is my first post so sorry if this is wrong board

My problem is moc when i start it with mocp command this is what i get:
FATAL_ERROR: Tried to get wrong option 'ID3v1TagsEncoding'!

I can run it with

 LC_ALL="C" mocp

But if i add this to my .bashrc it breaks my locale settings
I think something's wrong with my locale settings

Here's my locale output:

LANG=tr_TR.utf8
LC_CTYPE="tr_TR.UTF-8"
LC_NUMERIC="tr_TR.UTF-8"
LC_TIME="tr_TR.UTF-8"
LC_COLLATE="tr_TR.UTF-8"
LC_MONETARY="tr_TR.UTF-8"
LC_MESSAGES="tr_TR.UTF-8"
LC_PAPER="tr_TR.UTF-8"
LC_NAME="tr_TR.UTF-8"
LC_ADDRESS="tr_TR.UTF-8"
LC_TELEPHONE="tr_TR.UTF-8"
LC_MEASUREMENT="tr_TR.UTF-8"
LC_IDENTIFICATION="tr_TR.UTF-8"
LC_ALL=tr_TR.UTF-8

Last edited by Arch3R (2014-11-21 21:33:34)

Offline

#2 2014-11-21 21:04:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Cannot start mocp without LC_ALL="C"

Your locale is broken. Note the difference between LANG and the other entries.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-11-21 21:09:13

Arch3R
Member
Registered: 2014-11-21
Posts: 38

Re: [SOLVED]Cannot start mocp without LC_ALL="C"

jasonwryan wrote:

Your locale is broken. Note the difference between LANG and the other entries.

Here's my locale.conf can you tell me how can i fix it

LANG=tr_TR.UTF-8
LC_TIME=tr_TR.UTF-8

Last edited by Arch3R (2014-11-21 21:15:02)

Offline

#4 2014-11-21 21:27:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Cannot start mocp without LC_ALL="C"


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-11-21 21:30:27

Arch3R
Member
Registered: 2014-11-21
Posts: 38

Re: [SOLVED]Cannot start mocp without LC_ALL="C"

I tried to run this command but it doesn't work

localectl set-locale LANG=tr_TR.UTF-8

locale output still the same
do i need to restart to changes take effect?

Offline

#6 2014-11-21 21:33:08

Arch3R
Member
Registered: 2014-11-21
Posts: 38

Re: [SOLVED]Cannot start mocp without LC_ALL="C"

Problem is solved thank you

Offline

#7 2014-11-21 21:35:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Cannot start mocp without LC_ALL="C"

wiki wrote:

Settings will be applied on login; to have the current environment use the new setting(s) do:

# source /etc/profile.d/locale.sh


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2014-11-21 21:41:46

Arch3R
Member
Registered: 2014-11-21
Posts: 38

Re: [SOLVED]Cannot start mocp without LC_ALL="C"

jasonwryan wrote:
wiki wrote:

Settings will be applied on login; to have the current environment use the new setting(s) do:

# source /etc/profile.d/locale.sh

Sorry I must have overlooked

Offline

#9 2017-08-17 06:23:30

tyokai-1
Banned
Registered: 2017-08-14
Posts: 8

Re: [SOLVED]Cannot start mocp without LC_ALL="C"

i also use manjaro linux .
it's settings are the followimgss

/etc/locale.conf 
----------------
LANG=ja_JP.UTF-8
LC_ADDRESS=ja_JP.UTF-8
LC_IDENTIFICATION=ja_JP.UTF-8
LC_MEASUREMENT=ja_JP.UTF-8
LC_MONETARY=ja_JP.UTF-8
LC_NAME=ja_JP.UTF-8
LC_NUMERIC=ja_JP.UTF-8
LC_PAPER=ja_JP.UTF-8
LC_TELEPHONE=ja_JP.UTF-8
LC_TIME=ja_JP.UTF-8


    
/etc/locale.gen
----------------------------
en_US.UTF-8 UTF-8
en_US.UTF-8 UTF-8  
ja_JP.UTF-8 UTF-8  



# locale
LANG=ja_JP.UTF-8
LC_CTYPE="ja_JP.UTF-8"
LC_NUMERIC=ja_JP.UTF-8
LC_TIME=ja_JP.UTF-8
LC_COLLATE="ja_JP.UTF-8"
LC_MONETARY=ja_JP.UTF-8
LC_MESSAGES="ja_JP.UTF-8"
LC_PAPER=ja_JP.UTF-8
LC_NAME=ja_JP.UTF-8
LC_ADDRESS=ja_JP.UTF-8
LC_TELEPHONE=ja_JP.UTF-8
LC_MEASUREMENT=ja_JP.UTF-8
LC_IDENTIFICATION=ja_JP.UTF-8
LC_ALL=





# locale -a
C
POSIX
en_US.utf8
ja_JP.utf8

and

pacman -Q |grep gparted
gparted 0.28.1-1



-----------
regards

Offline

#10 2017-08-17 06:25:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Cannot start mocp without LC_ALL="C"

Manjaro is not Arch. Don't post here again.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB