This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Inquiry: I'm starting to play with ISL a little, and for every script I try I
> get the exception below.
> I'm using fairly simple scripts such as the attatched script.
>
> ==== StackTrace ===============================
> [brucef@mongo brucef]$ runIDV test.isl
> couldn't open registry file: /Users/brucef/.jython
> Traceback (innermost last):
> (no code object) at line 0
> File "<string>", line 3
> print 'Number:' + $${loopindex}
>
I don't know why you got the error referring to the registry file (don't even
know
what that is).
My guess is is that you have double dollar signs. The $${loopindex}
is handled by the IDV, replacing the ${loopindex} with "0"
Then, I think, jython is trying to evaluate the $0 as something.
-Jeff
Ticket Details
===================
Ticket ID: TJE-306333
Department: Support IDV
Priority: Normal
Status: Closed