﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4922	"Tool ""import ngspice netlist"" not working"	Dietmar Winkler	Adeel Asghar	"I tried to run the script `ngspicetoModelica.py` via the '''very''' prominent place under ""Tools -> impoort 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:
1. what is the status of this script. 
2. Is it still maintained?
3. Why is there nowhere documentation to be found for this when it it got such a prominent placement under the ""Tools"" menu.


"	defect	new	high	Future	OMEdit	v1.13.0-dev-nightly			
