[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #RLV-485661]: Problem with loadBundle in Jython shell
- Subject: [IDV #RLV-485661]: Problem with loadBundle in Jython shell
- Date: Thu, 21 Feb 2008 14:42:09 -0700
> Using last night's svn code, when I bring up the Jython shell and do:
>
> loadBundle("nam.xidv"), I get:
>
> Error: Traceback (innermost last): File " ", line 1, in ? File " ",
> line 41, in loadBundle NameError: interp
>
>
Hi Tom,
The isl.py script runs in the context of the isl interpreter. The loadBundle
procedure calls
the loadBundle method in the interp:
interp.loadBundle(bundleFile,setFiles);
When you are running in the Jython Shell there isn't an Isl interpreter
available.
That said I've now changed the JythonShell to include the isl interpreter as
the global:
islInterpreter
I've also changed isl.py to reference use islInterpeter instead of the old
"interp"
-Jeff
Ticket Details
===================
Ticket ID: RLV-485661
Department: Support IDV
Priority: Normal
Status: Closed