Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #267875

Re: running Jami in Trixie - possible locale issue

From Gremlin <scott-andrews@columbus.rr.com>
Newsgroups linux.debian.user
Subject Re: running Jami in Trixie - possible locale issue
Date 2024-02-27 04:20 +0100
Message-ID <IbWaB-cTwq-1@gated-at.bofh.it> (permalink)
References <IbOZr-cOUv-1@gated-at.bofh.it> <IbQox-cPSC-3@gated-at.bofh.it> <IbRuh-cQA9-1@gated-at.bofh.it> <IbRNE-cQGj-7@gated-at.bofh.it> <IbUBP-cSoe-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2/26/24 20:28, Gary Dale wrote:
> On 2024-02-26 17:31, Gremlin wrote:
>> On 2/26/24 17:18, Gary Dale wrote:
>>> On 2024-02-26 16:03, Gremlin wrote:
>>>> On 2/26/24 14:36, Gary Dale wrote:
>>>>> I'm running Debian/Trixie on an AMD64 system. I've installed jami 
>>>>> from testing but it fails to start. When I run it from the command 
>>>>> line, I get:
>>>>>
>>>>> $jami &
>>>>> [1] 7804
>>>>> $ Using Qt runtime version: 6.
>>>>> 4.2
>>>>> "notify server name: Plasma, vendor: KDE, version: 5.27.10, spec: 1.2"
>>>>> "Using locale: en_GB"
>>>>> terminate called after throwing an instance of 'std::runtime_error'
>>>>>   what():  locale::facet::_S_create_c_locale name not valid
>>>>>
>>>>> [1]+  Aborted                 (core dumped) jami
>>>>> garydale@transponder:~/mnt/archives/2024/Lions Cl
>>>>>
>>>>>
>>>>> There might be something wrong with my locales but dpkg-reconfigure 
>>>>> locales doesn't fix it. After running it, I still get this output:
>>>>>
>>>>> $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=iu_CA.UTF-8
>>>>> LANGUAGE=en_GB
>>>>> LC_CTYPE="iu_CA.UTF-8"
>>>>> LC_NUMERIC=en_CA.UTF-8
>>>>> LC_TIME=en_CA.UTF-8
>>>>> LC_COLLATE=en_CA.UTF-8
>>>>> LC_MONETARY=en_CA.UTF-8
>>>>> LC_MESSAGES="iu_CA.UTF-8"
>>>>> LC_PAPER="iu_CA.UTF-8"
>>>>> LC_NAME="iu_CA.UTF-8"
>>>>> LC_ADDRESS="iu_CA.UTF-8"
>>>>> LC_TELEPHONE="iu_CA.UTF-8"
>>>>> LC_MEASUREMENT=en_CA.UTF-8
>>>>> LC_IDENTIFICATION="iu_CA.UTF-8"
>>>>> LC_ALL=
>>>>>
>>>>> Please note that I have not selected iu_CA.utf8 nor en_GB in my 
>>>>> locales.
>>>>>
>>>>> Any ideas on how to fix this?
>>>>>
>>>>> Thanks.
>>>>>
>>>>
>>>> Edit /etc/locale.gen and enable the locale(s) you wish to use.
>>>> Then as root
>>>>
>>>> locale-gen
>>>> dpkg-reconfigure locales
>>>>
>>> Nope. /etc/locale.gen was already correct. Running the commands then 
>>> rebooting leaves me with the same error messages.
>>>
>>> I also set up a ~/.bash_profile to set LANG to en_CA.UTF-8 but that 
>>> also had no effect. The exact contents are:
>>>
>>> LANG="en_CA.UTF-8"
>>> export LANG
>>>
>>>
>>
>> You are making a mess, when about to make a mess stop until you have 
>> researched your issue.
>>
>> Start at the beginning not at the end......
>>
>> Did you reboot or logout and login
>>
>> dpkg-reconfigure locales is suppose to set /etc/default/locales 
>> correctly, it runs update-locale if I remember correctly.
>>
>> cat /etc/locale.gen
>>
>> # This file lists locales that you wish to have built. You can find a 
>> list
>> # of valid supported locales at /usr/share/i18n/SUPPORTED, and you can 
>> add
>> # user defined locales to /usr/local/share/i18n/SUPPORTED. If you change
>> # this file, you need to rerun locale-gen.
>> #
>>
>> C.UTF-8 UTF-8
>> # aa_DJ ISO-8859-1
>> # aa_DJ.UTF-8 UTF-8
>> # aa_ER UTF-8
>> # aa_ER@saaho UTF-8
>> # aa_ET UTF-8
>> # af_ZA ISO-8859-1
>> # af_ZA.UTF-8 UTF-8
>> # agr_PE UTF-8
>> # ak_GH UTF-8
>> # am_ET UTF-8
>> # an_ES ISO-8859-15
>> # an_ES.UTF-8 UTF-8
>> # anp_IN UTF-8
>> # ar_AE ISO-8859-6
>> # ar_AE.UTF-8 UTF-8
>> # ar_BH ISO-8859-6
>> # ar_BH.UTF-8 UTF-8
>> # ar_DZ ISO-8859-6
>> # ar_DZ.UTF-8 UTF-8
>> # ar_EG ISO-8859-6
>> # ar_EG.UTF-8 UTF-8
>> # ar_IN UTF-8
>> # ar_IQ ISO-8859-6
>> # ar_IQ.UTF-8 UTF-8
>> # ar_JO ISO-8859-6
>> # ar_JO.UTF-8 UTF-8
>> # ar_KW ISO-8859-6
>> # ar_KW.UTF-8 UTF-8
>> # ar_LB ISO-8859-6
>> # ar_LB.UTF-8 UTF-8
>> # ar_LY ISO-8859-6
>> # ar_LY.UTF-8 UTF-8
>> # ar_MA ISO-8859-6
>> # ar_MA.UTF-8 UTF-8
>> # ar_OM ISO-8859-6
>> # ar_OM.UTF-8 UTF-8
>> # ar_QA ISO-8859-6
>> # ar_QA.UTF-8 UTF-8
>> # ar_SA ISO-8859-6
>> # ar_SA.UTF-8 UTF-8
>> # ar_SD ISO-8859-6
>> # ar_SD.UTF-8 UTF-8
>> # ar_SS UTF-8
>> # ar_SY ISO-8859-6
>> # ar_SY.UTF-8 UTF-8
>> # ar_TN ISO-8859-6
>> # ar_TN.UTF-8 UTF-8
>> # ar_YE ISO-8859-6
>> # ar_YE.UTF-8 UTF-8
>> # as_IN UTF-8
>> # ast_ES ISO-8859-15
>> # ast_ES.UTF-8 UTF-8
>> # ayc_PE UTF-8
>> # az_AZ UTF-8
>> # az_IR UTF-8
>> # be_BY CP1251
>> # be_BY.UTF-8 UTF-8
>> # be_BY@latin UTF-8
>> # bem_ZM UTF-8
>> # ber_DZ UTF-8
>> # ber_MA UTF-8
>> # bg_BG CP1251
>> # bg_BG.UTF-8 UTF-8
>> # bhb_IN.UTF-8 UTF-8
>> # bho_IN UTF-8
>> # bho_NP UTF-8
>> # bi_VU UTF-8
>> # bn_BD UTF-8
>> # bn_IN UTF-8
>> # bo_CN UTF-8
>> # bo_IN UTF-8
>> # br_FR ISO-8859-1
>> # br_FR.UTF-8 UTF-8
>> # br_FR@euro ISO-8859-15
>> # brx_IN UTF-8
>> # bs_BA ISO-8859-2
>> # bs_BA.UTF-8 UTF-8
>> # byn_ER UTF-8
>> # ca_AD ISO-8859-15
>> # ca_AD.UTF-8 UTF-8
>> # ca_ES ISO-8859-1
>> # ca_ES.UTF-8 UTF-8
>> # ca_ES@euro ISO-8859-15
>> # ca_ES@valencia UTF-8
>> # ca_FR ISO-8859-15
>> # ca_FR.UTF-8 UTF-8
>> # ca_IT ISO-8859-15
>> # ca_IT.UTF-8 UTF-8
>> # ce_RU UTF-8
>> # chr_US UTF-8
>> # ckb_IQ UTF-8
>> # cmn_TW UTF-8
>> # crh_UA UTF-8
>> # cs_CZ ISO-8859-2
>> # cs_CZ.UTF-8 UTF-8
>> # csb_PL UTF-8
>> # cv_RU UTF-8
>> # cy_GB ISO-8859-14
>> # cy_GB.UTF-8 UTF-8
>> # da_DK ISO-8859-1
>> # da_DK.UTF-8 UTF-8
>> # de_AT ISO-8859-1
>> # de_AT.UTF-8 UTF-8
>> # de_AT@euro ISO-8859-15
>> # de_BE ISO-8859-1
>> # de_BE.UTF-8 UTF-8
>> # de_BE@euro ISO-8859-15
>> # de_CH ISO-8859-1
>> # de_CH.UTF-8 UTF-8
>> # de_DE ISO-8859-1
>> # de_DE.UTF-8 UTF-8
>> # de_DE@euro ISO-8859-15
>> # de_IT ISO-8859-1
>> # de_IT.UTF-8 UTF-8
>> # de_LI.UTF-8 UTF-8
>> # de_LU ISO-8859-1
>> # de_LU.UTF-8 UTF-8
>> # de_LU@euro ISO-8859-15
>> # doi_IN UTF-8
>> # dsb_DE UTF-8
>> # dv_MV UTF-8
>> # dz_BT UTF-8
>> # el_CY ISO-8859-7
>> # el_CY.UTF-8 UTF-8
>> # el_GR ISO-8859-7
>> # el_GR.UTF-8 UTF-8
>> # el_GR@euro ISO-8859-7
>> # en_AG UTF-8
>> # en_AU ISO-8859-1
>> # en_AU.UTF-8 UTF-8
>> # en_BW ISO-8859-1
>> # en_BW.UTF-8 UTF-8
>> # en_CA ISO-8859-1
>> # en_CA.UTF-8 UTF-8
>> # en_DK ISO-8859-1
>> # en_DK.ISO-8859-15 ISO-8859-15
>> # en_DK.UTF-8 UTF-8
>> # en_GB ISO-8859-1
>> # en_GB.ISO-8859-15 ISO-8859-15
>> # en_GB.UTF-8 UTF-8
>> # en_HK ISO-8859-1
>> # en_HK.UTF-8 UTF-8
>> # en_IE ISO-8859-1
>> # en_IE.UTF-8 UTF-8
>> # en_IE@euro ISO-8859-15
>> # en_IL UTF-8
>> # en_IN UTF-8
>> # en_NG UTF-8
>> # en_NZ ISO-8859-1
>> # en_NZ.UTF-8 UTF-8
>> # en_PH ISO-8859-1
>> # en_PH.UTF-8 UTF-8
>> # en_SC.UTF-8 UTF-8
>> # en_SG ISO-8859-1
>> # en_SG.UTF-8 UTF-8
>> # en_US ISO-8859-1
>> # en_US.ISO-8859-15 ISO-8859-15
>> en_US.UTF-8 UTF-8
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> snip
>>
>> cat /etc/default/locale
>> #  File generated by update-locale
>> LANG=C.UTF-8
>>
>> locale -a
>>
>>
> I'm not making a mess, I'm trying to fix an existing mess. And yes, I've 
> rebooted so many times today that I felt like I was running Windows.

