KiKit icon indicating copy to clipboard operation
KiKit copied to clipboard

assert failed on JLCPCB fab

Open StereotypicalSquirrel opened this issue 4 years ago • 2 comments

Prerequisites

  • [X] I have read FAQ
  • [X] I use the KiKit at least 1.1.0 (older version are not supported)

KiKit version

python -m kikit.ui, version 1.1.1

KiCAD version

6.0.2

Operating system

Ubuntu 22.04

Description

I have succesfully panelized a board with kikit and are trying to fab for JLCPCB

command: python3 -m kikit.ui fab jlcpcb "myboard_panel.kicad_pcb" exportfolder

Result: ./common/project.cpp(101): assert "m_project_name.IsAbsolute()" failed in setProjectFullName(). Segmentation fault (core dumped)

Edit: I have also tried to fab a single (non panelized) board and get the same error

Steps to Reproduce

python3 -m kikit.ui fab jlcpcb "myboard_panel.kicad_pcb" exportfolder

./common/project.cpp(101): assert "m_project_name.IsAbsolute()" failed in setProjectFullName(). Segmentation fault (core dumped)

StereotypicalSquirrel avatar Sep 27 '22 10:09 StereotypicalSquirrel

The error comes from the DRC check. If you quickly need to generate the data, please use the option --no-drc.

I committed the fix in 251e2dad5b8e8c815c2426eae57b10c49b059155; could you install the upstream version and test if it resolved the problem for you?

yaqwsx avatar Sep 27 '22 10:09 yaqwsx

Thankyou for the prompt response! I was able to succesfully export using both the --no-drc option and fix 251e2da

StereotypicalSquirrel avatar Sep 27 '22 10:09 StereotypicalSquirrel