Pcbnew error with fp-lib-table entry but no folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
As the footprint library has grown, there are more parts that need categorized. The librarians have also come up with better ways to classify footprints. Taken all together, this means we sometimes add new footprint libraries.
When this happens, the fp-lib-table file gets a new entry for the new .pretty lib. That's when we run into a problem.
Pcbnew (or the footprint editor) will show the new .pretty lib, but clicking on that library will cause the error in the screenshot I'll post in the reply. This is because fp-lib-table says that a .pretty lib is present, but the folder doesn't exist on the HDD. To be more salient, fp-lib-table shows Connectors_
A couple of things could fix this:
-KiCad could create the folder automatically. An empty .pretty folder is fine. However, there may be rights/access issues with creating a folder.
-KiCad could check to see if the folder is present and, if not, hide the library from Pcbnew. I would think in this case some message (maybe in the window's status bar?) should let the user know of the problem. At least this way there's no blocking dialog but the user isn't completely in the dark.
-I'm a lowly human so you probably can think of many other better ways to handle this.
At any rate, adding/
I've only tried this on Windows, so behavior and rights/access may be different in other OSes.
Application: kicad
Version: 4.0.6 release build
wxWidgets: Version 3.0.2 (debug,
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.60.0
Curl version: libcurl/7.52.1 OpenSSL/1.0.2k zlib/1.2.11 libssh2/1.8.0 nghttp2/1.19.0 librtmp/2.3
Changed in kicad: | |
status: | New → Won't Fix |
Here is the screenshot, as promised.