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

Home » Public Forums » archive » Re: Trouble running demo
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: Trouble running demo [message #45071 is a reply to message #45070] Mon, 01 August 2005 20:02 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning wrote:
> Mark Hadfield writes:
>
>> FWIW, demo works fine for me on IDL Version 6.2, Microsoft Windows
>> (Win32 x86 m32). (c) 2005, Research Systems, Inc.
>>
>> The demoobj class is found in
>>
>> <RSI_DIR>\IDL62\examples\demo\demosrc\demoObj__define.pro
>>
>> Hmmm, that's a mixed-case file name. It will work OK on Windows (because
>> it's case-insensitive) but not on Unix. I wonder if that's the problem.
>
> Whoops! Yes, that demo thing from before was something it found
> in my startup directory (left over from when it did the migration of
> preferences, I think). Now DEMO starts up file, but unlike
> Mark, I find it running a save file:
>
> DEMO C:\RSI\IDL62\lib\hook\demo.sav
> DEMOEVENT C:\RSI\IDL62\lib\hook\demo.sav
> ...

Err, actually I misspoke slightly. When I said "the demoobj class is
found in [a file in the demosrc directory]". I meant that's where *I*
found it. But when I actually run DEMO, IDL loads demo.sav and prints:

IDL> demo
Embedded IDL: Research Systems, Inc., IDL Demo System.
Restored file: DEMO.
Loaded DLM: XML.

However the demosrc directory *is* on the path so in principle DEMO
should still work if I delete demo.sav (but I haven't tried this yet).

Now, when Richard French tried to run DEMO, he got...

IDL> demo
% Attempt to call undefined procedure/function: 'DEMOOBJ__DEFINE'.
% Error occurred at: DEMO 581
/usr/local/rsi/idl_6.2/examples/demo/demosrc/demo.pro
% $MAIN$
% Execution halted at: $MAIN$

...so for some reason it's not finding the save files and instead
compiling the DEMO procedure from source.

So now there are 2 puzzles on Richard French's system:

* Why is IDL not finding and restoring demo.sav?

* In building the demo routines from source, why is
demoobj__define not found?

A possible answer to the second question is that demoobj_define.pro is
misnamed.


--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Google Desktop Search Plug-in for .pro files
Next Topic: 2 dimensional array from 3 x 1dimensional arrays

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

Current Time: Wed Oct 08 18:18:34 PDT 2025

Total time taken to generate the page: 0.00432 seconds