GithubHelp home page GithubHelp logo

inti-cmnb / kicad_auto_test Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 115 KB

KiCad on Debian + automation + test tools used to test kicad_auto

License: Apache License 2.0

Dockerfile 19.61% Shell 24.51% Makefile 2.39% Python 53.49%

kicad_auto_test's People

Contributors

set-soft avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

cr0ssbl4de

kicad_auto_test's Issues

[BUG] Blender output does not create a PNG

Describe the bug
Render Blender PNG is missing. In my yaml file I am using:

outputs:
  - name: 'Blender 3D Image'
    type: 'blender_export'
    dir: 'Generated/render'
    options:
      point_of_view:
        rotate_x: 45
        rotate_y: 45
        rotate_z: 75
      pcb3d:
        download: true
      render_options:
        samples: 100
        transparent_background: true
      outputs:
        type: render

the container I am using is: container: ghcr.io/inti-cmnb/kicad7_auto_full:latest

I have not touched the config since a while and with my commit some time ago it was generating that PNG

This job was running 3 weeks ago and the PNG was created: https://github.com/open-thngs/so-dimm-esp32-cm/actions/runs/5831095589

With this job today it did not generate the PNG: https://github.com/open-thngs/so-dimm-esp32-cm/actions/runs/6047189057/job/16410157210

[HOW] Missing mistune

What do you want to achieve?
I pushed some changes to project for the first time in over a year. When I pushed to Github, it failed because one of the packages required in my workflow is no longer installed (mistune, required in Populate3D).

My question is how can I run apt-get install python3-mistune in the Github Actions context?

