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

Home » Public Forums » archive » Re: Findfile finds no files
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 finds no files [message #29975] Wed, 03 April 2002 02:45
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Pete Riley wrote:

> Hi,
>
> I just came across a weird problem I'm not sure if it's been talked about
> before. I'm using IDL 5.5 on linux RH 7.2. I ran some code which calls
> findfile() last week and everything worked out fine. Today, it returns no
> files, even with
>
> Print,findfile('*')
>
> Yet $ls shows all the files in the current directory.
>
> Has anyone come across this?
>
> Thanks in advance, Pete

Apart from the issue Dave mentions, the only time I have seen anything
similar to this if the system disk is full. findfile() spawns a ls process
to get the file list, holding it in a temporary file on disk. If there
isn't sufficient space on the disk to hold the list of files the results
from findfile() are somewhat random.

How full is your system disk?

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
Re: Findfile finds no files [message #29978 is a reply to message #29975] Tue, 02 April 2002 19:28 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Pete Riley (uk2@mac.com) writes:

> I just came across a weird problem I'm not sure if it's been talked about
> before. I'm using IDL 5.5 on linux RH 7.2. I ran some code which calls
> findfile() last week and everything worked out fine. Today, it returns no
> files, even with
>
> Print,findfile('*')
>
> Yet $ls shows all the files in the current directory.
>
> Has anyone come across this?

Are you sure you have IDL in the directory you *think*
you have it in when you issue the FINDFILE command?

That is the only reason I can think of why it would
work one day and not the next, .... unless. You don't
happen to have a wooden cross and a handful of
garlic handy, do you? You may need it... :-(

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: FIND the indexes of a value in a matrix
Next Topic: Re: Printing with Xprinter: Getting only grayscale eps files

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

Current Time: Thu Oct 09 14:14:20 PDT 2025

Total time taken to generate the page: 0.71997 seconds