Footprint editor fails to read footprints from library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Unknown
|
Bug Description
I have an fp-lib-table with 1,087 entries for libraries which are all stored locally. When I first open the footprint editor, there is a 20-second delay as all the libraries are scanned. After that, I can open footprints from individual libraries with no problem.
After *closing and then re-opening* the main KiCad application, re-opening the footprint editor does the following:
1) There is no delay for scanning the 1,087 libraries. The progress indicator appears and disappears quickly.
2) All the libraries appear in the left-hand pane, but clicking on the "+" by a library name causes it to change to a "-" while failing to show the individual footprints within that library (i.e. the footprints do not appear below the library name as a drop-down list).
This problem persists even after re-installing the KiCad application.
I can make the problem disappear by reducing my fp-lib-table file to 116 or fewer libraries. Any more than that and the problem returns.
I can also make the problem disappear for the entire list of 1,087 libraries if I include at least one library that is fetched from Github instead of locally. That seems to cause the footprint editor to scan the entire list of libraries (which takes about 20 seconds).
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,
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_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
milestone: | none → 5.1.5 |
tags: | added: pcbnew |
Changed in kicad: | |
milestone: | 5.1.5 → 5.1.6 |
Changed in kicad: | |
importance: | Medium → Unknown |
status: | Expired → Fix Released |
This might have something to do with the fp-lib-cache as it parses footprints the first time round. As a test try to delete that file (found in your project directory) and see if this triggers the parser to start again.