Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI/CD][Added][KiCad 9] Files for the GHA #786

Closed
wants to merge 1 commit into from

Conversation

flaviut
Copy link

@flaviut flaviut commented Mar 2, 2025

Fixes #785

@flaviut flaviut force-pushed the upgrade-actions-kicad9-1 branch from aaa04be to 813ac63 Compare March 2, 2025 14:46
@flaviut
Copy link
Author

flaviut commented Mar 2, 2025

It might not be a good idea to publish this yet, it seems like there are some incompatibilities with kicad 9:

Traceback (most recent call last):
  File "/usr/bin/kibot", line 33, in <module>
    sys.exit(load_entry_point('kibot==1.8.2', 'console_scripts', 'kibot')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/kibot/__main__.py", line 598, in main
    generate_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 678, in generate_outputs
    _generate_outputs(targets, invert, skip_pre, cli_order, no_priority, dont_stop)
  File "/usr/lib/python3/dist-packages/kibot/kiplot.py", line 656, in _generate_outputs
    preflight_checks(skip_pre, targets)
  File "/usr/lib/python3/dist-packages/kibot/kiplot.py", line 512, in preflight_checks
    BasePreFlight.run_enabled(targets)
  File "/usr/lib/python3/dist-packages/kibot/pre_base.py", line 157, in run_enabled
    v.run()
  File "/usr/lib/python3/dist-packages/kibot/pre_any_xrc.py", line 296, in run
    outputs = self.get_targets()
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/kibot/pre_any_xrc.py", line 126, in get_targets
    load_board()
  File "/usr/lib/python3/dist-packages/kibot/kiplot.py", line 244, in load_board
    board.SetElementVisibility(pcbnew.LAYER_HIDDEN_TEXT, False)
                               ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pcbnew' has no attribute 'LAYER_HIDDEN_TEXT'

@flaviut flaviut closed this Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] v2_k9 GitHub action
1 participant