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

Home » Public Forums » archive » Findfile finds no files
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: Findfile finds no files` (linux NFS bug) [message #30133 is a reply to message #30056] Sat, 06 April 2002 11:27 Go to previous messageGo to previous message
Robert Stockwell is currently offline  Robert Stockwell
Messages: 74
Registered: October 2001
Member
> Pete Riley <uk2@mac.com> writes:
>
>
>> 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?
>>

I have, and had to write a piece of code that first checked
the OS, then if *nix, spawned a system command (ls) and then
where'd and strposed the results to get the filtered list.

I would like to point out another file list bug, that caused
many a grey hair.

Under linux redhat 7.0, the NFS has a bug in that for a directory
containg many files (12000 in my case), the filenames are not reported
correctly. Some files will be missing in the ls commands, and some will
be repeated. There are about 5% errors, i.e. a few hundred of files went
missing in ls commands, and a few hundred were repeated in the
'ls' command result.

By "missing" I mean that the file is really there, and can be opened and read
directly, but any "ls" command will not have the file in the result.

This caused my analysis of a large satellite data set to have many small holes
in it, which were only uncovered after I carefully went through the results.
UGH!

Upgrading linux to 7.2 seems to solve the problem



Cheers,
bob stockwell
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: color bar..
Next Topic: Re: drawing lines interactively

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

Current Time: Wed Oct 08 18:39:57 PDT 2025

Total time taken to generate the page: 0.00396 seconds