Closed hoditohod closed 10 years ago
Dragging from the dock does not instantiate the component properly. See below the schematic section for a bridge dragged from the dock and another from the Qucs Library Tool.
<Components>
<Lib * 1 220 130 0 0 0 0 "Bridges" 0 "GBU4G" 0>
<Lib D1 1 390 210 20 20 0 0 "Bridges" 0 "GBU4G" 0>
</Components>
Bug is confirmed for Linux. This bug appears for only components that contains subcircuits (Diode bridges, NMOSFETS with diode, etc., but not opamps). Single transistors can be placed on schematic without problems.
These libs seem to trigger the issue:
BRIDGES LIB
MOSFETs LIB
NMOSFETs LIB
PMOSFETs LIB
Varistor LIB
ZDiodes LIB
I cannot reproduce this, since I can only add these element by drop and drag them in the "manage libraries", and the sub-circuit will be properly initialize in this way.
Thank you @ra3xdh !
Version: Qucs 0.0.18 official windows build.
How to reproduce:
Observed outcome: syntax error in netlist
line 12: checker error, subcircuit type
Bridges_KBPC1005' requires 4 nodes inSub:_net0', found 3
Netlist:
Note the missing subnet name!
Workaround:
The netlist is correct in this case: