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

Home » Public Forums » archive » findfile gives 'Array has a corrupted descriptor' error
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 gives 'Array has a corrupted descriptor' error [message #85336 is a reply to message #85335] Thu, 25 July 2013 18:05 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
b_gom@hotmail.com writes:

> I running IDL 8.2.3 on Win7 64bit. I have an older program that uses findfile() to recursively find a set of filenames with a wildcard. I realize findfile is obsolete, but it runs *much* faster than file_search. When the findfile returns more than ~5000 files, however, I get the following error:
>
> found=file_search(uval.path+'*',count=count,/mark_dir)
> % Array has a corrupted descriptor: FOUND.
>
> Any ideas what is causing the error?

A bug in FindFile that occurs at about this number of files.

> Assuming that this is a bug that will not be fixed, does anyone have a fast alternative to file_search?

No, sorry. :-)

Cheers,

David

P.S. Do you know the old joke about computers making very fast, very
accurate mistakes?



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiple plots with plot function
Next Topic: Ugly UNIX IDL Workbench

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

Current Time: Fri Oct 10 20:16:53 PDT 2025

Total time taken to generate the page: 0.56425 seconds