Re: IDLDOC 3.4.1 Problem [message #78579] |
Wed, 07 December 2011 19:13  |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 12/5/11 4:05 PM, David Fanning wrote:
> Folks (and Mike),
>
> I ran into an unusual problem today. I was running IDL 8.1
> in front of a client, naturally, and XStretch failed with
> the message:
>
> % Keyword DIMENSION not allowed in call to: MOMENT
>
> The traceback lead me to the VARIANCE command, and
> FILE_WHICH pointed me to the MOMENT program in the
> IDL 8.1 distribution (where VARIANCE was coming from, too),
> which upon inspection certainly did have a DIMENSION
> keyword defined for it.
>
> Say what!?
>
> It turned out that a compiled version of MOMENT was
> coming from the IDLDOC 3.4.1 save file. I found it
> with HELP, /SOURCE:
>
> MOMENT C:\IDL\idldoc-3.4\idldoc-3.4.1\idldoc.sav
>
> I'm not sure what to do about this, except do all
> my documentation work late at night, after work. :-)
The problem is that I use RESOLVE_ALL to build the IDLdoc .sav file from
IDL 6.4 (for maximum compatibility). This .sav file is only provided as
a convenient way to bundle all the source files -- you can also get the
source distribution of IDLdoc which provides all the source code for
IDLdoc. Since IDLdoc is not intended to run via the IDL VM or Runtime
environments, the .sav file probably should only include the IDLdoc
source files and not dependencies from the IDL library.
I don't see another way around the issue that if someone on IDL 7.0+
runs IDLdoc from the .sav file, they will now have a few old IDL library
routines.
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
|
|
|
Re: IDLDOC 3.4.1 Problem [message #78734 is a reply to message #78579] |
Mon, 12 December 2011 14:38  |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 12/7/11 8:13 PM, Michael Galloy wrote:
> On 12/5/11 4:05 PM, David Fanning wrote:
>> Folks (and Mike),
>>
>> I ran into an unusual problem today. I was running IDL 8.1
>> in front of a client, naturally, and XStretch failed with
>> the message:
>>
>> % Keyword DIMENSION not allowed in call to: MOMENT
>>
>> The traceback lead me to the VARIANCE command, and
>> FILE_WHICH pointed me to the MOMENT program in the
>> IDL 8.1 distribution (where VARIANCE was coming from, too),
>> which upon inspection certainly did have a DIMENSION
>> keyword defined for it.
>>
>> Say what!?
>>
>> It turned out that a compiled version of MOMENT was
>> coming from the IDLDOC 3.4.1 save file. I found it
>> with HELP, /SOURCE:
>>
>> MOMENT C:\IDL\idldoc-3.4\idldoc-3.4.1\idldoc.sav
>>
>> I'm not sure what to do about this, except do all
>> my documentation work late at night, after work. :-)
>
> The problem is that I use RESOLVE_ALL to build the IDLdoc .sav file from
> IDL 6.4 (for maximum compatibility). This .sav file is only provided as
> a convenient way to bundle all the source files -- you can also get the
> source distribution of IDLdoc which provides all the source code for
> IDLdoc. Since IDLdoc is not intended to run via the IDL VM or Runtime
> environments, the .sav file probably should only include the IDLdoc
> source files and not dependencies from the IDL library.
>
> I don't see another way around the issue that if someone on IDL 7.0+
> runs IDLdoc from the .sav file, they will now have a few old IDL library
> routines.
I made a 3.4.2 release to address this issue, grab it from:
http://idldoc.idldev.com/wiki/Downloads
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
|
|
|