Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

There are new messages.


devel / comp.lang.perl.misc / Re: Warnings

SubjectAuthor
* Warningsdb
`* Re: WarningsThomas Dorner
 `* Re: Warningsdb
  `* Re: WarningsEric Pozharski
   `- Re: WarningsDr Eberhard W Lisse

1
Warnings

<u8qtoh$3vavs$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9984&group=comp.lang.perl.misc#9984

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterha...@gmail.com (db)
Newsgroups: comp.lang.perl.misc
Subject: Warnings
Date: Fri, 14 Jul 2023 09:33:37 +0200
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <u8qtoh$3vavs$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 14 Jul 2023 07:33:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f98137aa15c783990e365de7275a2cf8";
logging-data="4172796"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RFd5L9lXiRKd6jHUjlEnvpw6r7Z6HFhc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:ByRlt9WqodxKwX0mC760kx58wLU=
Content-Language: en-US
 by: db - Fri, 14 Jul 2023 07:33 UTC

When I run a script that runs gnuplot - and only such scripts -
I get these warnings

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LANG = "da_DK.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I am working under Kubuntu Linux. What do I have to do to
get rid of these warnings? The script then goes on to
work, but this is annoying.

--
Dieter Britz

Re: Warnings

<6efs5q7b3m.fsf@th-dorner.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9985&group=comp.lang.perl.misc#9985

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!umbra.opacus!not-for-mail
From: clpm2307...@spamgourmet.com (Thomas Dorner)
Newsgroups: comp.lang.perl.misc
Subject: Re: Warnings
Date: Fri, 14 Jul 2023 17:43:09 +0200
Message-ID: <6efs5q7b3m.fsf@th-dorner.de>
References: <u8qtoh$3vavs$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: solani.org;
logging-data="2700950"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:0vv5Wqi36OYMpA5sLMyUrKrfnuw= sha1:/2teQPAUV92/ANszikB0du7lMwg=
X-User-ID: eJwNy8EBwCAIA8CVKiShjkNB9h/B3v/oWqqAKHA4T1RvJrMTRyEe69ebA2tgVS5s3+2S1d++CyB9EQY=
 by: Thomas Dorner - Fri, 14 Jul 2023 15:43 UTC

db <dieterhansbritz@gmail.com> writes:

> When I run a script that runs gnuplot - and only such scripts -
> I get these warnings
>
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = "",
> LC_ALL = (unset),
> LANG = "da_DK.UTF-8"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
>
> I am working under Kubuntu Linux. What do I have to do to
> get rid of these warnings? The script then goes on to
> work, but this is annoying.

You probably need to activate (remove comment sign) your danish locale
in /etc/locale.gen and rerun locale-gen (as stated in /etc/locale.gen).

Best regards, Thomas
--
Address is only valid for short time!

Re: Warnings

<uqinsq$2n5ta$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10026&group=comp.lang.perl.misc#10026

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterha...@gmail.com (db)
Newsgroups: comp.lang.perl.misc
Subject: Re: Warnings
Date: Wed, 14 Feb 2024 16:57:14 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <uqinsq$2n5ta$1@dont-email.me>
References: <u8qtoh$3vavs$1@dont-email.me> <6efs5q7b3m.fsf@th-dorner.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 14 Feb 2024 15:57:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9976c8714e8918998b57f32b0226779d";
logging-data="2856874"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uug/WpGX0lX3EdKnQlX9MPrdbs1DxZmw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:q5PySLUQAGI+vvPjONEyOls4OLw=
In-Reply-To: <6efs5q7b3m.fsf@th-dorner.de>
Content-Language: en-US
 by: db - Wed, 14 Feb 2024 15:57 UTC

On 14.07.2023 17.43, Thomas Dorner wrote:
> db <dieterhansbritz@gmail.com> writes:
>
>> When I run a script that runs gnuplot - and only such scripts -
>> I get these warnings
>>
>> perl: warning: Setting locale failed.
>> perl: warning: Please check that your locale settings:
>> LANGUAGE = "",
>> LC_ALL = (unset),
>> LANG = "da_DK.UTF-8"
>> are supported and installed on your system.
>> perl: warning: Falling back to the standard locale ("C").
>>
>> I am working under Kubuntu Linux. What do I have to do to
>> get rid of these warnings? The script then goes on to
>> work, but this is annoying.
>
> You probably need to activate (remove comment sign) your danish locale
> in /etc/locale.gen and rerun locale-gen (as stated in /etc/locale.gen).
>
> Best regards, Thomas

It isn't there to uncomment. Can I just add it as a new line?
What do the other two mean, LANGUAGE = "" and LC_ALL = (unset) ?
Should I add all three lines?

--
Dieter Britz

Re: Warnings

