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

Home » Public Forums » archive » Re: Problem with IDL and fits
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problem with IDL and fits [message #67447] Wed, 22 July 2009 13:20 Go to previous message
pfp is currently offline  pfp
Messages: 12
Registered: July 2009
Junior Member
On Jul 22, 3:33 pm, David Fanning <n...@dfanning.com> wrote:
> Barbara writes:
>> I know it's in the path because I can see it in the folder that I have
>> set as my path. When i print file_which I get empty space. I can open
>> it in the editor box, but when I try to compile, it tells me it
>> doesn't exist. but obviously it does!
>
> If you don't see it with FILE_WHICH, it is *not* in
> your path. :-)
>

The reason it is not in the path could also be mismatching case in the
file name, if it is a system where case matters (such as Linux). If
the file got named "FITS_HELP.PRO", for instance, since IDL would be
looking for "fits_help.pro". If that is the case, file_which
("FITS_HELP.PRO") would find it, but just calling the procedure would
not.

The idlastro files come all in lower case in the tar file, but still
it might have been changed in a copy from a Windows filesystem, or if
the file was saved by hand (as in going to
http://idlastro.gsfc.nasa.gov/ftp/pro/fits/fits_help.pro and saving
the page contents from the browser).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: jpg image
Next Topic: problems with IDL-IDL bridge spawning

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

Current Time: Sat Oct 11 15:44:35 PDT 2025

Total time taken to generate the page: 1.91859 seconds