Sure you have made a mess, the debian installer didn't select locales 
and assign them at random.

I am thinking the following will BARF also.

localectl list-locales


> 
> cat /etc/default/locale
> LANG=en_CA.UTF-8
> LANGUAGE=en_CA:en
> LC_TIME=en_CA.UTF-8
> 
> # locale -a
> C
> C.utf8
> en_CA.utf8
> en_US.utf8
> fr_CA.utf8
> POSIX
> 
> Also:
> 
> $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
> C
> C.utf8
> en_CA.utf8
> en_US.utf8
> fr_CA.utf8
> POSIX
> 
> 

Find out where LC_CTYPE and LC_MESSAGES is being set, they need changed.

If it was me, I would set /etc/default/locale to
#  File generated by update-locale
LANG=C.UTF-8

and remove all references/assignments to any LC_<what ever> in all shell 
config files.

then reboot and do a locale -a

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

running Jami in Trixie - possible locale issue Gary Dale <gary@extremeground.com> - 2024-02-26 20:40 +0100
  Re: running Jami in Trixie - possible locale issue Gremlin <scott-andrews@columbus.rr.com> - 2024-02-26 22:10 +0100
    Re: running Jami in Trixie - possible locale issue Gary Dale <gary@extremeground.com> - 2024-02-26 23:20 +0100
      Re: running Jami in Trixie - possible locale issue Gremlin <scott-andrews@columbus.rr.com> - 2024-02-26 23:40 +0100
        Re: running Jami in Trixie - possible locale issue Gary Dale <gary@extremeground.com> - 2024-02-27 02:40 +0100
          Re: running Jami in Trixie - possible locale issue Greg Wooledge <greg@wooledge.org> - 2024-02-27 02:50 +0100
            Re: running Jami in Trixie - possible locale issue Gary Dale <gary@extremeground.com> - 2024-02-27 14:50 +0100
              Re: running Jami in Trixie - possible locale issue Greg Wooledge <greg@wooledge.org> - 2024-02-27 15:00 +0100
          Re: running Jami in Trixie - possible locale issue Max Nikulin <manikulin@gmail.com> - 2024-02-27 03:40 +0100
            Re: running Jami in Trixie - possible locale issue Gary Dale <gary@extremeground.com> - 2024-02-27 15:00 +0100
              Re: running Jami in Trixie - possible locale issue Max Nikulin <manikulin@gmail.com> - 2024-02-27 16:10 +0100
          Re: running Jami in Trixie - possible locale issue Gremlin <scott-andrews@columbus.rr.com> - 2024-02-27 04:20 +0100
            Re: running Jami in Trixie - possible locale issue Greg Wooledge <greg@wooledge.org> - 2024-02-27 05:00 +0100
              Re: running Jami in Trixie - possible locale issue Gremlin <scott-andrews@columbus.rr.com> - 2024-02-27 11:50 +0100
              Re: running Jami in Trixie - possible locale issue Gary Dale <gary@extremeground.com> - 2024-02-27 16:00 +0100
              Re: running Jami in Trixie - possible locale issue Gary Dale <gary@extremeground.com> - 2024-02-27 16:00 +0100
            Re: running Jami in Trixie - possible locale issue Gary Dale <gary@extremeground.com> - 2024-02-27 15:50 +0100

csiph-web