<slrnusveg3.udk.apple.universe@freight.zombinet>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10031&group=comp.lang.perl.misc#10031

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!paganini.bofh.team!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: apple.un...@posteo.net (Eric Pozharski)
Newsgroups: comp.lang.perl.misc
Subject: Re: Warnings
Date: Fri, 16 Feb 2024 19:39:47 +0000
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <slrnusveg3.udk.apple.universe@freight.zombinet>
References: <u8qtoh$3vavs$1@dont-email.me> <6efs5q7b3m.fsf@th-dorner.de>
<uqinsq$2n5ta$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="711477724487c6c3a452435abcae700b";
logging-data="137995"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EczaA+HwgesIa/z8gi6Z/"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:jbzjBh6c6uu45Sdf1s3VgtDocVE=
 by: Eric Pozharski - Fri, 16 Feb 2024 19:39 UTC

with <uqinsq$2n5ta$1@dont-email.me> db wrote:
> On 14.07.2023 17.43, Thomas Dorner wrote:
>> db <dieterhansbritz@gmail.com> writes:

>>> When I run a script that runs gnuplot - and only such scripts - I
>>> get these warnings
>>>
>>> perl: warning: Setting locale failed.
>>> perl: warning: Please check that your locale settings:
>>> LANGUAGE = "",
>>> LC_ALL = (unset),
>>> LANG = "da_DK.UTF-8"
>>> are supported and installed on your system.
>>> perl: warning: Falling back to the standard locale ("C").
>>>
>>> I am working under Kubuntu Linux. What do I have to do to get rid of
>>> these warnings? The script then goes on to work, but this is
>>> annoying.
>> You probably need to activate (remove comment sign) your danish
>> locale in /etc/locale.gen and rerun locale-gen (as stated in
>> /etc/locale.gen).
>> Best regards, Thomas
> It isn't there to uncomment. Can I just add it as a new line? What do
> the other two mean, LANGUAGE = "" and LC_ALL = (unset) ? Should I add
> all three lines?

(short answer) You are on your own.

(standard answer) 'perldoc perllocale', read it. (It's hard to
understand, yes).

(bullshit answer) How you run mysterious script and your operating
system are desynchronized. I suspect, something resets environment for
mysterious script and/or child processes (because fsck you; maybe
grounded in security or whatnot). Then sneaks (or inherits, who knows)
$LANG. That $LANG refers to locale that is missing from your system
(for whatever reasons).

Now, there are multiple goals to choose. And, respectfully, multiple
approaches to the goal you choosed. It's up for you to decide.

But foremost. How locale and environment are handled and maintained
heavily depends on (and is specific to) your operating system. No,
linux is just a kernel. No, GNU/Linux doesn't say anything. No,
Kubuntu (or whatever sister) isn't that widespread.

IOW, your problem (if any) has nothing to do with perl or Perl. Please
disregard standard answer.

P.S. gnuplot? Insert here thatsnameihaventheardforlong.jpg

--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom

Re: Warnings

<l3cct7F5fd7U1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10034&group=comp.lang.perl.misc#10034

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: nos...@lisse.NA (Dr Eberhard W Lisse)
Newsgroups: comp.lang.perl.misc
Subject: Re: Warnings
Date: Sat, 17 Feb 2024 20:40:39 +0200
Lines: 18
Message-ID: <l3cct7F5fd7U1@mid.individual.net>
References: <u8qtoh$3vavs$1@dont-email.me> <6efs5q7b3m.fsf@th-dorner.de>
<uqinsq$2n5ta$1@dont-email.me>
<slrnusveg3.udk.apple.universe@freight.zombinet>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net LI4lE+vHU5IpSpFzpJna+wJxRoUbUQPB0Ge7p19C5l9fNdKnRz
Cancel-Lock: sha1:mdNOhlGibIhsjLP1BO9yI22j/6s= sha256:2VKZuoYSF6OCqdvx1jA8rhapW7kbXdVKuR3rTSGa3bw=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:115.0)
Gecko/20100101 Betterbird/115.7.0
Content-Language: en-US
In-Reply-To: <slrnusveg3.udk.apple.universe@freight.zombinet>
 by: Dr Eberhard W Lisse - Sat, 17 Feb 2024 18:40 UTC

Non Bullshit answer:

https://stackoverflow.com/questions/2499794/how-to-fix-a-locale-setting-warning-from-perl

On 2024-02-16 21:39, Eric Pozharski wrote:
>>> db <dieterhansbritz@gmail.com> writes:
>>>> When I run a script that runs gnuplot - and only such scripts -
>>>> I get these warnings
>>>>
>>>> perl: warning: Setting locale failed.
>>>> perl: warning: Please check that your locale settings:
[...]
> (bullshit answer)
[...]

--
To email me replace 'nospam' with 'el'

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor