Weird "Eeschema via Kiway" Error

I’ve been using KiCad for the past decade and I love it.
I don’t often get stumped by, KiCad, but I just got one.
I’m trying to do footprint assignment and I get the following
popup alert:

Error loading schematic.
invalid footprint ID in file:
"Eeschema via Kiway":
line 270 offset:24

It looks like it is choking on a file, but the file name makes no sense to me.

I’m running: “Version: 5.1.7-a382d34a8~87~ubuntu18.04.1, release build”.

Any help tracking this down would be appreciated.



A simple search:"kicad"+"kiway"

brings up results like:

So apparently “kiway” is a KiCad internal thing.
My first attempt at resolving this would be to look at line 270 of each file of your project and guess from that if it has something to do with a footprint and take action depending on my findings.

Other options:

  • Maybe you can guess to which footprint it is related from the last change you made.
  • Maybe you can revert to a recent backup without too much worries.
  • Wait for a response from someone with more knowledge about this.
1 Like

Thanks for your quick response. Prior to your response, I had found the kiway.cpp file, but I never figured out where the error message was coming from. I just spent about 6 hours tracking the problem down. I use a program called kipart (downloadable via Python pip) to generate my box like schematic footprints. It takes a .csv file for input and generates the appropriate contents for a KiCad .lib file. It does not have very robust error detection. In this particular case, I specified a partial footprint name with the footprint Package nick name only, but without the actual footprint name (e.g. “HR2:”). This caused KiCad 5.0 to have
problems. Of course these file formats will be totally replaced for KiCad 6.0.

Regards, -Wayne


For specifying “partial” names use the footprint filters. This will allow kicad to suggest footprints fitting that name during the assignment process instead of you still needing to manually add them without any support at all. See How can i assign a footprint to a symbol?

I want to be clear, I had a broken .lib file due to the workflow I was using. Thanks for your pointers though!

I love KiCad and am anxiously awaiting KiCad V6!


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