Re: iTools problem [message #57647] |
Wed, 19 December 2007 18:21 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
tarequeaziz@gmail.com writes:
> The last Line,of course, refers to my program.
Well, I didn't say it made working with iTools any
easier. I just said at least you have a place to start. :-)
Just off-hand, did you register all the properties of
your object? This look sort of like an automatic
property setting something, something that has gone
bad. Breakpoints and print statements are my old-fashioned
way of working. Don't know what to tell you beyond that.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: iTools problem [message #57649 is a reply to message #57647] |
Wed, 19 December 2007 17:12  |
tarequeaziz
Messages: 20 Registered: November 2007
|
Junior Member |
|
|
Dave,
In case u might find it useful, here's the complete error report
generated by the code:
"
Traceback Report from IDLITSYSTEM::CREATETOOL:
Unable to invoke method on NULL object reference: <OBJREF
(<NullObject>)>.
Execution halted at: IDLITGRLAYER::SETPROPERTY 590 C:\RSI\IDL63\lib
\itools\framework\idlitgrlayer__define.pro
IDLITPROPERTYBAG::PLAYBACKPROPERTIES 119 C:\RSI
\IDL63\lib\itools\framework\idlitpropertybag__define.pro
IDLITOBJDESC::GETOBJECTINSTANCE 388 C:\RSI
\IDL63\lib\itools\framework\idlitobjdesc__define.pro
IDLITOBJDESCTOOL::GETOBJECTINSTANCE 250 C:\RSI
\IDL63\lib\itools\framework\idlitobjdesctool__define.pro
IDLITOBJDESCVIS::GETOBJECTINSTANCE 106 C:\RSI
\IDL63\lib\itools\framework\idlitobjdescvis__define.pro
IDLITGRVIEW::INIT 123 C:\RSI\IDL63\lib\itools
\framework\idlitgrview__define.pro
_IDLITLAYOUTMANAGER::CREATEVIEW 193 C:\RSI
\IDL63\lib\itools\framework\_idlitlayoutmanager__define.pro
IDLITGRSCENE::GETCURRENTVIEW 163 C:\RSI
\IDL63\lib\itools\framework\idlitgrscene__define.pro
_IDLITLAYOUTMANAGER::_UPDATELAYOUT 270 C:\RSI
\IDL63\lib\itools\framework\_idlitlayoutmanager__define.pro
_IDLITLAYOUTMANAGER::SETPROPERTY 391 C:\RSI
\IDL63\lib\itools\framework\_idlitlayoutmanager__define.pro
_IDLITGRDEST::SETPROPERTY 270 C:\RSI\IDL63\lib
\itools\framework\_idlitgrdest__define.pro
IDLITGRWINSCENE::SETPROPERTY 256 C:\RSI
\IDL63\lib\itools\framework\idlitgrwinscene__define.pro
CW_ITWINDOW_REALIZE 214 C:\RSI\IDL63\lib\itools
\ui_widgets\cw_itwindow.pro
IDLITWDTOOL 455 C:\RSI\IDL63\lib\itools
\ui_widgets\idlitwdtool.pro
IDLITSYSTEM::_INITIALIZEUSERINTERFACE 2210 C:
\RSI\IDL63\lib\itools\framework\idlitsystem__define.pro
IDLITSYSTEM::CREATETOOL 2416 C:\RSI\IDL63\lib
\itools\framework\idlitsystem__define.pro
IDLITSYS_CREATETOOL 223 C:\RSI\IDL63\lib\itools
\framework\idlitsys_createtool.pro
ICONTOUR 167 C:\RSI\IDL63\lib\itools
\icontour.pro
SOLIDBODY 90 C:\Documents and Settings
\Tareque\My Documents\Research\Data Analysis\Electron trap data\Aziz
\Solidbody.pro
$MAIN$ "
The last Line,of course, refers to my program.
Thanks
|
|
|
Re: iTools problem [message #57650 is a reply to message #57649] |
Wed, 19 December 2007 17:05  |
tarequeaziz
Messages: 20 Registered: November 2007
|
Junior Member |
|
|
Dave,
first of all,thanks!
secondly,
(I can understand, and I'm even a
> little sympathetic to their reasons for not wanting
> people mucking around in iTools code, but hey, write
> better documentation then!)
.....could not agree more!
now here comes the bad part.
Using your code, I did get a very 'elaborate' report on what went
wrong.
Only problem is, I can not make anything out of it.
so once again...
My Dear IDL guru,
HELP...!!!!!!!!!!!
On Dec 19, 4:38 pm, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> tarequea...@gmail.com writes:
>
>>> I tried using the proverbial 'itreset' command. It seems like working,
>>> but in reality, it does not. Because as soon as you restart the
>>> icontour, same freaking window pops up.
>
>> Let me check my ammo. I'll see if I can help.
>
> Actually, I just thought of this. One of the problems
> with iTools is that the error messages suck. At least
> they suck if you are trying to figure out what the
> heck is going on. (I can understand, and I'm even a
> little sympathetic to their reasons for not wanting
> people mucking around in iTools code, but hey, write
> better documentation then!)
>
> So, at one time, I figured out how to add better error
> handling to iTools programs. This at least gave
> me a line number where I could go and try to figure
> out what was going on. Maybe that will help you:
>
> http://www.dfanning.com/itool_tips/errors.html
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: iTools problem [message #57651 is a reply to message #57650] |
Wed, 19 December 2007 13:38  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> tarequeaziz@gmail.com writes:
>
>> I tried using the proverbial 'itreset' command. It seems like working,
>> but in reality, it does not. Because as soon as you restart the
>> icontour, same freaking window pops up.
>
> Let me check my ammo. I'll see if I can help.
Actually, I just thought of this. One of the problems
with iTools is that the error messages suck. At least
they suck if you are trying to figure out what the
heck is going on. (I can understand, and I'm even a
little sympathetic to their reasons for not wanting
people mucking around in iTools code, but hey, write
better documentation then!)
So, at one time, I figured out how to add better error
handling to iTools programs. This at least gave
me a line number where I could go and try to figure
out what was going on. Maybe that will help you:
http://www.dfanning.com/itool_tips/errors.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: iTools problem [message #57653 is a reply to message #57651] |
Wed, 19 December 2007 13:30  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
tarequeaziz@gmail.com writes:
> I tried using the proverbial 'itreset' command. It seems like working,
> but in reality, it does not. Because as soon as you restart the
> icontour, same freaking window pops up.
Let me check my ammo. I'll see if I can help.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|