Opened 7 years ago
Last modified 6 years ago
#4922 closed defect
Tool "import ngspice netlist" not working — at Version 1
Reported by: | Dietmar Winkler | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: |
Description (last modified by )
I tried to run the script ngspicetoModelica.py
via the very prominent place under "Tools -> import ngspice netlist" just to find out that it doesn't do anything.
After a bit of searching I found some reference. One from the Forum which never seemed to have gotten resolved: https://openmodelica.org/forum/default-topic/1763-reading-a-ngspice-netlist
I also tried running the script directly only to get:
$ python2 /usr/share/omc/scripts/ngspicetoModelica.py Enter file name: sample.cir Traceback (most recent call last): File "/usr/share/omc/scripts/ngspicetoModelica.py", line 597, in <module> modelName, modelInfo, subcktName, paramInfo, transInfo = addModel(optionInfo, dir_name) File "/usr/share/omc/scripts/ngspicetoModelica.py", line 80, in addModel eachline = eachline[1].split() IndexError: list index out of range
Questions:
- what is the status of this script.
- Is it still maintained?
- Why is there nowhere documentation to be found for this when it it got such a prominent placement under the "Tools" menu.
Note:
See TracTickets
for help on using tickets.