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

Home » Public Forums » archive » IDL error message
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
IDL error message [message #87994] Tue, 11 March 2014 08:44 Go to next message
sheikhbahaee is currently offline  sheikhbahaee
Messages: 3
Registered: March 2014
Junior Member
I am a newbie in IDL. I have modified somebody's code and now I get this error message:
Attempt to call undefined procedure/function: 'LOADCT_INTERNALGDL'.
% Execution halted at: LOADCT 82 /usr/share/doc/gnudatalanguage/examples/pro/loadct.pro

I was trying to find some routine called loadct_internalgdl.pro which contains the definition for the given function but couldn't find anything. Any tips how to deal with the error message?

Thanks
Re: IDL error message [message #87995 is a reply to message #87994] Tue, 11 March 2014 08:55 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
sheikhbahaee@gmail.com writes:

> I am a newbie in IDL. I have modified somebody's code and now I get this error message:
> Attempt to call undefined procedure/function: 'LOADCT_INTERNALGDL'.
> % Execution halted at: LOADCT 82 /usr/share/doc/gnudatalanguage/examples/pro/loadct.pro
>
> I was trying to find some routine called loadct_internalgdl.pro which contains the definition for the given function but couldn't find anything. Any tips how to deal with the error message?

My guess is that you don't have this directory on your IDL path:

/usr/share/doc/gnudatalanguage/examples/pro

I think the problem would probably disappear if you add this directory
and any of its sub-directories to your IDL path. Here is an article that
describes how to add a third-party library to your IDL path:

http://www.idlcoyote.com/code_tips/installcoyote.php

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: IDL error message [message #87996 is a reply to message #87995] Tue, 11 March 2014 09:15 Go to previous messageGo to next message
sheikhbahaee is currently offline  sheikhbahaee
Messages: 3
Registered: March 2014
Junior Member
>
>> I am a newbie in IDL. I have modified somebody's code and now I get this error message:
>
>> Attempt to call undefined procedure/function: 'LOADCT_INTERNALGDL'.
>
>> % Execution halted at: LOADCT 82 /usr/share/doc/gnudatalanguage/examples/pro/loadct.pro
>
>>
>
>> I was trying to find some routine called loadct_internalgdl.pro which contains the definition for the given function but couldn't find anything. Any tips how to deal with the error message?
>
>
>
> My guess is that you don't have this directory on your IDL path:
>
>
>
> /usr/share/doc/gnudatalanguage/examples/pro
>
>
>
> I think the problem would probably disappear if you add this directory
>
> and any of its sub-directories to your IDL path. Here is an article that
>
> describes how to add a third-party library to your IDL path:
>
>
>
> http://www.idlcoyote.com/code_tips/installcoyote.php
>
>
>
> Cheers,
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

I set up the IDL_PATH in my .bashrc file before and I sourced the .bashrc file. I don't understand why doesn't the code distinguish this procedure!?
Re: IDL error message [message #87997 is a reply to message #87996] Tue, 11 March 2014 09:21 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
sheikhbahaee@gmail.com writes:

> I set up the IDL_PATH in my .bashrc file before and I sourced the .bashrc file. I don't understand why doesn't the code distinguish this procedure!?

Me, either. It must be something neither of us suspects. Maybe you are
not a good typist and made a spelling error. Happens to me,
occasionally. ;-)

Cheers,

David

P.S. Can you find the file anywhere in the GNUIDL distribution? Is the
directory where you find it on your IDL path?

IDL> Print, !Path
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: IDL error message [message #87999 is a reply to message #87997] Tue, 11 March 2014 12:50 Go to previous messageGo to next message
sheikhbahaee is currently offline  sheikhbahaee
Messages: 3
Registered: March 2014
Junior Member
>
>
>
>> I set up the IDL_PATH in my .bashrc file before and I sourced the .bashrc file. I don't understand why doesn't the code distinguish this procedure!?
>
>
>
> Me, either. It must be something neither of us suspects. Maybe you are
>
> not a good typist and made a spelling error. Happens to me,
>
> occasionally. ;-)
>
>
>
> Cheers,
>
>
>
> David
>
>
>
> P.S. Can you find the file anywhere in the GNUIDL distribution? Is the
>
> directory where you find it on your IDL path?
>
>
>
> IDL> Print, !Path
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

I am too lazy to type I usually copy and paste. I printed the command
IDL>print,!PATH
vol/software/software/tools/idl/idl71:/usr/share/doc/gnudata language/examples/pro:/usr/share/doc/gnudatalanguage/example s/pro/dicom:....

which is the same path as loadct.pro exists. Does this error message have anything to do with GDL installation or the version of IDL I use or not?

Cheers.
Re: IDL error message [message #88000 is a reply to message #87999] Tue, 11 March 2014 13:40 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
sheikhbahaee@gmail.com writes:


> I am too lazy to type I usually copy and paste. I printed the command
> IDL>print,!PATH
> vol/software/software/tools/idl/idl71:/usr/share/doc/gnudata language/examples/pro:/usr/share/doc/gnudatalanguage/example s/pro/dicom:....
>
> which is the same path as loadct.pro exists. Does this error message have anything to do with GDL installation or the version of IDL I use or not?

The error has to do with not finding the program LOADCT_INTERNALGDL. If
the program isn't anywhere to be found, that would explain the error!

I'm not familiar with the program, but the fact that it has a "GDL"
associated with it seems like a clue that it is part of the GDL
distribution.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: IDL error message [message #88001 is a reply to message #87999] Tue, 11 March 2014 13:42 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Tuesday, March 11, 2014 2:50:19 PM UTC-5, sheikh...@gmail.com wrote:

>
> IDL>print,!PATH
>
> vol/software/software/tools/idl/idl71:/usr/share/doc/gnudata language/examples/pro:/usr/share/doc/gnudatalanguage/example s/pro/dicom:....
>
>

The IDL library is before the GDL library on the path So, IDL is going to try to use the IDL library's version of loadct. This is clearly not the same as GDL's loadct. In particular, IDL's loadct doesn't have the helper function LOADCT_INTERNALGDL. My guess is that GDL's version _does_.

David's link shows you how to put your "user" libraries first on your path.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MPFIT and initial Guesses
Next Topic: Live IDL Help on Google Helpouts

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

Current Time: Wed Oct 08 11:33:30 PDT 2025

Total time taken to generate the page: 0.00460 seconds