Re: envi_open_file hangup [message #53299] |
Thu, 05 April 2007 17:47 |
christina
Messages: 3 Registered: February 2007
|
Junior Member |
|
|
Thanks for your response. Just to clarify, I've been just typing in
the envi_open_file command into the idl command prompt, and have tried
a variety of different images.
Christina
|
|
|
Re: envi_open_file hangup [message #53300 is a reply to message #53299] |
Thu, 05 April 2007 17:23  |
Jeff N.
Messages: 120 Registered: April 2005
|
Senior Member |
|
|
On Apr 5, 4:40 pm, "christina" <galax...@gmail.com> wrote:
> Hi all,
>
> I've written a script in IDL which has worked for months, and without
> changing the code, the function envi_open_file no longer works. It
> doesnt display any error messages, it gets hung up. If I interrupt the
> process, IDL says it was interrupted at "envi_open_file", and
> sometimes it says at "envi_error". I know the code hasnt changed
> because I have many versions of the same script which are older and
> none of them run when they all used to. The line is:
>
> envi_open_file, 'SIR.png', r_fid = fid
>
> I am running solaris. To debug I have been using only this line on the
> idl command line after envi, /restore_base_files. I have tried
> including the path for the file, excluded the r_fid option, saving the
> filename as a variable and feeding that to envi_open_file, and the
> file opens just fine from the envi GUI. I have also tried it on a
> different solaris machine which is also running the same version of
> idl and envi (6.3, and 4.3).
>
> Has anyone had this problem, or know of a bug, or have any idea what
> could be causing this problem? Any input would be greatly appreciated.
>
> Thanks
> Christina Williams
>
> *************************************
> Christina Williams
> Geophysical Institute,
> University of Alaska, Fairbanks
> *************************************
I'm sure you're going to get better responses from folks more
knowledgeable on this than me, but have you tried using your script to
open a different file (to check for some kind of problem with
permissions)? Also, I would probably try using envi_open_file in a
different script and seeing what happens before I gave up completely.
Hope you get it worked out,
Jeff
|
|
|