Creating cache lib error multiplied

Bug #1842452 reported by Piotr Gałka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Wayne Stambaugh

Bug Description

In my schematic I have only one element named T68CA.
Having my schematic opened I deleted that element from library.
{Precisely: It was alias. I renamed that alias. I reopened the symbol editor to see the new symbol created with my old alias name. I deleted that new symbol. So there are no that symbol in library.}
I closed the symbol editor and returned to schematic.
I closed schematic - nothing happened.
I opened schematic. It wonted to (I'm not sure words used here) rescue that symbol.
I canceled it.
When I wonted to save schematic I got an error - Error1.png and it is OK.
I pressed [See details >>] button and I got Error2.png.

I think there should be only one error and not the probably endless list.

Application: KiCad
Version: (5.1.4)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Tags: eeschema
Revision history for this message
Piotr Gałka (piotrgalka) wrote :
tags: added: eeschema
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Was the T68CA element in a hierarchical sheet? Can you upload an example project showing this?

Changed in kicad:
status: New → Incomplete
Revision history for this message
Piotr Gałka (piotrgalka) wrote :

It is one sheet schematic.
I noticed it with other symbol (it happened as I am manipulating in my libraries) then repeated it with that one to make screenshoots, and can write that I have only one such symbol at schematic and not as lot as errors in Details window.
I suppose it will be the same with any symbol.
I also suppose that it is not important that I had that symbol defined as alias - I will check.
I can't upload that schematic. I will do the schematic with one element only and if it will work the same (as I suppose) I will upload it.

Revision history for this message
Piotr Gałka (piotrgalka) wrote :

I was wrong.
When I tried it with schematic with one element only I get Detailed list with one Error.
When I tried with one element, but alias (as previously) I also get only one error in detailed list.
It is not as simple as I supposed.
Will try to find 'working example', but later (just got something to be done immediately).

Revision history for this message
Piotr Gałka (piotrgalka) wrote :

Select that project.
Open schematic.
In rescue helper press [OK].
Press Save toolbar button.
In Error press [See details]

I get a list of 4 the same errors. As I reduced the schematic the list length reduced. It looks that you get as many errors as you have symbols at schematic.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

It would be fairly easy to not add duplicate errors in the message box. I'm assuming this is the bug you are reporting and not the fact that you deleted the symbols so that they could not be saved in the cache file. If it's something else than please define exactly what you want fixed.

Revision history for this message
Piotr Gałka (piotrgalka) wrote :

Yes. I'm reporting only the error duplication in that one window.

Changed in kicad:
status: Incomplete → Triaged
importance: Undecided → Low
milestone: none → 5.1.5
assignee: nobody → Wayne Stambaugh (stambaughw)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 18667377f7e8428367de4265584a784e6cea3fa5
https://git.launchpad.net/kicad/patch/?id=18667377f7e8428367de4265584a784e6cea3fa5

Changed in kicad:
status: Triaged → Fix Committed
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I pushed a fix for the duplicate missing symbols error but there is also still the potential for enough missing symbols to cause the message dialog to become too tall for the display so I'm going fix that as well.

Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.