DS2 not exporting as SVG

Steps I took that resulted in the problem:

Using a DS2 in a breadboard diagram, exporting as SVG. The DS2 is nowhere to be seen. I’ve tried with only that component in the diagram, this results in an SVG which has the canvas size of the DS2 with nothing in it.

What I expected should have happened instead:

The full diagram is exported as SVG

My version of Fritzing and my operating system:

MAC OS 10.14
fritzing 0.9.3

The problem is the core part lacks layerIds in breadboard and schematic. AFAIK the only thing that affects is svg export. As well it lacks terminalIds in schematic which causes this in schematic (the top one is the corrected part below):

the solution is to use this part (which is a new part and will load beside the core part) which has both of the above fixes in it. If you click on the current part in your sketch and select delete minus, Fritzing will delete the current part but leave the wires / traces. You then position the new part and drag each trace to make the connection again.

edit (july 2021): Someone discovered the hole size in pcb is too small (which I hadn’t caught.) When I corrected that I discovered other errors, so I have replaced this part with a more correct one. Note the original has the pins in schematic wrong as shown here the new part is on the top and the one from core parts (with only pin 1 connected) on the bottom.

In schematic it connects to the wrong terminal, it should go to pin 1 not pin 9!

pcb however is correct (although the pin holes are too small!)

and the (hopefully) corrected part:

DS2Y-5-DC5V-fixed.fzpz (8.4 KB)

and the test sketch the above image came from:

test-Sketch.fzz (13.8 KB)

The long term solution (after I finish the update to FritzingCheckPart.py) is to clean up core and correct all the broken parts, help with that will be welcome as it is likely to be a big job :slight_smile: