Skip to content

[BUG] check_zone_fills preflight silently prevents checking schematic parity #920

Description

@adamjsmithnz

Describe the bug
Running the check_zone_fills preflight silently prevents checking for schematic parity warnings. Wondering if this is known or expected behavior, because this was unexpected for me, and I couldn't find any other references to it.

To Reproduce
See https://github.com/adamjsmithnz/kibot-parity-test for a minimal example.
With check_zone_fills: true removed, parity warnings are correctly shown. With it uncommented, it reports 0 warnings and 0 errors.

Expected behavior
Parity checks run when check_zone_fills is used, or a warning is displayed saying they are incompatible.

Environment
Using the latest KiCad 9 Docker image: ghcr.io/inti-cmnb/kicad9_auto_full:latest

Additional context
Running kibot --verbose shows the temporary project used to fill zones does not have part annotations set correctly, preventing kicad-cli from checking for parity. Relevant logs:

DEBUG:Writing modified PCB to /app/kibot_naagsysn.kicad_pcb (kibot.pre_drc - gs.py:1036)
DEBUG:Copying project `/app/kibot-parity-test.kicad_pro` to `/app/kibot_naagsysn.kicad_pro` (kibot.gs - gs.py:582)
DEBUG:Copying project local settings `/app/kibot-parity-test.kicad_prl` to `/app/kibot_naagsysn.kicad_prl` (kibot.gs - gs.py:590)
- Running the DRC
DEBUG:- Executing: kicad-cli pcb drc -o /app/kibot/kibot-parity-test-drc.html --format json --severity-all --units mm --schematic-parity /app/kibot_naagsysn.kicad_pcb (kibot - kiplot.py:159)
DEBUG:- Output from command: Failed to fetch schematic netlist for parity tests.
Schematic parity tests require a fully annotated schematic.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions