X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



3882 Rate this article:
No rating

iTools displays "No Valid LangCat"

Problem: 

If you are using iTools to visualize some data (for example using iimage), it is possible for all the menu items to say "No Valid LangCat" instead of what they should say.

Solution:

This usually indicates that IDL is unable to find the catalog files located in the directory shown below:

IDL_DIR/resource/langcat/itools

There are a couple of reasons why IDL might be failing to find these files. The first possible cause of the issue is that the files do not exist. Therefore, the first solution is to confirm that the files exist in this directory. If the files do not exist, you can try re-installing IDL and see if that helps with the problem. 

Another possible cause of the problem is the IDL search path may not include the directory with the language catalogs. The IDL_PATH preference should include an "<IDL_DEFAULT>" tag. This tag adds all the standard paths to the IDL Search Path that are needed to run IDL properly. You can check this using the PREF_GET command as shown below:

IDL> print, pref_get('idl_path')
<IDL_DEFAULT>;C:\Exelis\se51\lib;C:\Users\username\dj_dialog_editor;

If the "<IDL_DEFAULT>" tag is not included int he IDL search path, you can add it to the path using the PREF_GET, PREF_SET, and PATH_CACHE routines. For example:

path = PREF_GET('idl_path')
new_path = '<IDL_PATH>' +  path_sep(/SEARCH_PATH) + path
pref_set, 'idl_path', new_path, /commit
path_cache, /rebuild

 

Review 12/11/14 by DS and KK

4 comments on article "iTools displays "No Valid LangCat" "

Avatar image

Derek

The LangCat files exist in their proper folder. When I check the IDL path my command line reads:

IDL> print, pref_get('idl_path')

;

It seems like i'm missing the ;C:\Exelis\se51\lib;C:Users\username\dj_dialog_editor;

can anyone help me with this issue?


Avatar image

Derek

This is what the command line reads:

IDL> print, pref_get('idl_path')

;


Avatar image

David Starbuck

It looks to me like you are missing the '' tag in your IDL path preference. Try running the following commands and see if that helps with the problem:

path = PREF_GET('idl_path')

new_path = '' + path_sep(/SEARCH_PATH) + path

pref_set, 'idl_path', new_path, /commit

path_cache, /rebuild

If it doesn't help with the problem, there might be a environmental variable that is overriding the IDL_PATH preference.


Avatar image

Magdoom

I am also facing the "No Valid LangCat" problem but only when running IDL as a virtual machine. When I typed,

IDL> print, pref_get('idl_path')

I am also missing the additional path mentioned in the solution. Is that a problem ? The LangCat files are in their proper folder.

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »