V5.0 Library path issue?

I am having trouble getting Kicad to find a footprint. It must be something wrong with my understanding, but after quite a bit of effort, it still has me beat. I have searched the forum, but nothing seems applicable
Here is my “about”:
image
I created a new project, with only one part in it:
image
The part has a footprint:


Which you can see here:

But when I try to read the netlist in PCBNew, I get this:

Any help would be appreciated. It appears to be something wrong with the symbol, but I can’t figure out what!
This is the netlist:
(export (version D)
(design
(source “C:\RFex\Test project\Test proj 1\Test proj 1.sch”)
(date “8/2/2018 11:02:40 AM”)
(tool “Eeschema (5.0.0)”)
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
(company)
(rev)
(date)
(source “Test proj 1.sch”)
(comment (number 1) (value “”))
(comment (number 2) (value “”))
(comment (number 3) (value “”))
(comment (number 4) (value “”)))))
(components
(comp (ref C1)
(value 1uF_50V)
(footprint GEH:C_1206_Handsoldering)
(fields
(field (name Description) "1µF ±10% 50V Ceramic Capacitor X8R 1206 ")
(field (name Digikey) 445-173684-1-ND)
(field (name Manufacturer) TDK)
(field (name Mfr_PN) C3216X8R1H105K160AE)
(field (name Price) 0.41))
(libsource (lib C1206_X8R) (part 1uF_50V) (description “”))
(sheetpath (names /) (tstamps /))
(tstamp 5B6E29B6)))
(libparts
(libpart (lib C1206_X8R) (part 1uF_50V)
(footprints
(fp C?)
(fp C_???*)
(fp C
???)
(fp SMD*_c)
(fp Capacitor*))
(fields
(field (name Reference) C)
(field (name Value) 1uF_50V)
(field (name Footprint) GEH:C_1206_HandSoldering)
(field (name Manufacturer) TDK)
(field (name Mfr_PN) C3216X8R1H105K160AE)
(field (name Digikey) 445-173684-1-ND)
(field (name Price) 0.41)
(field (name Description) "1µF ±10% 50V Ceramic Capacitor X8R 1206 "))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive)))))
(libraries
(library (logical C1206_X8R)
(uri C:/KiCad/GEH/Passives/C1206_X8R.lib)))
(nets
(net (code 1) (name +5V)
(node (ref C1) (pin 1)))
(net (code 2) (name GND)
(node (ref C1) (pin 2)))))

And this is the schematic file:
EESchema Schematic File Version 4
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title “”
Date “”
Rev “”
Comp “”
Comment1 “”
Comment2 “”
Comment3 “”
Comment4 “”
$EndDescr
$Comp
L C1206_X8R:1uF_50V C1
U 1 1 5B6E29B6
P 5500 3550
F 0 “C1” H 5525 3650 50 0000 L CNN
F 1 “1uF_50V” H 5525 3450 50 0000 L CNN
F 2 “GEH:C_1206_Handsoldering” H 5538 3400 30 0001 C CNN
F 3 “” H 5500 3550 60 0000 C CNN
F 4 “TDK” H 5625 3750 60 0001 C CNN “Manufacturer”
F 5 “C3216X8R1H105K160AE” H 5725 3850 60 0001 C CNN “Mfr_PN”
F 6 “445-173684-1-ND” H 5825 3950 60 0001 C CNN “Digikey”
F 7 “0.41” H 5925 4050 60 0001 C CNN “Price”
F 8 "1µF ±10% 50V Ceramic Capacitor X8R 1206 " H 5925 4050 60 0001 C CNN “Description”
1 5500 3550
1 0 0 -1
$EndComp
$Comp
L GEH_Power:+5V #PWR0101
U 1 1 5B6E2A99
P 5500 3400
F 0 “#PWR0101” H 5500 3490 20 0001 C CNN
F 1 “+5V” H 5500 3550 50 0000 C CNN
F 2 “” H 5500 3400 60 0000 C CNN
F 3 “” H 5500 3490 60 0000 C CNN
1 5500 3400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0102
U 1 1 5B6E2ACB
P 5500 3700
F 0 “#PWR0102” H 5500 3450 50 0001 C CNN
F 1 “GND” H 5500 3550 50 0000 C CNN
F 2 “” H 5500 3700 50 0001 C CNN
F 3 “” H 5500 3700 50 0001 C CNN
1 5500 3700
1 0 0 -1
$EndComp
$EndSCHEMATC

If you click on the Footprint line in the Field Properties window, you should get a button below the Field Value control in the right-hand section of the dialog. Does clicking that button find the footprint?

Is this a problem with case sensitivity? In the library it is C_1206_HandSoldering

That solved the problem. Since I did not enter this by hand but by Browsing the footprints and double-clicking, I wonder if I have two libraries with the same name? I will dig a bit more.
Thanks for spotting this! At least I can move forward.

It is written in the correct way in the snipped you posted above. Only the error message shows the wrong writing style. So it might be that you forgot to save before updating the pcb from the schematic (or you forgot to re-export the netlist if you still use that workflow)

Perhaps! My workflow is Save from EESchema, Generate Netlist and save. Then Read netlist from PCBNew. I see there is an option to update the PCB from the schematic, but I worry that it leaves the Netlist file out of the loop, and you may have an out-of-date Netlist file. Is there any other way of doing this?
But your hypothesis may be the explanation.

In v5 you can use pcb_new -> tools -> update pcb from schematic.
I think this is now the suggested method as it works directly from the kicad internal data structures.
The netlist import stuff might still have some extra possible settings. So in some edge cases it will still be needed.

1 Like

Indeed we do recommend Update PCB from Schematic.

Read Netlist is now primarily for reading netlists produced by other tools.

2 Likes

Good to know! I assume the netlist is not automatically updated? As you say, since it is now only a “hook” for external input, I guess the PCB is the place where the real truth resides!

Correct. Update PCB from Schematic goes through internal channels. It does not update the netlist file in the project.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.