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

Home » Public Forums » archive » FILE_TEST unreadable report
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
FILE_TEST unreadable report [message #32967] Mon, 18 November 2002 04:35
Niel Malan is currently offline  Niel Malan
Messages: 7
Registered: April 2002
Junior Member
I've recently had the problem that FILE_TEST reports a file unreadable, even though every other indication is that it is. Has anybody else seen this kind of behaviour for FILE_TEST?

IDL> file = DIALOG_PICKFILE()
IDL> print, file
/some/dir/file.xx
IDL> print, FILE_TEST(file)
1
IDL> print, FILE_TEST(file, /REGULAR)
1
IDL> print, FILE_TEST(file, /REGULAR, /READ)
0

And yet

IDL> xdisplayfile, file

shows the contents of the file.

The pathname does contain some symbolic links.

IDL 5.4 (OSF alpha)

Niel Malan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 3D Scatter Plot
Next Topic: 3d Scatter Plot

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

Current Time: Sun Oct 12 04:34:45 PDT 2025

Total time taken to generate the page: 1.76163 seconds