Open bug report

lm1117.kicad_sym: top-level symbol is unindented (column 0), breaks Open-in-KiCad install

Colby Knox ·

lm1117.kicad_sym: top-level symbol is unindented (column 0), breaks Open-in-KiCad

Clicking Open in Symbol Editor on this part fails in Adom Bridge with No symbols found in the provided file content, even though the symbol is clearly there and renders fine in the wiki's own symbol viewer.

Cause: the file's TOP-LEVEL symbol is at column 0 (no indentation), while everything else in the file is tab-indented:

(kicad_symbol_lib
	(version 20251024)
	(generator "kicad_symbol_editor")
(symbol "LM1117DT-3.3"          <- column 0, no leading whitespace
		(symbol "LM1117DT-3.3_0_1"  <- the sub-units ARE indented

A clean KiCad Symbol Editor export indents the top-level (symbol one level under kicad_symbol_lib, like the sub-units. This file's inconsistent indentation (version/generator indented, the symbol not) suggests it was hand-edited or produced by a non-KiCad tool, despite the kicad_symbol_editor generator stamp. The s-expression is still valid (KiCad and the wiki viewer both parse it), but the reverse-bridge's install parser keys on indentation to find top-level symbols.

Fix: re-open lm1117.kicad_sym in the KiCad Symbol Editor and re-save it (File > Save re-writes it with normal, consistent indentation), then re-publish. That resolves the install for this part immediately.

(The bridge side is also being hardened to accept unindented top-level symbols in adom/kicad-bridge#37, but the file's formatting is the root cause here.)

0 Replies

Log in to reply.