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

Home » Public Forums » archive » Re: IDL & ENVI error: WIDGET_CONTROL: Invalid widget identifier: 17
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: IDL & ENVI error: WIDGET_CONTROL: Invalid widget identifier: 17 [message #65878 is a reply to message #65875] Fri, 27 March 2009 10:51 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
robintw wrote:
> Hi,
>
> I'm very much an IDL newbie, but I have experience in other
> programming languages. I'm trying to use IDL with ENVI to do some
> image processing.
>
> My code is below, and is relatively simple - just calculating some
> statistics for the image. However, every so often when I run it I get
> the error "WIDGET_CONTROL: Invalid widget identifier: 17.". If I close
> the IDL/ENVI Workbench and reload it then the error goes away and I
> can run it fine again a few times, until the error starts coming up
> again.
>
> I'm not doing anything with widgets explicitly (although I think the
> ENVI_SELECT_FILE function uses widgets) so I can't think what I'm
> doing. I use the "envi" command at the beginning to load the envi
> environment, is there a command I need to run at the end to close the
> envi environment and release all the files and widgets etc. If so,
> what is this command - I can't seem to find it anywhere!
>
> Thanks,
>
> Robin

Do you use control+F2 at some time before you get the error? I can
reproduce this problem only by terminating the code.... Envi disapear.
Next calls to "envi" produce this error. Doing .reset is enough to bring
back envi and to remove the problem... maybe there is something to
investigate there... (windows, envi 4.6)

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL - EXP fitting function
Next Topic: reading large files

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

Current Time: Wed Oct 08 17:32:49 PDT 2025

Total time taken to generate the page: 0.00536 seconds