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

Home » Public Forums » archive » Re: FINDFILE problems IDL 8 LINUX
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
Re: FINDFILE problems IDL 8 LINUX [message #74260] Mon, 10 January 2011 09:03 Go to next message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
On 10/01/11 16:11, David Fanning wrote:
> wlandsman writes:
>
>> Umm, wasn't FINDFILE supposed to be banished forever many years ago in favor of FILE_SEARCH ?
>>
>> In any case, FINDFILE still works on my Redhat Linux in IDL 8. Does the file
>>
>> /home/david/temp/idl_tmp_9nunrQ that it seems to be choking on actually exist?
>
> Well, it's an old program that is giving me fits today.
> Perhaps it needs refurbishing. :-)
>
> The file doesn't exist. In fact, the directory "temp"
> doesn't exist!
>

Back in the dim recesses of my memory I have a recollection that
findfile locates files by spawning a subprocess which performs an "ls"
which captures the output in a temporary file. The temporary file is
created in a directory defined by some environment variable TMPDIR,
TEMPDIR or the like, defaulting to /tmp. If this directory does not
exist, is not writeable (due to permissions, or quota or disk full etc)
then findfile fails.

--
Nigel Wade
Re: FINDFILE problems IDL 8 LINUX [message #74261 is a reply to message #74260] Mon, 10 January 2011 08:11 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
wlandsman writes:

> Umm, wasn't FINDFILE supposed to be banished forever many years ago in favor of FILE_SEARCH ?
>
> In any case, FINDFILE still works on my Redhat Linux in IDL 8. Does the file
>
> /home/david/temp/idl_tmp_9nunrQ that it seems to be choking on actually exist?

Well, it's an old program that is giving me fits today.
Perhaps it needs refurbishing. :-)

The file doesn't exist. In fact, the directory "temp"
doesn't exist!

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: FINDFILE problems IDL 8 LINUX [message #74262 is a reply to message #74261] Mon, 10 January 2011 08:05 Go to previous messageGo to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Monday, January 10, 2011 10:59:11 AM UTC-5, David Fanning wrote:
> Folks,
>
> Is anyone experiencing problems with FINDFILE in IDL 8
> on LINUX (Ubuntu)?

Umm, wasn't FINDFILE supposed to be banished forever many years ago in favor of FILE_SEARCH ?

In any case, FINDFILE still works on my Redhat Linux in IDL 8. Does the file

/home/david/temp/idl_tmp_9nunrQ that it seems to be choking on actually exist?

--Wayne
Re: FINDFILE problems IDL 8 LINUX [message #74409 is a reply to message #74260] Mon, 10 January 2011 09:30 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nigel Wade writes:

> Back in the dim recesses of my memory I have a recollection that
> findfile locates files by spawning a subprocess which performs an "ls"
> which captures the output in a temporary file. The temporary file is
> created in a directory defined by some environment variable TMPDIR,
> TEMPDIR or the like, defaulting to /tmp. If this directory does not
> exist, is not writeable (due to permissions, or quota or disk full etc)
> then findfile fails.

Well, hard to say. But I did go through the Coyote Library
this morning to find and change all references to FindFile
to File_Search. All appears well now.

Thanks for the help.

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Fitting an ellipsoid with MPFITEXPR
Next Topic: Re: MAP_GRID and MAP_CONTINENTS question ?

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

Current Time: Fri Oct 10 08:41:40 PDT 2025

Total time taken to generate the page: 1.36003 seconds