Skip to content

KiCad 10 layout failure: FOOTPRINT.GetFieldByName missing during pcbnew sync #653

@Milind220

Description

@Milind220

pcb layout fails on KiCad 10 during footprint import, and the generated board ends up empty.

Environment

  • pcb 0.3.58
  • KiCad 10.0
  • macOS

Repro

Run pcb layout on a simple board with a resistor and LED.

Actual behavior

Netlist generation succeeds, but footprint placement fails during the KiCad sync step:

INFO: Source: 2 footprints, 0 groups, 3 nets
INFO: Changes: +2 -0 footprints
ERROR: Failed to add footprint D1.LED: 'FOOTPRINT' object has no attribute 'GetFieldByName'
ERROR: Failed to add footprint R1.R: 'FOOTPRINT' object has no attribute 'GetFieldByName'

The resulting .kicad_pcb is effectively empty.

Expected behavior
pcb layout should place the footprints and generate a non-empty board.

Note
From the logs, this looks like a KiCad 10 compatibility issue in the Python pcbnew integration layer rather than in netlist generation.
Also, since KiCad 10+ is moving away from the legacy Python/SWIG API, is the intended path for future support still the Python integration, or is there a plan to migrate to the IPC API which would require a running KiCAD instance?

For now, KiCad 9.x seems to be the workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions