What do I want to achieve?
In my boards I have a logo placed with the reference designator G*** which does not have a component related to it.
When I run kibot using the JLCPCB standard import
I get the following error message:
Using SCH file: mcu-bat-power.kicad_sch
- 'Gerbers compatible with JLCPCB' (_JLCPCB_gerbers) [gerber]
- 'Drill files compatible with JLCPCB' (_JLCPCB_drill) [excellon]
- 'Pick and place file, JLCPCB style' (_JLCPCB_position) [position]
Traceback (most recent call last):
File "/usr/bin/kibot", line 33, in <module>
sys.exit(load_entry_point('kibot==1.6.5', 'console_scripts', 'kibot')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/kibot/__main__.py", line 546, in main
generate_outputs(outputs, args.target, args.invert_sel, args.skip_pre, args.cli_order, args.no_priority,
File "/usr/lib/python3/dist-packages/kibot/kiplot.py", line 599, in generate_outputs
_generate_outputs(outputs, targets, invert, skip_pre, cli_order, no_priority, dont_stop)
File "/usr/lib/python3/dist-packages/kibot/kiplot.py", line 589, in _generate_outputs
run_output(out, dont_stop)
File "/usr/lib/python3/dist-packages/kibot/kiplot.py", line 493, in run_output
out.run(get_output_dir(out.dir, out))
File "/usr/lib/python3/dist-packages/kibot/out_base.py", line 214, in run
self.options.run(target)
File "/usr/lib/python3/dist-packages/kibot/out_position.py", line 252, in run
super().run(fname)
File "/usr/lib/python3/dist-packages/kibot/out_base.py", line 1048, in run
get_board_comps_data(comps)
File "/usr/lib/python3/dist-packages/kibot/kiplot.py", line 344, in get_board_comps_data
c = create_component_from_footprint(m, ref)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/kibot/kiplot.py", line 317, in create_component_from_footprint
c.split_ref()
File "/usr/lib/python3/dist-packages/kibot/kicad/v5_sch.py", line 1079, in split_ref
raise SchError('Malformed component reference `{}`'.format(self.ref))
kibot.kicad.error.SchError: Malformed component reference `G***`
How can I tell the JLCPCB outputs imported or better globally that the reference 'G***' should be excluded from all operations?
When I rename that reference to something without * it works fine but I am not sure if this causes problems elsewhere as I have seen many other projects referencing the logos on the board in that way.
What do I want to achieve? In my boards I have a logo placed with the reference designator G*** which does not have a component related to it. When I run kibot using the JLCPCB standard import I get the following error message:
How can I tell the JLCPCB outputs imported or better globally that the reference 'G***' should be excluded from all operations?
When I rename that reference to something without * it works fine but I am not sure if this causes problems elsewhere as I have seen many other projects referencing the logos on the board in that way.
My configuraton file:
Environment (please complete the following information): I run kibot in a docker image:
docker run --rm -it --workdir="/home/$USER" -v $(pwd):/home/$USER/workdir ghcr.io/inti-cmnb/kicad8_auto:1.6.5