Comment 2 for bug 1816312

Revision history for this message
Barry Buelow (iabarry) wrote : Re: [Bug 1816312] Re: EEschema: Losing custom symbols in Nightly

On 2/18/2019 5:54 AM, Rene Poeschl wrote:
> Did you somehow consciously touch the project_name-cache.lib?

No I did not touch the cache.lib

> Does that file exist in the project directory?

Unfortunately I have destroyed the evidence by recreating the 2
components I lost.

> Did kicad ask for rescuing the symbol(s) in question when you opened the schematic?

No there was no Rescue prompt?

>
> The cache lib should ensure that the symbols do not vanish or change no
> matter what happens to the library. (It should ensure that you do not
> get question marks even if the symbols somehow vanished. So this might
> be a second bug that would be even worse than kicad somehow not
> correctly saving custom symbols.)

I was unaware of the value of cache.lib

> ---
>
> Regarding your symbols vanishing: Are they in a personal library of
> yours or did you add them to a system library?

Symbols were in my custom Lib.  I did open the file with a text editor
and the symbols were gone.

>
> If it is a personal lib:
> Does the file still exist in the file system? Is it in the library table? Does it contain your symbols? (open it with the symbol editor and check)

The personal lib does exist and was only missing those 2 symbols.

>
> If it is a system lib:
> Placing personal symbols in a system library is asking for trouble. The next update to the libraries will delete your personal stuff in that case (Most installers offer not to update libraries but that really relies on you remembering to never update the lib.)

No I've not changed or added to any of the system libs.

> You might want to take a look at my library management tutorial for hints on how a well made setup could look like: https://forum.kicad.info/t/library-management-in-kicad-version-5/14636
>
I recognize that the mostly likely event was that I did something wrong
or stupid, but I had created the symbols days ago and was actively
working on the schematic. It was quite odd that they disappeared days
later.  The next time something odd happens, I'll try to copy off all
the files so I can examine them.

Also, do you plan to attend KiCon in Chicago?  I will be there and will
be speaking. Thank you for all your efforts to support KiCad.

Barry