Qucs / qucsator

Circuit simulator of the Qucs project
http://qucs.sourceforge.net
GNU General Public License v2.0
24 stars 12 forks source link

qucsator stdin input is broken #8

Open in3otd opened 6 years ago

in3otd commented 6 years ago

a user reported that qucsator does not work (anymore) with the input netlist coming from stdin.

At a first glance it seems to be related to the added part about loading dynamic modules which does a first pass on the netlist expecting to read it from a real file.

Not sure how to handle this, as the usual netlist parser will need to re-read the input again from the beginning so we may need to first explicitly read the whole input netlist.

felix-salfelder commented 6 years ago

if arguments do not work... maybe environment does.

didn't you recently add a qucsator wrapper to be called from asco to fix a similar issue? this wrapper could also pass arguments from the environment to qucsator. set the environment before running asco...

(and then, remove all the double reading hacks)