Groups > Novell > Perl for NetWare > Re: NW6.5SP5, PERL and Error message every time, when run Perl-Script




Re: NW6.5SP5, PERL and Error message every time, when run
Perl-Script

Re: NW6.5SP5, PERL and Error message every time, when run Perl-Script
Sun, 19 Feb 2006 18:31:49 GMT
Serg wrote:

> NW6.5SP5. Every time, when run Perl scrept i see this error message:
> 
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> 	LC_ALL = (unset),
> 	LANG = (unset)
>  are supported and installed on your system.
> perl: warning: Failling back to the standart locale ("C").
[sNip]

Are you running the script directly from the System Console, or is Apache
calling it (with, or without, ModPerl)?

-- 
Randolf Richardson - randolf@inter-corporate.com
Inter-Corporate Computer & Network Services, Inc.
Vancouver, British Columbia, Canada
http://www.inter-corporate.com/

This message originated from within a secure, reliable,
high-performance network ... a Novell NetWare network.

Post Reply
Re: NW6.5SP5, PERL and Error message every time, when run Perl-Script
Sun, 19 Feb 2006 20:47:04 GMT
Hi Randy,
randolf@inter-corporate.com (Randolf Richardson) wrote in news:pQ2Kf.2130
$yg2.102@prv-forum2.provo.novell.com:

> Serg wrote:
> 
>> NW6.5SP5. Every time, when run Perl scrept i see this error message:
>> 
>> perl: warning: Setting locale failed.
>> perl: warning: Please check that your locale settings:
>>      LC_ALL = (unset),
>>      LANG = (unset)
>>  are supported and installed on your system.
>> perl: warning: Failling back to the standart locale ("C").
> [sNip]
> 
> Are you running the script directly from the System Console, or is Apache
> calling it (with, or without, ModPerl)?
from Console -but doesnt matter since I see other NLMs also affeccted;
just give it a try self:
I guess as canadian you could have servers with cp850 or such, probably with 
french ones; switch server language to english and test...

Guen.
Post Reply
Re: NW6.5SP5, PERL and Error message every time, when run Perl-Script
Mon, 20 Feb 2006 09:23:08 GMT
"Randolf Richardson" <randolf@inter-corporate.com>
???????/???????? ? 
???????? ?????????: news:pQ2Kf.2130$yg2.102@prv-forum2.provo.novell.com...
> Serg wrote:
>
>> NW6.5SP5. Every time, when run Perl scrept i see this error message:
>>
>> perl: warning: Setting locale failed.
>> perl: warning: Please check that your locale settings:
>> LC_ALL = (unset),
>> LANG = (unset)
>>  are supported and installed on your system.
>> perl: warning: Failling back to the standart locale ("C").
> [sNip]
>
> Are you running the script directly from the System Console, or is Apache
> calling it (with, or without, ModPerl)?
Run script direct from server console (not from apache).
Serg 

Post Reply
Re: NW6.5SP5, PERL and Error message every time, when run Perl-Script
Mon, 20 Feb 2006 17:00:33 GMT
Guenter Knauf, DevNet SysOp 32 wrote:
> randolf@inter-corporate.com (Randolf Richardson) wrote in news:pQ2Kf.2130
> $yg2.102@prv-forum2.provo.novell.com:

[sNip]
> > Are you running the script directly from the System Console, or is
Apache
> > calling it (with, or without, ModPerl)?
> 
> from Console -but doesnt matter since I see other NLMs also affeccted;
> just give it a try self:
> I guess as canadian you could have servers with cp850 or such, probably
with 
> french ones; switch server language to english and test...

I don't.  I normally pick U.S. English for Amercian-made products, or
Canadian English (or U.K. English if Canadian English isn't an option).

A long time ago in the days when MS-DOS 4.01 was the great new advancement
in the computing world and NetWare 2.x was the defacto standards for
computing networks, I developed a habit of choosing "U.S. English" as
the
default/preferred language for all products that were produced in the USA
in order to avoid having to deal with strange problems.

My bad experiences with choosing non-US languages (such as Canadian
English) with many products that originated in the US lead to a
significant discovery for me that using US English for these products
resulted in the elimination of a lot of bugs or silly "message not
defined" messages popping up on the screen.  Since then, I've always just
kept up the habit.

Of course, my preference is to use Canadian English whenever possible, but
only if I have time to test it.  For products made in Canada, the U.K.,
etc., this just hasn't been a problem, of course.

With regards to French, that seems to be a common misconception about us
Canadians -- Frensh is very uncommon in Western Canada (Quebec, where
French is extremely common, is in Eastern Canada), and yet I find myself
conversing-in/reading/writing Chinese (Mandarin) on a daily basis.

Nearly all Canadians I know don't speak French at all, yet it is
interesting that many people from other countries assume that every
Canadian speaks it fluently.  French is still taught in public school
though (which is probably one of the reasons so many people think we all
speak French), and I think this is definitely a good thing because the
understanding of more languages is certainly beneficial to everyone (and
most Canadians I know also share this view).

-- 
Randolf Richardson - randolf@inter-corporate.com
Inter-Corporate Computer & Network Services, Inc.
Vancouver, British Columbia, Canada
http://www.inter-corporate.com/

This message originated from within a secure, reliable,
high-performance network ... a Novell NetWare network.

Post Reply
Re: NW6.5SP5, PERL and Error message every time, when run Perl-Script
Mon, 20 Feb 2006 21:06:59 GMT
Hi Randy,

randolf@inter-corporate.com (Randolf Richardson) wrote in
news:RAmKf.2622$yg2.1883@prv-forum2.provo.novell.com: 

> Guenter Knauf, DevNet SysOp 32 wrote:
>> randolf@inter-corporate.com (Randolf Richardson) wrote in
>> news:pQ2Kf.2130 $yg2.102@prv-forum2.provo.novell.com:
> 
> I don't.  I normally pick U.S. English for Amercian-made products, or
> Canadian English (or U.K. English if Canadian English isn't an option).
> 
> A long time ago in the days when MS-DOS 4.01 was the great new
> advancement in the computing world and NetWare 2.x was the defacto
> standards for computing networks, I developed a habit of choosing
"U.S.
> English" as the default/preferred language for all products that were
> produced in the USA in order to avoid having to deal with strange
> problems. 
just me too. But its recommended - and worked all the time together - to 
use cp850 instead of cp437, and I did use cp850 all the time togethe with 
server language english.

> My bad experiences with choosing non-US languages (such as Canadian
> English) with many products that originated in the US lead to a
> significant discovery for me that using US English for these products
> resulted in the elimination of a lot of bugs or silly "message not
> defined" messages popping up on the screen.  Since then, I've always
> just kept up the habit.
just me too. 
Unfortunately NetWare did change its habit with SP5, and now forces me to 
switch to German for whatever reason....

Guen.
Post Reply
about | contact