Re: Findfile finds no files [message #29975] |
Wed, 03 April 2002 02:45 |
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  |
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
|
|
|