comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Error: X does not support locale C.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Error: X does not support locale C. [message #54494] Tue, 19 June 2007 08:37 Go to next message
cantrell is currently offline  cantrell
Messages: 4
Registered: June 2007
Junior Member
I have a FC5 machine with IDL Version 5.5a. When I try and run the
help, it does not work.

IDL> ?
IDL> Error: X does not support locale C.


I have no idea what could be causing this. Any ideas?

-Justin
Re: Error: X does not support locale C. [message #54620 is a reply to message #54494] Wed, 20 June 2007 08:17 Go to previous messageGo to next message
cantrell is currently offline  cantrell
Messages: 4
Registered: June 2007
Junior Member
No Message Body
Re: Error: X does not support locale C. [message #54637 is a reply to message #54494] Tue, 19 June 2007 13:41 Go to previous messageGo to next message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
cantr...@chara.gsu.edu wrote:
> I have a FC5 machine with IDL Version 5.5a. When I try and run the
> help, it does not work.
>
> IDL> ?
> IDL> Error: X does not support locale C.
>
>
> I have no idea what could be causing this. Any ideas?

At the shell prompt, type

locale -a

Does that list include the 'C' locale?
Re: Error: X does not support locale C. [message #54704 is a reply to message #54494] Tue, 10 July 2007 08:43 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
cantrell@chara.gsu.edu writes:

> YES!! YES!! THIS WORKED!!! Thank you so much

OK, as long as we are fixing things that have long
annoyed us, how about this.

For years my IDL Help has come up where I want it on
my right-hand monitor. (IDL runs on my left-hand monitor.)
About a month ago I dropped something on my desk and when
I reached to catch it, I hit some keys on my keyboard that
caused a lot of window flashing, etc. And now, whenever
I run the IDL Help, it comes up on my left-hand monitor. :-(

I drag it over where I want it, but when I close it and
start it up again, sure enough, back where I don't want
it. Clearly this is configurable. (Windows XP Pro) I've
tried everything I can think of, including dropping furniture
onto my keyboard, etc., but so far no luck whatsoever.

Anyone have any bright ideas about this?

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Error: X does not support locale C. [message #54705 is a reply to message #54494] Tue, 10 July 2007 08:12 Go to previous message
cantrell is currently offline  cantrell
Messages: 4
Registered: June 2007
Junior Member
On Jul 10, 4:48 am, Luis Hector Peraza <hper...@canberra.com> wrote:
> On Jun 19, 5:37 pm, cantr...@chara.gsu.edu wrote:
>
>> I have a FC5 machine with IDL Version 5.5a. When I try and run the
>> help, itdoesnotwork.
>
>> IDL> ?
>> IDL>Error:XdoesnotsupportlocaleC.
>
>> I have no idea what could be causing this. Any ideas?
>
>> -Justin
>
> Hello Justin,
>
> I recently upgraded my Linux system and ended up with the same
> problem.
> The newer distribution came with Xorg instead of XFree86, which places
> the configuration files into a different directory. The idlhelp
> program
> apparently searches for thelocale.alias andlocale.dir files only in
> the /usr/X11R6/lib/X11/localedirectory, which was missing in the new
> distribution. The new location was /usr/share/X11/locale.
>
> To solve the problem, I did the following:
>
> cd /usr/X11R6/lib
> ln -s /usr/share/X11 X11
>
> The symbolic link allows idlhelp to find the necessary files. I
> suspect
> your case is similar, just look first for the X11localedirectory (it
> may also be under /usr/share/X11, under /etc/X11, or somewhere else;
> use
> the find command if necessary), then create the X11 link so it points
> to the whole X11 directory.
>
> Additionally, I had to setup the LANG environment variable:
>
> export LANG=en_US.ISO-8859-1
>
> otherwise idlhelp would segfault.
>
> Hope that helps.
>
> Regards,
> Hector.

YES!! YES!! THIS WORKED!!! Thank you so much

-Justin
Re: Error: X does not support locale C. [message #54715 is a reply to message #54494] Tue, 10 July 2007 01:48 Go to previous message
Luis Hector Peraza is currently offline  Luis Hector Peraza
Messages: 1
Registered: July 2007
Junior Member
On Jun 19, 5:37 pm, cantr...@chara.gsu.edu wrote:
> I have a FC5 machine with IDL Version 5.5a. When I try and run the
> help, it does not work.
>
> IDL> ?
> IDL> Error: X does not support locale C.
>
> I have no idea what could be causing this. Any ideas?
>
> -Justin

Hello Justin,

I recently upgraded my Linux system and ended up with the same
problem.
The newer distribution came with Xorg instead of XFree86, which places
the configuration files into a different directory. The idlhelp
program
apparently searches for the locale.alias and locale.dir files only in
the /usr/X11R6/lib/X11/locale directory, which was missing in the new
distribution. The new location was /usr/share/X11/locale.

To solve the problem, I did the following:

cd /usr/X11R6/lib
ln -s /usr/share/X11 X11

The symbolic link allows idlhelp to find the necessary files. I
suspect
your case is similar, just look first for the X11 locale directory (it
may also be under /usr/share/X11, under /etc/X11, or somewhere else;
use
the find command if necessary), then create the X11 link so it points
to the whole X11 directory.

Additionally, I had to setup the LANG environment variable:

export LANG=en_US.ISO-8859-1

otherwise idlhelp would segfault.

Hope that helps.

Regards,
Hector.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Tab completion of variables and routines at the IDL command line
Next Topic: storing spectra into HDF

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:01:12 PDT 2025

Total time taken to generate the page: 0.00798 seconds