Opening the project for the first time does not trigger the “rescue” mechanism, I assume this is because the symbol is found in the SON8-cache.lib.
To me it looks like a bug during saving of schematics with symbols that only exist in the [project]-cache.lib.
Is this correct, or am I missing something here?
The rescue dialog should have been triggered, as you do not have the library that contains the original symbol.
The cache lib does only come into play once the rescue decision was made as it is then taken as the backup source for the symbol data such that it can be put into the rescue lib.
So something in that project resulted in the rescue dialog being suppressed. I am not certain if there is a connection to the later fault regarding it being unable to update the cache lib.
I no longer have access to a version 5 of kicad so i can not really play around with the project myself.
If this was true, then the original HVD720DRB could not have been shown in Eeschema in the first place. It must have been taken from the [project]-cache.lib file.
A guess for what may have happened is that the rescue is triggered silently in the background, but the [project]-rescue.lib is not created.
Before I make a bug report I would like a confirmation that it’s not just a quirk of my setup. Anyone interested in a small test?
The rescue dialog opened.
Aknowledging it and save.
Add a wire, and save again.
Close KiCad, open again, everything is o.k.
Add some more wires, o.k…
SON8-rescue.lib, sym-lib-table changed upon saving the first time, SON8-rescue.dcm added.
SON8.sch-bak, SON8-cache.lib, SON8.sch changed after second saving.
Thank you very much der.ule.
After a delete and re-unzip to get a fresh copy I was able to re-trigger the rescue dialog with Eeschema / Tools / Rescue Symbols … and the button for Never Show Again was simply missing, so I went hunting for a way to re-enable that button.
I could not find a way to do this in any menu.
So finally I did a grep in KiCad’s configuration directory:
paul@medion:~/.config/kicad$ grep -i "rescue" *
grep: 3d: Is a directory
grep: 5.99: Is a directory
eeschema:RescueNeverShow=1
eeschema_Rick:RescueNeverShow=1
pcbnew:Color4DPCBLayer_Rescue=rgb(132, 0, 0)
pcbnew:ModEditColor4DPCBLayer_Rescue=rgb(132, 0, 0)
grep: sym-lib-table-backups: Is a directory
And there I reset the “RescueNeverShow” variables in both files to 0, extracted a fresh copy of the SON8 project and started KiCad again.
The Rescue process now works as expected again.
The old behavior was as if [Cancel] was pressed during the rescue process.
I do find it strange that the HVD72DRB symbol gets removed from the [project]-cache.lib file though. The [project]-cache.lib should cache all symbols, especially the ones that are not in other libraries.
I have never got understanding how cache.lib works. I just delete it any time I look into project directory with file manager (to send that project I made exception).
That way I am sure that I don’t have in my project any ‘old’ (not existing in my libraries) symbol. I hope that such ‘action’ will be possible in V6 where as I heard cache will be integrated into schematic file (I don’t have Win10 and didn’t installed Linux ever so I didn’t sow V6 yet).