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

Home » Public Forums » archive » envi_title_bar.ico missing and null pointer dereferenced error when using .sav file in ENVI
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
envi_title_bar.ico missing and null pointer dereferenced error when using .sav file in ENVI [message #69461] Thu, 07 January 2010 07:38
robintw is currently offline  robintw
Messages: 37
Registered: March 2009
Member
Hi,

I've written some routines using ENVI/IDL, and packaged them up in
a .sav file to give to some of my colleagues. I've put the .sav file
in the save_add directory, and added the appropriate items to
envi.men. This works fine on my machine, but when I give it to one of
my colleagues to install on his machine he gets various strange
errors.

Firstly, when ENVI loads an error appears saying that
envi_title_bar.ico cannot be found in the directory that it's meant to
be found in, and asks you to specify a location for it. If you just
cancel the dialog box then the icon on the title bar appears fine. The
file envi_title_bar.ico definitely exists in the /menu directory of
the envi installation.

Another error that seems to occur is when running one of the
functions. The first line of the function is a call to ENVI_SELECT,
fid=fid to get the fid for the file the user has selected. The dialog
loads fine, but when the user selects a file an error occurs saying
"Attempt to dereference null pointer P_INFO". I've never seen this
error before, and it strikes me that a null pointer exception is a bit
of a strange error to get here. I've now just been informed by my
colleague that whenever my .sav file is present in the save_add
directory this null pointer error occurs whenever the ENVI_SELECT
dialog box is used, even when used by the built-in ENVI routines.

Neither of these happen on my computer, only on my colleagues. Both
computers are running exactly the same version of ENVI/IDL.

Does anyone have any idea what is going wrong here? I can't see how
the .sav file can work fine on my machine and not my colleagues - I
thought .sav files were meant to be portable!

I can provide copies of the code or the .sav file if needed.

Best regards,

Robin
[Message index]
 
Read Message
Previous Topic: Mosaic_doit in IDL gives a different result that the ENVI mosaic tool
Next Topic: Write iVolume to PNG from command line

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

Current Time: Thu Oct 09 07:33:48 PDT 2025

Total time taken to generate the page: 1.68589 seconds