/usr/bin/docker run --name b81[18](https://github.com/mundodisco8/Snowflake/actions/runs/6431124766/job/17463386892#step:4:19)86a2b4a348d0a8951a1a01c21adc_9b833e --label 94351b --workdir /github/workspace --rm -e "INPUT_CONFIG" -e "INPUT_DIR" -e "INPUT_SCHEMA" -e "INPUT_BOARD" -e "INPUT_QUICKSTART" -e "INPUT_SKIP" -e "INPUT_TARGETS" -e "INPUT_VARIANT" -e "INPUT_INSTALL3D" -e "INPUT_VERBOSE" -e "INPUT_ADDITIONAL_ARGS" -e "INPUT_CACHE3D" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/Snowflake/Snowflake":"/github/workspace" 94351b:811886a2b4a348d0a8951a1a01c21adc  "-c ArtifactCreation.kibot.yaml" "-C NO" "-d Artifacts" "-b hardware/Snowflake.kicad_pcb" "-e hardware/Snowflake.kicad_sch" "-i NO" "-q NO" "-s __NONE__" "-t __ALL__" "-v 0" "-V __NONE__" "-x "
*****************************************************************************************
*****************************************************************************************

KKKKKKKKK    KKKKKKK  iiii  BBBBBBBBBBBBBBBBB                             tttt
K:::::::K    K:::::K i::::i B::::::::::::::::B                         ttt:::t
K:::::::K    K:::::K  iiii  B::::::BBBBBB:::::B                        t:::::t
K:::::::K   K::::::K        BB:::::B     B:::::B                       t:::::t
KK::::::K  K:::::KKKiiiiiii   B::::B     B:::::B   ooooooooooo   ttttttt:::::ttttttt
  K:::::K K:::::K   i:::::i   B::::B     B:::::B oo:::::::::::oo t:::::::::::::::::t
  K::::::K:::::K     i::::i   B::::BBBBBB:::::B o:::::::::::::::ot:::::::::::::::::t
  K:::::::::::K      i::::i   B:::::::::::::BB  o:::::ooooo:::::otttttt:::::::tttttt
  K:::::::::::K      i::::i   B::::BBBBBB:::::B o::::o     o::::o      t:::::t
  K::::::K:::::K     i::::i   B::::B     B:::::Bo::::o     o::::o      t:::::t
  K:::::K K:::::K    i::::i   B::::B     B:::::Bo::::o     o::::o      t:::::t
KK::::::K  K:::::KKK i::::i   B::::B     B:::::Bo::::o     o::::o      t:::::t    tttttt
K:::::::K   K::::::Ki::::::iBB:::::BBBBBB::::::Bo:::::ooooo:::::o      t::::::tttt:::::t
K:::::::K    K:::::Ki::::::iB:::::::::::::::::B o:::::::::::::::o      tt::::::::::::::t
K:::::::K    K:::::Ki::::::iB::::::::::::::::B   oo:::::::::::oo         tt:::::::::::tt
KKKKKKKKK    KKKKKKKiiiiiiiiBBBBBBBBBBBBBBBBB      ooooooooooo             ttttttttttt

๐Ÿค– KiBot GitHub Action v2 ๐Ÿš€

KiBot: 1.6.3
KiCad: 7.0.7~ubuntu23.04.1
Debian: 12.1
KiAuto: 2.2.7
KiCost 1.1.18
iBoM: 2.7.0

*****************************************************************************************
*****************************************************************************************
Options: -c 'ArtifactCreation.kibot.yaml' -d 'Artifacts' -b 'hardware/Snowflake.kicad_pcb' -e 'hardware/Snowflake.kicad_sch'
WARNING:(W008) Unable to find KiCad configuration file (/github/home/.config/kicad/7.0/kicad_common.json) (kibot - config.py:[19](https://github.com/mundodisco8/Snowflake/actions/runs/6431124766/job/17463386892#step:4:20)7)
WARNING:(W010) Unable to find KiCad user templates (kibot - config.py:431)
- Running the DRC
WARNING:(W058) Missing KiCad main config file /github/home/.config/kicad/7.0/kicad_common.json (pcbnew_do - misc.py:[20](https://github.com/mundodisco8/Snowflake/actions/runs/6431124766/job/17463386892#step:4:21)0) (kibot - kiplot.py:1[32](https://github.com/mundodisco8/Snowflake/actions/runs/6431124766/job/17463386892#step:4:33))
- Running the ERC
- Updating BoM in XML format
- 'Used to generate the BoM in CSV, HTML, TSV, TXT, XML or XLSX format using the internal BoM.' (BoM_In_CSV) [bom]
- 'Used to generate the BoM in CSV, HTML, TSV, TXT, XML or XLSX format using the internal BoM.' (BoM_In_XSLX) [bom]
- 'This is the information for the drilling machine in gerber format.' (Gerber_Drills) [gerb_drill]
- 'This is the main fabrication format for the PCB.' (Gerber_Generation) [gerber]
- 'Generates an interactive web page useful to identify the position of the components in the PCB.' (ibom_example) [ibom]
- 'Exports the PCB to the most common exchange format. Suitable for printing.' (pdf_sch_print_example) [pdf_sch_print]
- 'Creates a markdown file explaining how to assembly a PCB using KiCad 3D rendered.' (Populate3D) [populate]
- Trying to install mistune (from PyPi)
ERROR:Missing `mistune` python module (mistune), install it (kibot - dep_downloader.py:797)
ERROR:Debian package: python3-mistune (kibot - dep_downloader.py:797)
ERROR:Arch package: python-mistune (kibot - dep_downloader.py:797)
ERROR:Output that needs it: populate (kibot - dep_downloader.py:797)
ERROR:Try running the installation checker: kibot-check (kibot - dep_downloader.py:797)

Do you have some PCB/Schematic to use as example?
The project is this one, on the CICD branch

Do you have some configuration file (.kibot.yaml) that you are using?
You can attach it or paste the content in the following section:

Pasted in a comment

Environment (please complete the following information):
Where are you running KiBot:

  • In a CI/CD workflow? GitHub
  • In a GitHub action? Which tag are you using? v2_k7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.