Open general

Symbol file does not load in KiCad 10 (unquoted strings)

Jason McPheron ·

cl10a105kb8nnnc.kicad_sym does not load in KiCad 10.

Reproduce (KiCad 10.0.7, kicad-cli):

kicad-cli sym export svg -o out cl10a105kb8nnnc.kicad_sym
Unable to load library

The same file also fails in the symbol library table of a KiCad 10.0.8 project.

Cause: the file is written with unquoted strings where the KiCad s-expression format requires quoted ones:

  • the symbol name: (symbol cl10a105kb8nnnc ...
  • property names and values: (property Reference C ..., (property Value CL10A105KB8NNNC ..., (property Footprint cl10a105kb8nnnc:cl10a105kb8nnnc ...; the colon in the footprint value breaks the tokenizer, and ki_fp_filters C_* has the same problem
  • the sub-unit names cl10a105kb8nnnc_0_1 / _1_1
  • the pin numbers: (number 1 ...

KiCad's own writer quotes all of these, for example (symbol "cl10a105kb8nnnc", (property "Reference" "C", (number "1".

Fix: re-save the symbol through KiCad's symbol editor, or quote those strings. The geometry and pins look correct: it is KiCad's C_Small drawing.

Workaround used: the PicoQuorum Console board (jmcpheron/picoquorum-console) uses this part's STEP model from this page with KiCad's Device:C_Small symbol and C_0603_1608Metric footprint instead.

0 Replies

Log in to reply.