question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parsing errors in stable KiCAD

See original GitHub issue

After running ./generate-table and copying it into the OSX location for it (doing a .backup of the former first as advised in the README):

~/Library/Preferences/kicad/fp-lib-table

I’m getting this couple of footprint parsing errors while running CvPcb on KiCad 4.0.5:

Errors were encountered loading footprints:
PARSE_ERROR: Expecting 'circle, rectangle, oval, or trapezoid' in input/source '/Users/romanvg/dev/kicad_modules/kicad_footprints/lowstar/IPC7351C-Nominal.pretty/CAPC160X80X87L35N.kicad_mod' line 24 offset 14 from /Users/ansible/4.0.5/kicad-mac-packaging-4.0.0/kicad/common/dsnlexer.cpp : Expecting() : line 369
PARSE_ERROR: Expecting 'circle, rectangle, oval, or trapezoid' in input/source '/Users/romanvg/dev/kicad_modules/kicad_footprints/adamjvr/KiCAD-OnHand-Lib/OnHand-Components.pretty/BLM15HG601SN1D.kicad_mod' line 16 offset 14 from /Users/ansible/4.0.5/kicad-mac-packaging-4.0.0/kicad/common/dsnlexer.cpp : Expecting() : line 369

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kasbahcommented, Jan 10, 2017

Well, if you use a nightly build of KiCAD those footprints will load fine. It makes sense to me if the master of this repo tracks the master of KiCAD repo and there is a stable branch that tracks stable. We can still check both of those in CI with appropriate KiCAD versions.

0reactions
kasbahcommented, Jan 10, 2017

Nice one @brainstorm, I have put up a stable branch and both branches are now being checked with Travis. More details are in the README. Thanks for reporting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

PCBNew Giving Parse Error - Software - KiCad.info Forums
Trying to add a footprint in PCBNew today gave the following error: PARSE_ERROR: Expecting 'circle, rectangle, oval, or trapezoid' in ...
Read more >
Parse Error loading lib from lib wizard · Issue #66 - GitHub
Just tried to refresh my local libs from github using the library wizard, and consistently got this error, which caused the whole procedure ......
Read more >
Simulator parse error on library file, requires newline at end of file ...
This schematic for simulation, which worked in earlier Nightly, no longer works due to unclear parsing error (probably related to needing an extra...
Read more >
Bug #1540810 “parse error when loading file with Unicode BOM ...
my today version : (kicad_pcb (version 4) (host pcbnew 4.0.1-stable) i try to open kicad-pcb files made ... Parse error : Attendu "("...
Read more >
KiCad 6.0.8 Release
The 6.0.8 stable version contains critical bug fixes and other minor ... Fix build error. ... Parse teardrops in CADSTAR PCB importer.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found