Closed mundodisco8 closed 1 year ago
Hi @mundodisco8 ! Please run KiBot with debug info (i.e. -vvvv) and take a look at what exactly happened during the git call.
Also:
I attach the log, hope it seds a light, didn't know there were 4 v
!
About your comments, it's using WSL's git (it's version 2.34.1, while on Windows I have git for Windows at 2.39. And you are right about using files "contained" in the WSL volume, as it really impacts performance, but in this case, I would be interested in checking the ones outside, so I can do a check before committing to my repo, for example. What I don't get is why thescript works when the same project is contained in the volume, and it doesn't when it's in my "Windows Filesystem". Also, running the command in the command line in the "Windows FS" side seems to work.
mundodisco8@LAPTOP-SANTJ:/mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout$ kibot -c ArtifactCreation.kibot.yaml -b Hardware/BGM220P_Breakout.kicad_pcb -e Hardware/BGM220P_Breakout.kicad_sch -vvvv
DEBUG:KiBot 1.5.1 verbose level: 4 (kibot - __main__.py:306)
DEBUG:Detected KiCad v6.0.10 (6.0.10-86aedd382b~118~ubuntu22.04.1 6000010) (kibot - __main__.py:196)
DEBUG:KiCad config path /home/mundodisco8/.config/kicad/6.0 (kibot - __main__.py:246)
DEBUG:Command line arguments:
['/usr/bin/kibot', '-c', 'ArtifactCreation.kibot.yaml', '-b', 'Hardware/BGM220P_Breakout.kicad_pcb', '-e', 'Hardware/BGM220P_Breakout.kicad_sch', '-vvvv'] (kibot - __main__.py:285)
DEBUG:Command line parsed:
{'--board-file': 'Hardware/BGM220P_Breakout.kicad_pcb',
'--cli-order': False,
'--copy-and-expand': False,
'--copy-options': False,
'--define': [],
'--dont-stop': False,
'--dry': False,
'--example': False,
'--global-redef': [],
'--help': False,
'--help-dependencies': False,
'--help-filters': False,
'--help-global-options': False,
'--help-list-outputs': False,
'--help-output': None,
'--help-outputs': False,
'--help-preflights': False,
'--help-variants': False,
'--invert-sel': False,
'--json': False,
'--list': False,
'--makefile': None,
'--markdown': False,
'--no-auto-download': False,
'--no-priority': False,
'--no-warn': None,
'--out-dir': '.',
'--plot-config': 'ArtifactCreation.kibot.yaml',
'--quick-start': False,
'--quiet': False,
'--schematic': 'Hardware/BGM220P_Breakout.kicad_sch',
'--skip-pre': None,
'--start': '.',
'--type': [],
'--verbose': 4,
'--version': False,
'TARGET': []} (kibot - __main__.py:286)
DEBUG:- Processing dependencies for `global` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'Colorama', 'python_module': True, 'role': 'Get color messages in a portable way', 'debian': 'python3-colorama', 'arch': 'python-colorama'}, {'name': 'Requests', 'python_module': True, 'role': 'mandatory', 'debian': 'python3-requests', 'arch': 'python-requests'}, {'name': 'PyYAML', 'python_module': True, 'debian': 'python3-yaml', 'arch': 'python-yaml', 'module_name': 'yaml', 'role': 'mandatory'}, {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto'}, {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git'}, {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'RSVG', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}]}, {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs'}, {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts']}, {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool'}, {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python'}, {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool'}, {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python'}, {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'Colorama', 'python_module': True, 'role': 'Get color messages in a portable way', 'debian': 'python3-colorama', 'arch': 'python-colorama'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'name': 'Requests', 'python_module': True, 'role': 'mandatory', 'debian': 'python3-requests', 'arch': 'python-requests'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'name': 'PyYAML', 'python_module': True, 'debian': 'python3-yaml', 'arch': 'python-yaml', 'module_name': 'yaml', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Registering base dep {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'RSVG', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}]} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts']} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True} (kibot - dep_downloader.py:1000)
DEBUG:Importing from /usr/lib/python3/dist-packages/kibot (kibot - kiplot.py:80)
DEBUG:- Importing fil_base (kibot - kiplot.py:87)
DEBUG:- Importing fil_expand_text_vars (kibot - kiplot.py:87)
DEBUG:- Importing fil_field_modify (kibot - kiplot.py:87)
DEBUG:- Importing fil_field_rename (kibot - kiplot.py:87)
DEBUG:- Importing fil_generic (kibot - kiplot.py:87)
DEBUG:- Importing fil_rot_footprint (kibot - kiplot.py:87)
DEBUG:- Importing fil_subparts (kibot - kiplot.py:87)
DEBUG:- Importing fil_urlify (kibot - kiplot.py:87)
DEBUG:- Importing fil_var_rename (kibot - kiplot.py:87)
DEBUG:- Importing fil_var_rename_kicost (kibot - kiplot.py:87)
DEBUG:- Importing globals (kibot - kiplot.py:87)
DEBUG:- Importing out_any_drill (kibot - kiplot.py:87)
DEBUG:- Importing out_any_layer (kibot - kiplot.py:87)
DEBUG:- Importing out_any_pcb_print (kibot - kiplot.py:87)
DEBUG:- Importing out_any_sch_print (kibot - kiplot.py:87)
DEBUG:- Importing out_any_stencil (kibot - kiplot.py:87)
DEBUG:- Importing out_base (kibot - kiplot.py:87)
DEBUG:- Importing out_base_3d (kibot - kiplot.py:87)
DEBUG:- Importing out_boardview (kibot - kiplot.py:87)
DEBUG:- Importing out_bom (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_bom` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiCost', 'role': 'Find components costs and specs', 'version': '1.1.8'}, {'name': 'XLSXWriter', 'role': 'Create XLSX files', 'python_module': True, 'debian': 'python3-xlsxwriter', 'arch': 'python-xlsxwriter', 'downloader': 'python'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiCost', 'role': 'Find components costs and specs', 'version': '1.1.8'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiCost: {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool', 'from': 'KiCost', 'role': 'Find components costs and specs', 'version': '1.1.8'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'name': 'XLSXWriter', 'role': 'Create XLSX files', 'python_module': True, 'debian': 'python3-xlsxwriter', 'arch': 'python-xlsxwriter', 'downloader': 'python'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_compress (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_compress` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'RAR', 'url': 'https://www.rarlab.com/', 'url_down': 'https://www.rarlab.com/download.htm', 'help_option': '-?', 'downloader': 'rar', 'role': 'Compress in RAR format', 'debian': 'rar', 'arch': 'rar(AUR)'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'RAR', 'url': 'https://www.rarlab.com/', 'url_down': 'https://www.rarlab.com/download.htm', 'help_option': '-?', 'downloader': 'rar', 'role': 'Compress in RAR format', 'debian': 'rar', 'arch': 'rar(AUR)'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_copy_files (kibot - kiplot.py:87)
DEBUG:- Importing out_diff (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_diff` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'KiCad PCB/SCH Diff', 'version': '2.4.3', 'role': 'mandatory', 'github': 'INTI-CMNB/KiDiff', 'command': 'kicad-diff.py', 'pypi': 'kidiff', 'downloader': 'pytool', 'id': 'KiDiff'}, {'from': 'Git', 'role': 'Compare with files in the repo'}, {'from': 'KiAuto', 'role': 'Compare schematics', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'KiCad PCB/SCH Diff', 'version': '2.4.3', 'role': 'mandatory', 'github': 'INTI-CMNB/KiDiff', 'command': 'kicad-diff.py', 'pypi': 'kidiff', 'downloader': 'pytool', 'id': 'KiDiff'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Compare with files in the repo'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Compare with files in the repo'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'Compare schematics', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'Compare schematics', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_download_datasheets (kibot - kiplot.py:87)
DEBUG:- Importing out_dxf (kibot - kiplot.py:87)
DEBUG:- Importing out_excellon (kibot - kiplot.py:87)
DEBUG:- Importing out_gencad (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_gencad` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.5'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.5'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.5'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_gerb_drill (kibot - kiplot.py:87)
DEBUG:- Importing out_gerber (kibot - kiplot.py:87)
DEBUG:- Importing out_hpgl (kibot - kiplot.py:87)
DEBUG:- Importing out_ibom (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_ibom` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'Interactive HTML BoM', 'role': 'mandatory', 'github': 'INTI-CMNB/InteractiveHtmlBom', 'command': 'generate_interactive_bom.py', 'no_cmd_line_version_old': True, 'plugin_dirs': ['InteractiveHtmlBom', 'InteractiveHtmlBom/InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom/InteractiveHtmlBom'], 'version': '2.4.1.4', 'downloader': 'pytool', 'id': 'ibom'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'Interactive HTML BoM', 'role': 'mandatory', 'github': 'INTI-CMNB/InteractiveHtmlBom', 'command': 'generate_interactive_bom.py', 'no_cmd_line_version_old': True, 'plugin_dirs': ['InteractiveHtmlBom', 'InteractiveHtmlBom/InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom/InteractiveHtmlBom'], 'version': '2.4.1.4', 'downloader': 'pytool', 'id': 'ibom'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_info (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_info` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'Show KiAuto installation information', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'Show KiAuto installation information', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'Show KiAuto installation information', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_kibom (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_kibom` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'KiBoM', 'role': 'mandatory', 'github': 'INTI-CMNB/KiBoM', 'command': 'KiBOM_CLI.py', 'version': '1.8.0', 'downloader': 'pytool'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'KiBoM', 'role': 'mandatory', 'github': 'INTI-CMNB/KiBoM', 'command': 'KiBOM_CLI.py', 'version': '1.8.0', 'downloader': 'pytool'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_kicost (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_kicost` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiCost', 'role': 'mandatory', 'version': '1.1.7'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiCost', 'role': 'mandatory', 'version': '1.1.7'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiCost: {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool', 'from': 'KiCost', 'role': 'mandatory', 'version': '1.1.7'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_kikit_present (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_kikit_present` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'markdown2', 'python_module': True, 'debian': 'python3-markdown2', 'arch': 'python-markdown2', 'role': 'mandatory'}, {'from': 'Git', 'role': 'Find commit hash and/or date'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'markdown2', 'python_module': True, 'debian': 'python3-markdown2', 'arch': 'python-markdown2', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_navigate_results (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_navigate_results` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'RSVG', 'role': 'Create outputs preview', 'id': 'rsvg1'}, {'from': 'RSVG', 'role': 'Create PNG icons', 'id': 'rsvg2'}, {'from': 'Ghostscript', 'role': 'Create outputs preview'}, {'from': 'ImageMagick', 'role': 'Create outputs preview'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create outputs preview', 'id': 'rsvg1'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'rsvg1', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create PNG icons', 'id': 'rsvg2'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'rsvg2', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create PNG icons'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'Ghostscript', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Ghostscript: {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs', 'from': 'Ghostscript', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:925)DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_netlist (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_netlist` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_panelize (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_panelize` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiKit', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_pcb_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_pcb_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'RSVG', 'role': 'Create PDF, PNG, PS and EPS formats', 'id': 'rsvg1'}, {'from': 'Ghostscript', 'role': 'Create PNG, PS and EPS formats'}, {'from': 'ImageMagick', 'role': 'Create monochrome prints and scaled PNG files'}, {'from': 'KiAuto', 'command': 'pcbnew_do', 'role': 'Print the page frame in GUI mode', 'version': '1.6.7'}, {'from': 'LXML', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create PDF, PNG, PS and EPS formats', 'id': 'rsvg1'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'rsvg1', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create PDF, PNG, PS and EPS formats'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'Ghostscript', 'role': 'Create PNG, PS and EPS formats'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Ghostscript: {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs', 'from': 'Ghostscript', 'role': 'Create PNG, PS and EPS formats'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Create monochrome prints and scaled PNG files'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Create monochrome prints and scaled PNG files'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'KiAuto', 'command': 'pcbnew_do', 'role': 'Print the page frame in GUI mode', 'version': '1.6.7'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'Print the page frame in GUI mode', 'version': '1.6.7'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from LXML: {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python', 'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_pcb_variant (kibot - kiplot.py:87)
DEBUG:- Importing out_pcbdraw (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_pcbdraw` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'RSVG', 'role': 'Create PNG, JPG and BMP images'}, {'from': 'ImageMagick', 'role': 'Create JPG and BMP images'}, {'from': 'LXML', 'role': 'mandatory'}, {'name': 'numpy', 'python_module': True, 'debian': 'python3-numpy', 'arch': 'python-numpy', 'downloader': 'python', 'role': 'Automatically adjust SVG margin'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create PNG, JPG and BMP images'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'RSVG', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create PNG, JPG and BMP images'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Create JPG and BMP images'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Create JPG and BMP images'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from LXML: {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python', 'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'name': 'numpy', 'python_module': True, 'debian': 'python3-numpy', 'arch': 'python-numpy', 'downloader': 'python', 'role': 'Automatically adjust SVG margin'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_pdf (kibot - kiplot.py:87)
DEBUG:- Importing out_pdf_pcb_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_pdf_pcb_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_pdf_sch_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_pdf_sch_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_pdfunite (kibot - kiplot.py:87)
DEBUG:- Importing out_populate (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_populate` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'mistune', 'python_module': True, 'debian': 'python3-mistune', 'arch': 'python-mistune', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'mistune', 'python_module': True, 'debian': 'python3-mistune', 'arch': 'python-mistune', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_position (kibot - kiplot.py:87)
DEBUG:- Importing out_ps (kibot - kiplot.py:87)
DEBUG:- Importing out_qr_lib (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_qr_lib` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'QRCodeGen', 'role': 'mandatory', 'python_module': True, 'downloader': 'python', 'debian': 'python3-qrcodegen'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'QRCodeGen', 'role': 'mandatory', 'python_module': True, 'downloader': 'python', 'debian': 'python3-qrcodegen'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_render_3d (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_render_3d` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.4'}, {'from': 'ImageMagick', 'role': 'Automatically crop images'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.4'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.4'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Automatically crop images'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Automatically crop images'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_report (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_report` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'Pandoc', 'role': 'Create PDF/ODF/DOCX files', 'url': 'https://pandoc.org/', 'url_down': 'https://github.com/jgm/pandoc/releases', 'debian': 'pandoc', 'arch': 'pandoc', 'extra_deb': ['texlive', 'texlive-latex-base', 'texlive-latex-recommended'], 'extra_arch': ['texlive-core'], 'comments': 'In CI/CD environments: the `kicad_auto_test` docker image contains it.'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'Pandoc', 'role': 'Create PDF/ODF/DOCX files', 'url': 'https://pandoc.org/', 'url_down': 'https://github.com/jgm/pandoc/releases', 'debian': 'pandoc', 'arch': 'pandoc', 'extra_deb': ['texlive', 'texlive-latex-base', 'texlive-latex-recommended'], 'extra_arch': ['texlive-core'], 'comments': 'In CI/CD environments: the `kicad_auto_test` docker image contains it.'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_sch_variant (kibot - kiplot.py:87)
DEBUG:- Importing out_stencil_3d (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_stencil_3d` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiKit', 'role': 'mandatory'}, {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'}, {'from': 'Xvfbwrapper', 'role': 'mandatory'}, {'from': 'Xvfb', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Xvfbwrapper: {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python', 'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Xvfb: {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True, 'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_stencil_for_jig (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_stencil_for_jig` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiKit', 'role': 'mandatory'}, {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'}, {'from': 'Xvfbwrapper', 'role': 'mandatory'}, {'from': 'Xvfb', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Xvfbwrapper: {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python', 'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Xvfb: {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True, 'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_step (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_step` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.1', 'command': 'kicad2step_do'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.1', 'command': 'kicad2step_do'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'kicad2step_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.1'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_svg (kibot - kiplot.py:87)
DEBUG:- Importing out_svg_pcb_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_svg_pcb_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_svg_sch_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_svg_sch_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_annotate_pcb (kibot - kiplot.py:87)
DEBUG:- Importing pre_annotate_power (kibot - kiplot.py:87)
DEBUG:- Importing pre_any_replace (kibot - kiplot.py:87)
DEBUG:- Importing pre_base (kibot - kiplot.py:87)
DEBUG:- Importing pre_check_zone_fills (kibot - kiplot.py:87)
DEBUG:- Importing pre_erc_warnings (kibot - kiplot.py:87)
DEBUG:- Importing pre_fill_zones (kibot - kiplot.py:87)
DEBUG:- Importing pre_filters (kibot - kiplot.py:87)
DEBUG:- Importing pre_ignore_unconnected (kibot - kiplot.py:87)
DEBUG:- Importing pre_pcb_replace (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_pcb_replace` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'Git', 'role': 'Find commit hash and/or date'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_run_drc (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_run_drc` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_run_erc (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_run_erc` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.5.4'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_sch_replace (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_sch_replace` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'Git', 'role': 'Find commit hash and/or date'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_set_text_variables (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_set_text_variables` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'Git', 'role': 'Find commit hash and/or date'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_update_qr (kibot - kiplot.py:87)
DEBUG:- Importing pre_update_xml (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_update_xml` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.5.4'} (kibot - dep_downloader.py:925)
DEBUG:- Importing var_base (kibot - kiplot.py:87)
DEBUG:- Importing var_ibom (kibot - kiplot.py:87)
DEBUG:- Importing var_kibom (kibot - kiplot.py:87)
DEBUG:- Importing var_kicost (kibot - kiplot.py:87)
DEBUG:Deactivating macros (kibot - kiplot.py:111)
DEBUG:Using configuration file: `ArtifactCreation.kibot.yaml` (kibot - __main__.py:145)
DEBUG:Using schematic: `/mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout/Hardware/BGM220P_Breakout.kicad_sch` (kibot - kiplot.py:723)
DEBUG:Using PCB: `Hardware/BGM220P_Breakout.kicad_pcb` (kibot - kiplot.py:754)
DEBUG:Parsing global options: {'filters': [{'filter': 'Silkscreen of header is clipped', 'number': 58, 'regex': '114.5000 mm, 115.5000 mm[.]+Line on Edge.Cuts'}, {'filter': 'No kicad_common.json', 'number': 58, 'regex': 'Missing KiCad main config file'}]} (kibot - config_reader.py:230)
DEBUG:Looking for stack-up information in the PCB (kibot.globals - globals.py:291)
DEBUG:- Found stack-up information (kibot.globals - globals.py:307)
DEBUG:- F.SilkS color: White (kibot.globals - globals.py:262)
DEBUG:- F.Mask color: Black (kibot.globals - globals.py:270)
DEBUG:- B.Mask color: Black (kibot.globals - globals.py:274)
DEBUG:- B.SilkS color: White (kibot.globals - globals.py:266)
DEBUG:- Copper finish: HAL lead-free (kibot.globals - globals.py:322)
DEBUG:- Impedance controlled: no (kibot.globals - globals.py:334)
DEBUG:- PCB Material/s: FR4 (kibot.globals - globals.py:343)
DEBUG:- Copper thickness: 35 / 17 (kibot.globals - globals.py:345)
DEBUG:Adding KiBot warnings filter 'Silkscreen of header is clipped','58','114.5000 mm, 115.5000 mm[.]+Line on Edge.Cuts' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Adding KiBot warnings filter 'No kicad_common.json','58','Missing KiCad main config file' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Parsing preflight options: {'check_zone_fills': True, 'erc_warnings': False, 'fill_zones': True, 'filters': [{'filter': 'Courtyard from battery and counter overlap slightly', 'error': 'courtyards_overlap', 'regex': 'Footprint U2\\n.+BT1'}, {'filter': 'Battery Internal connection', 'error': 'unconnected_items', 'regex': 'BT1 on B.Cu\\n.+BT1 on B.Cu'}], 'ignore_unconnected': False, 'run_drc': True, 'run_erc': True, 'set_text_variables': [{'name': 'GIT_HASH', 'command': 'git log -1 --format="%h" $KIBOT_PCB_NAME', 'before': '<', 'after': '>'}, {'name': 'TODAY', 'command': 'date +"%Y-%m-%d"'}], 'update_xml': True} (kibot - config_reader.py:212)
DEBUG:Parsing preflight check_zone_fills (kibot - config_reader.py:221)
DEBUG:Parsing preflight erc_warnings (kibot - config_reader.py:221)
DEBUG:Parsing preflight fill_zones (kibot - config_reader.py:221)
DEBUG:Parsing preflight filters (kibot - config_reader.py:221)
DEBUG:Adding DRC/ERC errors filter 'Courtyard from battery and counter overlap slightly','courtyards_overlap','Footprint U2\n.+BT1' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Adding DRC/ERC errors filter 'Battery Internal connection','unconnected_items','BT1 on B.Cu\n.+BT1 on B.Cu' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Parsing preflight ignore_unconnected (kibot - config_reader.py:221)
DEBUG:Parsing preflight run_drc (kibot - config_reader.py:221)
DEBUG:Parsing preflight run_erc (kibot - config_reader.py:221)
DEBUG:Parsing preflight set_text_variables (kibot - config_reader.py:221)
DEBUG:Parsing preflight update_xml (kibot - config_reader.py:221)
DEBUG:Pre-parsing output options for `BoM_In_CSV` (bom) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `BoM_In_XSLX` (bom) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `Gerber_Drills` (gerb_drill) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `Gerber_Generation` (gerber) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `ibom_example` (ibom) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `pdf_sch_print_example` (pdf_sch_print) (kibot - config_reader.py:129)
DEBUG:Starting outputs for board /mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout/Hardware/BGM220P_Breakout.kicad_pcb (kibot - kiplot.py:433)
DEBUG:Outputs before preflights: [<kibot.out_bom.BoM object at 0x7fc9b0dc0d90>, <kibot.out_bom.BoM object at 0x7fc9b0dc0af0>, <kibot.out_gerb_drill.Gerb_Drill object at 0x7fc9b0dc0e80>, <kibot.out_gerber.Gerber object at 0x7fc9b0dc1060>, <kibot.out_ibom.IBoM object at 0x7fc9b0dc0fd0>, <kibot.out_pdf_sch_print.PDF_SCH_Print object at 0x7fc9b0dc1150>] (kibot - kiplot.py:476)
DEBUG:Preflight checks (kibot - kiplot.py:342)
DEBUG:Preflight apply check_zone_fills (kibot.pre_base - pre_base.py:77)
DEBUG:Preflight apply fill_zones (kibot.pre_base - pre_base.py:77)
DEBUG:Board loaded (kibot - kiplot.py:246)
DEBUG:Preflight apply filters (kibot.pre_base - pre_base.py:77)
DEBUG:Expanding `/mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout/./` in PCB context for filters: True parent: None (kibot - optionable.py:315)
DEBUG:Current text variables: {} (kibot.gs - gs.py:182)
DEBUG:Expanded `/mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout/./` (kibot - optionable.py:369)
DEBUG:Output destination: /mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout (kibot - kiplot.py:372)
DEBUG:Preflight apply run_drc (kibot.pre_base - pre_base.py:77)
DEBUG:Preflight apply run_erc (kibot.pre_base - pre_base.py:77)
DEBUG:Preflight apply set_text_variables (kibot.pre_base - pre_base.py:77)
DEBUG:- Current variables: {} (kibot - pre_set_text_variables.py:111)
DEBUG:Starting tool check for Git (kibot - dep_downloader.py:799)
DEBUG:- Checking binary tool Git (kibot - dep_downloader.py:693)
DEBUG:- Looking for tool `git` at system level (kibot - dep_downloader.py:627)
DEBUG:- Checking version for `/usr/bin/git` (kibot - dep_downloader.py:594)
DEBUG:- No particular version needed (kibot - dep_downloader.py:608)
DEBUG:- Running ['/usr/bin/git', '--version'] (kibot - dep_downloader.py:560)
DEBUG:- Looking for version in `git version 2.34.1` (kibot - dep_downloader.py:586)
DEBUG:- Found version (2, 34, 1, 0) (kibot - dep_downloader.py:621)
DEBUG:- Returning `/usr/bin/git` (kibot - dep_downloader.py:806)
ERROR:Failed to execute:
git log -1 --format="%h" $KIBOT_PCB_NAME
return code 128 (kibot - pre_set_text_variables.py:127)
I attach the log, didn't know there were 4 v
!
About your comments, it's using WSL's git (it's version 2.34.1, while on Windows I have git for Windows at 2.39. And you are right about using files "contained" in the WSL volume, as it really impacts performance, but in this case, I would be interested in checking the ones outside, so I can do a check before committing to my repo, for example. What I don't get is why thescript works when the same project is contained in the volume, and it doesn't when it's in my "Windows Filesystem". Also, running the command in the command line in the "Windows FS" side seems to work.
mundodisco8@LAPTOP-SANTJ:/mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout$ kibot -c ArtifactCreation.kibot.yaml -b Hardware/BGM220P_Breakout.kicad_pcb -e Hardware/BGM220P_Breakout.kicad_sch -vvvv
DEBUG:KiBot 1.5.1 verbose level: 4 (kibot - __main__.py:306)
DEBUG:Detected KiCad v6.0.10 (6.0.10-86aedd382b~118~ubuntu22.04.1 6000010) (kibot - __main__.py:196)
DEBUG:KiCad config path /home/mundodisco8/.config/kicad/6.0 (kibot - __main__.py:246)
DEBUG:Command line arguments:
['/usr/bin/kibot', '-c', 'ArtifactCreation.kibot.yaml', '-b', 'Hardware/BGM220P_Breakout.kicad_pcb', '-e', 'Hardware/BGM220P_Breakout.kicad_sch', '-vvvv'] (kibot - __main__.py:285)
DEBUG:Command line parsed:
{'--board-file': 'Hardware/BGM220P_Breakout.kicad_pcb',
'--cli-order': False,
'--copy-and-expand': False,
'--copy-options': False,
'--define': [],
'--dont-stop': False,
'--dry': False,
'--example': False,
'--global-redef': [],
'--help': False,
'--help-dependencies': False,
'--help-filters': False,
'--help-global-options': False,
'--help-list-outputs': False,
'--help-output': None,
'--help-outputs': False,
'--help-preflights': False,
'--help-variants': False,
'--invert-sel': False,
'--json': False,
'--list': False,
'--makefile': None,
'--markdown': False,
'--no-auto-download': False,
'--no-priority': False,
'--no-warn': None,
'--out-dir': '.',
'--plot-config': 'ArtifactCreation.kibot.yaml',
'--quick-start': False,
'--quiet': False,
'--schematic': 'Hardware/BGM220P_Breakout.kicad_sch',
'--skip-pre': None,
'--start': '.',
'--type': [],
'--verbose': 4,
'--version': False,
'TARGET': []} (kibot - __main__.py:286)
DEBUG:- Processing dependencies for `global` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'Colorama', 'python_module': True, 'role': 'Get color messages in a portable way', 'debian': 'python3-colorama', 'arch': 'python-colorama'}, {'name': 'Requests', 'python_module': True, 'role': 'mandatory', 'debian': 'python3-requests', 'arch': 'python-requests'}, {'name': 'PyYAML', 'python_module': True, 'debian': 'python3-yaml', 'arch': 'python-yaml', 'module_name': 'yaml', 'role': 'mandatory'}, {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto'}, {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git'}, {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'RSVG', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}]}, {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs'}, {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts']}, {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool'}, {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python'}, {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool'}, {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python'}, {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'Colorama', 'python_module': True, 'role': 'Get color messages in a portable way', 'debian': 'python3-colorama', 'arch': 'python-colorama'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'name': 'Requests', 'python_module': True, 'role': 'mandatory', 'debian': 'python3-requests', 'arch': 'python-requests'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'name': 'PyYAML', 'python_module': True, 'debian': 'python3-yaml', 'arch': 'python-yaml', 'module_name': 'yaml', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Registering base dep {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'RSVG', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}]} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts']} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python'} (kibot - dep_downloader.py:1000)
DEBUG: - Registering base dep {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True} (kibot - dep_downloader.py:1000)
DEBUG:Importing from /usr/lib/python3/dist-packages/kibot (kibot - kiplot.py:80)
DEBUG:- Importing fil_base (kibot - kiplot.py:87)
DEBUG:- Importing fil_expand_text_vars (kibot - kiplot.py:87)
DEBUG:- Importing fil_field_modify (kibot - kiplot.py:87)
DEBUG:- Importing fil_field_rename (kibot - kiplot.py:87)
DEBUG:- Importing fil_generic (kibot - kiplot.py:87)
DEBUG:- Importing fil_rot_footprint (kibot - kiplot.py:87)
DEBUG:- Importing fil_subparts (kibot - kiplot.py:87)
DEBUG:- Importing fil_urlify (kibot - kiplot.py:87)
DEBUG:- Importing fil_var_rename (kibot - kiplot.py:87)
DEBUG:- Importing fil_var_rename_kicost (kibot - kiplot.py:87)
DEBUG:- Importing globals (kibot - kiplot.py:87)
DEBUG:- Importing out_any_drill (kibot - kiplot.py:87)
DEBUG:- Importing out_any_layer (kibot - kiplot.py:87)
DEBUG:- Importing out_any_pcb_print (kibot - kiplot.py:87)
DEBUG:- Importing out_any_sch_print (kibot - kiplot.py:87)
DEBUG:- Importing out_any_stencil (kibot - kiplot.py:87)
DEBUG:- Importing out_base (kibot - kiplot.py:87)
DEBUG:- Importing out_base_3d (kibot - kiplot.py:87)
DEBUG:- Importing out_boardview (kibot - kiplot.py:87)
DEBUG:- Importing out_bom (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_bom` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiCost', 'role': 'Find components costs and specs', 'version': '1.1.8'}, {'name': 'XLSXWriter', 'role': 'Create XLSX files', 'python_module': True, 'debian': 'python3-xlsxwriter', 'arch': 'python-xlsxwriter', 'downloader': 'python'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiCost', 'role': 'Find components costs and specs', 'version': '1.1.8'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiCost: {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool', 'from': 'KiCost', 'role': 'Find components costs and specs', 'version': '1.1.8'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'name': 'XLSXWriter', 'role': 'Create XLSX files', 'python_module': True, 'debian': 'python3-xlsxwriter', 'arch': 'python-xlsxwriter', 'downloader': 'python'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_compress (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_compress` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'RAR', 'url': 'https://www.rarlab.com/', 'url_down': 'https://www.rarlab.com/download.htm', 'help_option': '-?', 'downloader': 'rar', 'role': 'Compress in RAR format', 'debian': 'rar', 'arch': 'rar(AUR)'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'RAR', 'url': 'https://www.rarlab.com/', 'url_down': 'https://www.rarlab.com/download.htm', 'help_option': '-?', 'downloader': 'rar', 'role': 'Compress in RAR format', 'debian': 'rar', 'arch': 'rar(AUR)'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_copy_files (kibot - kiplot.py:87)
DEBUG:- Importing out_diff (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_diff` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'KiCad PCB/SCH Diff', 'version': '2.4.3', 'role': 'mandatory', 'github': 'INTI-CMNB/KiDiff', 'command': 'kicad-diff.py', 'pypi': 'kidiff', 'downloader': 'pytool', 'id': 'KiDiff'}, {'from': 'Git', 'role': 'Compare with files in the repo'}, {'from': 'KiAuto', 'role': 'Compare schematics', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'KiCad PCB/SCH Diff', 'version': '2.4.3', 'role': 'mandatory', 'github': 'INTI-CMNB/KiDiff', 'command': 'kicad-diff.py', 'pypi': 'kidiff', 'downloader': 'pytool', 'id': 'KiDiff'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Compare with files in the repo'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Compare with files in the repo'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'Compare schematics', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'Compare schematics', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_download_datasheets (kibot - kiplot.py:87)
DEBUG:- Importing out_dxf (kibot - kiplot.py:87)
DEBUG:- Importing out_excellon (kibot - kiplot.py:87)
DEBUG:- Importing out_gencad (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_gencad` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.5'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.5'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.5'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_gerb_drill (kibot - kiplot.py:87)
DEBUG:- Importing out_gerber (kibot - kiplot.py:87)
DEBUG:- Importing out_hpgl (kibot - kiplot.py:87)
DEBUG:- Importing out_ibom (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_ibom` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'Interactive HTML BoM', 'role': 'mandatory', 'github': 'INTI-CMNB/InteractiveHtmlBom', 'command': 'generate_interactive_bom.py', 'no_cmd_line_version_old': True, 'plugin_dirs': ['InteractiveHtmlBom', 'InteractiveHtmlBom/InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom/InteractiveHtmlBom'], 'version': '2.4.1.4', 'downloader': 'pytool', 'id': 'ibom'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'Interactive HTML BoM', 'role': 'mandatory', 'github': 'INTI-CMNB/InteractiveHtmlBom', 'command': 'generate_interactive_bom.py', 'no_cmd_line_version_old': True, 'plugin_dirs': ['InteractiveHtmlBom', 'InteractiveHtmlBom/InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom/InteractiveHtmlBom'], 'version': '2.4.1.4', 'downloader': 'pytool', 'id': 'ibom'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_info (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_info` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'Show KiAuto installation information', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'Show KiAuto installation information', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'Show KiAuto installation information', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_kibom (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_kibom` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'KiBoM', 'role': 'mandatory', 'github': 'INTI-CMNB/KiBoM', 'command': 'KiBOM_CLI.py', 'version': '1.8.0', 'downloader': 'pytool'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'KiBoM', 'role': 'mandatory', 'github': 'INTI-CMNB/KiBoM', 'command': 'KiBOM_CLI.py', 'version': '1.8.0', 'downloader': 'pytool'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_kicost (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_kicost` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiCost', 'role': 'mandatory', 'version': '1.1.7'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiCost', 'role': 'mandatory', 'version': '1.1.7'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiCost: {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool', 'from': 'KiCost', 'role': 'mandatory', 'version': '1.1.7'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_kikit_present (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_kikit_present` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'markdown2', 'python_module': True, 'debian': 'python3-markdown2', 'arch': 'python-markdown2', 'role': 'mandatory'}, {'from': 'Git', 'role': 'Find commit hash and/or date'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'markdown2', 'python_module': True, 'debian': 'python3-markdown2', 'arch': 'python-markdown2', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_navigate_results (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_navigate_results` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'RSVG', 'role': 'Create outputs preview', 'id': 'rsvg1'}, {'from': 'RSVG', 'role': 'Create PNG icons', 'id': 'rsvg2'}, {'from': 'Ghostscript', 'role': 'Create outputs preview'}, {'from': 'ImageMagick', 'role': 'Create outputs preview'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create outputs preview', 'id': 'rsvg1'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'rsvg1', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create PNG icons', 'id': 'rsvg2'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'rsvg2', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create PNG icons'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'Ghostscript', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Ghostscript: {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs', 'from': 'Ghostscript', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:925)DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_netlist (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_netlist` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_panelize (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_panelize` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiKit', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_pcb_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_pcb_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'RSVG', 'role': 'Create PDF, PNG, PS and EPS formats', 'id': 'rsvg1'}, {'from': 'Ghostscript', 'role': 'Create PNG, PS and EPS formats'}, {'from': 'ImageMagick', 'role': 'Create monochrome prints and scaled PNG files'}, {'from': 'KiAuto', 'command': 'pcbnew_do', 'role': 'Print the page frame in GUI mode', 'version': '1.6.7'}, {'from': 'LXML', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create PDF, PNG, PS and EPS formats', 'id': 'rsvg1'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'rsvg1', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create PDF, PNG, PS and EPS formats'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'Ghostscript', 'role': 'Create PNG, PS and EPS formats'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Ghostscript: {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs', 'from': 'Ghostscript', 'role': 'Create PNG, PS and EPS formats'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Create monochrome prints and scaled PNG files'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Create monochrome prints and scaled PNG files'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'KiAuto', 'command': 'pcbnew_do', 'role': 'Print the page frame in GUI mode', 'version': '1.6.7'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'Print the page frame in GUI mode', 'version': '1.6.7'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from LXML: {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python', 'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_pcb_variant (kibot - kiplot.py:87)
DEBUG:- Importing out_pcbdraw (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_pcbdraw` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'RSVG', 'role': 'Create PNG, JPG and BMP images'}, {'from': 'ImageMagick', 'role': 'Create JPG and BMP images'}, {'from': 'LXML', 'role': 'mandatory'}, {'name': 'numpy', 'python_module': True, 'debian': 'python3-numpy', 'arch': 'python-numpy', 'downloader': 'python', 'role': 'Automatically adjust SVG margin'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create PNG, JPG and BMP images'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'RSVG', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create PNG, JPG and BMP images'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Create JPG and BMP images'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Create JPG and BMP images'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from LXML: {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python', 'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'name': 'numpy', 'python_module': True, 'debian': 'python3-numpy', 'arch': 'python-numpy', 'downloader': 'python', 'role': 'Automatically adjust SVG margin'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_pdf (kibot - kiplot.py:87)
DEBUG:- Importing out_pdf_pcb_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_pdf_pcb_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_pdf_sch_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_pdf_sch_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_pdfunite (kibot - kiplot.py:87)
DEBUG:- Importing out_populate (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_populate` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'mistune', 'python_module': True, 'debian': 'python3-mistune', 'arch': 'python-mistune', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'mistune', 'python_module': True, 'debian': 'python3-mistune', 'arch': 'python-mistune', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_position (kibot - kiplot.py:87)
DEBUG:- Importing out_ps (kibot - kiplot.py:87)
DEBUG:- Importing out_qr_lib (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_qr_lib` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'QRCodeGen', 'role': 'mandatory', 'python_module': True, 'downloader': 'python', 'debian': 'python3-qrcodegen'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'QRCodeGen', 'role': 'mandatory', 'python_module': True, 'downloader': 'python', 'debian': 'python3-qrcodegen'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_render_3d (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_render_3d` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.4'}, {'from': 'ImageMagick', 'role': 'Automatically crop images'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.4'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.4'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Automatically crop images'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Automatically crop images'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_report (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_report` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'name': 'Pandoc', 'role': 'Create PDF/ODF/DOCX files', 'url': 'https://pandoc.org/', 'url_down': 'https://github.com/jgm/pandoc/releases', 'debian': 'pandoc', 'arch': 'pandoc', 'extra_deb': ['texlive', 'texlive-latex-base', 'texlive-latex-recommended'], 'extra_arch': ['texlive-core'], 'comments': 'In CI/CD environments: the `kicad_auto_test` docker image contains it.'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'name': 'Pandoc', 'role': 'Create PDF/ODF/DOCX files', 'url': 'https://pandoc.org/', 'url_down': 'https://github.com/jgm/pandoc/releases', 'debian': 'pandoc', 'arch': 'pandoc', 'extra_deb': ['texlive', 'texlive-latex-base', 'texlive-latex-recommended'], 'extra_arch': ['texlive-core'], 'comments': 'In CI/CD environments: the `kicad_auto_test` docker image contains it.'} (kibot - dep_downloader.py:997)
DEBUG:- Importing out_sch_variant (kibot - kiplot.py:87)
DEBUG:- Importing out_stencil_3d (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_stencil_3d` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiKit', 'role': 'mandatory'}, {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'}, {'from': 'Xvfbwrapper', 'role': 'mandatory'}, {'from': 'Xvfb', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Xvfbwrapper: {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python', 'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Xvfb: {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True, 'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_stencil_for_jig (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_stencil_for_jig` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiKit', 'role': 'mandatory'}, {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'}, {'from': 'Xvfbwrapper', 'role': 'mandatory'}, {'from': 'Xvfb', 'role': 'mandatory'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Registering dep {'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Xvfbwrapper: {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python', 'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG: - Registering dep {'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Xvfb: {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True, 'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_step (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_step` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.1', 'command': 'kicad2step_do'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.1', 'command': 'kicad2step_do'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'kicad2step_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.1'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_svg (kibot - kiplot.py:87)
DEBUG:- Importing out_svg_pcb_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_svg_pcb_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:925)
DEBUG:- Importing out_svg_sch_print (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `out_svg_sch_print` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_annotate_pcb (kibot - kiplot.py:87)
DEBUG:- Importing pre_annotate_power (kibot - kiplot.py:87)
DEBUG:- Importing pre_any_replace (kibot - kiplot.py:87)
DEBUG:- Importing pre_base (kibot - kiplot.py:87)
DEBUG:- Importing pre_check_zone_fills (kibot - kiplot.py:87)
DEBUG:- Importing pre_erc_warnings (kibot - kiplot.py:87)
DEBUG:- Importing pre_fill_zones (kibot - kiplot.py:87)
DEBUG:- Importing pre_filters (kibot - kiplot.py:87)
DEBUG:- Importing pre_ignore_unconnected (kibot - kiplot.py:87)
DEBUG:- Importing pre_pcb_replace (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_pcb_replace` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'Git', 'role': 'Find commit hash and/or date'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_run_drc (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_run_drc` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_run_erc (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_run_erc` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.5.4'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_sch_replace (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_sch_replace` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'Git', 'role': 'Find commit hash and/or date'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_set_text_variables (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_set_text_variables` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'Git', 'role': 'Find commit hash and/or date'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:925)
DEBUG:- Importing pre_update_qr (kibot - kiplot.py:87)
DEBUG:- Importing pre_update_xml (kibot - kiplot.py:87)
DEBUG:- Processing dependencies for `pre_update_xml` (kibot - dep_downloader.py:985)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'}]} (kibot - dep_downloader.py:986)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'} (kibot - dep_downloader.py:997)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.5.4'} (kibot - dep_downloader.py:925)
DEBUG:- Importing var_base (kibot - kiplot.py:87)
DEBUG:- Importing var_ibom (kibot - kiplot.py:87)
DEBUG:- Importing var_kibom (kibot - kiplot.py:87)
DEBUG:- Importing var_kicost (kibot - kiplot.py:87)
DEBUG:Deactivating macros (kibot - kiplot.py:111)
DEBUG:Using configuration file: `ArtifactCreation.kibot.yaml` (kibot - __main__.py:145)
DEBUG:Using schematic: `/mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout/Hardware/BGM220P_Breakout.kicad_sch` (kibot - kiplot.py:723)
DEBUG:Using PCB: `Hardware/BGM220P_Breakout.kicad_pcb` (kibot - kiplot.py:754)
DEBUG:Parsing global options: {'filters': [{'filter': 'Silkscreen of header is clipped', 'number': 58, 'regex': '114.5000 mm, 115.5000 mm[.]+Line on Edge.Cuts'}, {'filter': 'No kicad_common.json', 'number': 58, 'regex': 'Missing KiCad main config file'}]} (kibot - config_reader.py:230)
DEBUG:Looking for stack-up information in the PCB (kibot.globals - globals.py:291)
DEBUG:- Found stack-up information (kibot.globals - globals.py:307)
DEBUG:- F.SilkS color: White (kibot.globals - globals.py:262)
DEBUG:- F.Mask color: Black (kibot.globals - globals.py:270)
DEBUG:- B.Mask color: Black (kibot.globals - globals.py:274)
DEBUG:- B.SilkS color: White (kibot.globals - globals.py:266)
DEBUG:- Copper finish: HAL lead-free (kibot.globals - globals.py:322)
DEBUG:- Impedance controlled: no (kibot.globals - globals.py:334)
DEBUG:- PCB Material/s: FR4 (kibot.globals - globals.py:343)
DEBUG:- Copper thickness: 35 / 17 (kibot.globals - globals.py:345)
DEBUG:Adding KiBot warnings filter 'Silkscreen of header is clipped','58','114.5000 mm, 115.5000 mm[.]+Line on Edge.Cuts' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Adding KiBot warnings filter 'No kicad_common.json','58','Missing KiCad main config file' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Parsing preflight options: {'check_zone_fills': True, 'erc_warnings': False, 'fill_zones': True, 'filters': [{'filter': 'Courtyard from battery and counter overlap slightly', 'error': 'courtyards_overlap', 'regex': 'Footprint U2\\n.+BT1'}, {'filter': 'Battery Internal connection', 'error': 'unconnected_items', 'regex': 'BT1 on B.Cu\\n.+BT1 on B.Cu'}], 'ignore_unconnected': False, 'run_drc': True, 'run_erc': True, 'set_text_variables': [{'name': 'GIT_HASH', 'command': 'git log -1 --format="%h" $KIBOT_PCB_NAME', 'before': '<', 'after': '>'}, {'name': 'TODAY', 'command': 'date +"%Y-%m-%d"'}], 'update_xml': True} (kibot - config_reader.py:212)
DEBUG:Parsing preflight check_zone_fills (kibot - config_reader.py:221)
DEBUG:Parsing preflight erc_warnings (kibot - config_reader.py:221)
DEBUG:Parsing preflight fill_zones (kibot - config_reader.py:221)
DEBUG:Parsing preflight filters (kibot - config_reader.py:221)
DEBUG:Adding DRC/ERC errors filter 'Courtyard from battery and counter overlap slightly','courtyards_overlap','Footprint U2\n.+BT1' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Adding DRC/ERC errors filter 'Battery Internal connection','unconnected_items','BT1 on B.Cu\n.+BT1 on B.Cu' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Parsing preflight ignore_unconnected (kibot - config_reader.py:221)
DEBUG:Parsing preflight run_drc (kibot - config_reader.py:221)
DEBUG:Parsing preflight run_erc (kibot - config_reader.py:221)
DEBUG:Parsing preflight set_text_variables (kibot - config_reader.py:221)
DEBUG:Parsing preflight update_xml (kibot - config_reader.py:221)
DEBUG:Pre-parsing output options for `BoM_In_CSV` (bom) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `BoM_In_XSLX` (bom) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `Gerber_Drills` (gerb_drill) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `Gerber_Generation` (gerber) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `ibom_example` (ibom) (kibot - config_reader.py:129)
DEBUG:Pre-parsing output options for `pdf_sch_print_example` (pdf_sch_print) (kibot - config_reader.py:129)
DEBUG:Starting outputs for board /mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout/Hardware/BGM220P_Breakout.kicad_pcb (kibot - kiplot.py:433)
DEBUG:Outputs before preflights: [<kibot.out_bom.BoM object at 0x7fc9b0dc0d90>, <kibot.out_bom.BoM object at 0x7fc9b0dc0af0>, <kibot.out_gerb_drill.Gerb_Drill object at 0x7fc9b0dc0e80>, <kibot.out_gerber.Gerber object at 0x7fc9b0dc1060>, <kibot.out_ibom.IBoM object at 0x7fc9b0dc0fd0>, <kibot.out_pdf_sch_print.PDF_SCH_Print object at 0x7fc9b0dc1150>] (kibot - kiplot.py:476)
DEBUG:Preflight checks (kibot - kiplot.py:342)
DEBUG:Preflight apply check_zone_fills (kibot.pre_base - pre_base.py:77)
DEBUG:Preflight apply fill_zones (kibot.pre_base - pre_base.py:77)
DEBUG:Board loaded (kibot - kiplot.py:246)
DEBUG:Preflight apply filters (kibot.pre_base - pre_base.py:77)
DEBUG:Expanding `/mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout/./` in PCB context for filters: True parent: None (kibot - optionable.py:315)
DEBUG:Current text variables: {} (kibot.gs - gs.py:182)
DEBUG:Expanded `/mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout/./` (kibot - optionable.py:369)
DEBUG:Output destination: /mnt/c/Users/joel.santos/OneDrive/Desktop/test/BGMP220P-Breakout (kibot - kiplot.py:372)
DEBUG:Preflight apply run_drc (kibot.pre_base - pre_base.py:77)
DEBUG:Preflight apply run_erc (kibot.pre_base - pre_base.py:77)
DEBUG:Preflight apply set_text_variables (kibot.pre_base - pre_base.py:77)
DEBUG:- Current variables: {} (kibot - pre_set_text_variables.py:111)
DEBUG:Starting tool check for Git (kibot - dep_downloader.py:799)
DEBUG:- Checking binary tool Git (kibot - dep_downloader.py:693)
DEBUG:- Looking for tool `git` at system level (kibot - dep_downloader.py:627)
DEBUG:- Checking version for `/usr/bin/git` (kibot - dep_downloader.py:594)
DEBUG:- No particular version needed (kibot - dep_downloader.py:608)
DEBUG:- Running ['/usr/bin/git', '--version'] (kibot - dep_downloader.py:560)
DEBUG:- Looking for version in `git version 2.34.1` (kibot - dep_downloader.py:586)
DEBUG:- Found version (2, 34, 1, 0) (kibot - dep_downloader.py:621)
DEBUG:- Returning `/usr/bin/git` (kibot - dep_downloader.py:806)
ERROR:Failed to execute:
git log -1 --format="%h" $KIBOT_PCB_NAME
return code 128 (kibot - pre_set_text_variables.py:127)
Hi @mundodisco8 !
This is most probably related to the shell. Similar to what happends here.
The current dev
code adds a check for Bash.
I also added more debug information.
Can you try using the dev
code?
You can just do a git clone of the repo and run the script from the repo, no need to install.
Hey, thanks for your support, I appreciate it.
I did what you asked, and this is my log (I'm adding only the set_text_variables preflight log, and attach the rest as a file) :
DEBUG:Preflight apply run_drc (kibot.pre_base - pre_base.py:80)
DEBUG:Preflight apply run_erc (kibot.pre_base - pre_base.py:80)
DEBUG:Preflight apply set_text_variables (kibot.pre_base - pre_base.py:80)
DEBUG:- Current variables: {'GIT_HASH': 'COMMIT_HASH', 'TODAY': 'DATE'} (kibot - pre_set_text_variables.py:114)
DEBUG:Starting tool check for Git (kibot - dep_downloader.py:809)
DEBUG:- Checking binary tool Git (kibot - dep_downloader.py:703)
DEBUG:- Looking for tool `git` at system level (kibot - dep_downloader.py:637)
DEBUG:- Checking version for `/usr/bin/git` (kibot - dep_downloader.py:604)
DEBUG:- No particular version needed (kibot - dep_downloader.py:618)
DEBUG:- Running ['/usr/bin/git', '--version'] (kibot - dep_downloader.py:570)
DEBUG:- Looking for version in `git version 2.34.1` (kibot - dep_downloader.py:596)
DEBUG:- Found version (2, 34, 1, 0) (kibot - dep_downloader.py:631)
DEBUG:- Returning `/usr/bin/git` (kibot - dep_downloader.py:816)
DEBUG:Starting tool check for Bash (kibot - dep_downloader.py:809)
DEBUG:- Checking binary tool Bash (kibot - dep_downloader.py:703)
DEBUG:- Looking for tool `bash` at system level (kibot - dep_downloader.py:637)
DEBUG:- Checking version for `/usr/bin/bash` (kibot - dep_downloader.py:604)
DEBUG:- No particular version needed (kibot - dep_downloader.py:618)
DEBUG:- Running ['/usr/bin/bash', '--version'] (kibot - dep_downloader.py:570)
DEBUG:- Looking for version in `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.` (kibot - dep_downloader.py:596)
DEBUG:- Found version (5, 1, 16, 0) (kibot - dep_downloader.py:631)
DEBUG:- Returning `/usr/bin/bash` (kibot - dep_downloader.py:816)
DEBUG:Executing: / u s r / b i n / g i t ' ' l o g ' ' - 1 ' ' - - f o r m a t = '"' % h '"' ' ' '$' K I B O T _ P C B _ N A M E (kibot - pre_set_text_variables.py:131)
ERROR:Failed to execute:
git log -1 --format="%h" $KIBOT_PCB_NAME
return code 128 (kibot - pre_set_text_variables.py:134)
ERROR:stdout:
stderr:
fatal: option '-' must come before non-option arguments
(kibot - pre_set_text_variables.py:135)
Now, I tried to play a bit with the script. I started to hack to try to get the minimal code that would call the command:
from subprocess import run, PIPE
import re
import shlex
git_command = None
bash_command = None
def check_tool_dep(context, dep, fatal=False):
cmd, ver = check_tool_dep_get_ver(context, dep, fatal)
return cmd
re_git = re.compile(r'([^a-zA-Z_]|^)(git) ')
text = ""
command = 'git log -1 --format="%h" $KIBOT_PCB_NAME'
if not text and command:
if re_git.search(command):
# git_command = self.ensure_tool('git')
git_command = "/usr/bin/git"
command = re_git.sub(r'\1'+git_command.replace('\\', r'\\')+' ', command)
if not bash_command:
# bash_command = self.ensure_tool('Bash')
bash_command = "/usr/bin/bash"
cmd = [bash_command, '-c', command]
print(f"JOEL: old command: {command}")
print('Executing: '+shlex.join(command))
result = run(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True)
if result.returncode:
print('Failed to execute:\n{}\nreturn code {}'.format(command, result.returncode))
print('stdout:\n{}\nstderr:\n{}'.format(result.stdout, result.stderr))
sys.exit(FAILED_EXECUTE)
if not result.stdout:
print(W_EMPTREP+"Empty value from `{}`".format(command))
text = result.stdout.strip()
print(text)
If I execute this, it works, I get the hash. Weird... Anyway, hope the stderr helps, but I can't figure out why it's being returned, when calling the command in the command line works, and calling it from a script works...
Played a bit more, and I think I have the solution. If I hijack the command and cut it to git log -1 --format=%h
, it executes successfully, so it's the "$KIBOT_PCB_NAME" that causes the error in the script.
Now, I checked my path and it contains a folder with spaces on its name!!
I tested this again by moving it to a path without spaces and it works, and then renaming the folder to add a space and it fails again.
The reason why running with files contained on the WSL instance worked is because it didn't have spaces. Likewise, running the command in the command line worked because $KIBOT_PCB_NAME
was empty.
Played a bit more, and I think I have the solution. If I hijack the command and cut it to git log -1 --format=%h
, it executes successfully, so it's the "$KIBOT_PCB_NAME" that causes the error in the script.
Now, I checked my path and it contains a folder with spaces on its name!!
I tested this again by moving it to a path without spaces and it works, and then renaming the folder to add a space and it fails again.
The reason why running with files contained on the WSL instance worked is because it didn't have spaces. Likewise, running the command in the command line worked because $KIBOT_PCB_NAME
was empty.
Hi @mundodisco8 ! Thanks for testing it. I don't fully understand why the debug shows
DEBUG:Executing: / u s r / b i n / g i t ' ' l o g ' ' - 1 ' ' - - f o r m a t = '"' % h '"' ' ' '$' K I B O T _ P C B _ N A M E (kibot - pre_set_text_variables.py:131)
But this seems to be harmless anyways. Ok, the solution should be as simple as double quoting the variable: "$KIBOT_PCB_NAME" I added it to the examples and also a note about it.
If I can be picky, I would like to suggest a change in the logging message. I'm unit testing your module with the weirdest file names 😁 ...
So, I copied the settings to another project, run it and got an WARNING:(W073) Empty value from
git log -1 --format="%h" "$KIBOT_PCB_NAME"(kibot - pre_set_text_variables.py:130)
. Quite puzzled, I run the command and it worked, it was a Git repo, all that stuff. After a bit of fiddling, I realised that i was calling kicad with a -b Hardware/boardname
, but the real path was hardware/Boardname
(lowercase H). As I'm running the script in WSL, casing matters, and when checking the git command against an inexistent file, it returned "empty" (not error or anything). Surprisingly, the rest of the script worked, and I got gerbers and everything, maybe because paths are handled by Python and it's not that fuzzy.
My point is, testing against all the possible inputs is going to be a nightmare, so maybe the log message, instead of
Empty value from `git log -1 --format="%h" "$KIBOT_PCB_NAME"`
Should have been
Empty value from `git log -1 --format="%h" "Hardware/Boardname"`
With the environment varaiable substituted. Maybe even add a "revise your board path". What do you think?
Hi @mundodisco8 !
Your case is very special, replacing the environment variable in this case is trivial, but trying to emulate the shell interpretation of the command isn't.
I wonder how this problem happens. Why Python can find the file but git can't.
I added a debug message that tries to show such a difference, cayou try it?
Use debug information (-v
) and look for a message like this:
DEBUG:Using PCB: `kibot/tests/board_samples/kicad_6/3Rs.kicad_pcb` (kibot - kiplot.py:764)
DEBUG:Real PCB name: `kibot/tests/board_samples/kicad_6/3Rs.kicad_pcb` (kibot - kiplot.py:765)
If the names are different we can add a warning about it.
Sorry, I missed this. I removed the quotes from the variable name in the config file
set_text_variables:
- name: 'GIT_HASH'
command: 'git log -1 --format="%h" $KIBOT_PCB_NAME'
before: '<'
after: '>'
- name: 'TODAY'
command: 'date +"%Y-%m-%d"'
This is what I ran
src/kibot -c /mnt/c/Users/joel.santos/Path\ With\ Spaces/Desktop/Calavera/ArtifactCreation.kibot.yaml -b /mnt/c/Users/joel.santos/Path\ With\ Spaces/Desktop/Calavera/hardware/Calavera.kicad_pcb -e /mnt/c/Users/joel.santos/Path\ With\ Spaces/Desktop/Calavera/hardware/Calavera.kicad_sch -vvvv
This is the output
```text
DEBUG:KiBot 1.5.2 verbose level: 4 (kibot - __main__.py:306)
DEBUG:Detected KiCad v6.0.10 (6.0.10-86aedd382b~118~ubuntu22.04.1 6000010) (kibot - __main__.py:196)
DEBUG:KiCad config path /home/mundodisco8/.config/kicad/6.0 (kibot - __main__.py:246)
DEBUG:Command line arguments:
['src/kibot', '-c', '/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/ArtifactCreation.kibot.yaml', '-b', '/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_pcb', '-e', '/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_sch', '-vvvv'] (kibot - __main__.py:285)
DEBUG:Command line parsed:
{'--board-file': '/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_pcb',
'--cli-order': False,
'--copy-and-expand': False,
'--copy-options': False,
'--define': [],
'--dont-stop': False,
'--dry': False,
'--example': False,
'--global-redef': [],
'--help': False,
'--help-dependencies': False,
'--help-filters': False,
'--help-global-options': False,
'--help-list-outputs': False,
'--help-output': None,
'--help-outputs': False,
'--help-preflights': False,
'--help-variants': False,
'--invert-sel': False,
'--json': False,
'--list': False,
'--makefile': None,
'--markdown': False,
'--no-auto-download': False,
'--no-priority': False,
'--no-warn': None,
'--out-dir': '.',
'--plot-config': '/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/ArtifactCreation.kibot.yaml',
'--quick-start': False,
'--quiet': False,
'--schematic': '/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_sch',
'--skip-pre': None,
'--start': '.',
'--type': [],
'--verbose': 4,
'--version': False,
'TARGET': []} (kibot - __main__.py:286)
DEBUG:- Processing dependencies for `global` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'name': 'Colorama', 'python_module': True, 'role': 'Get color messages in a portable way', 'debian': 'python3-colorama', 'arch': 'python-colorama'}, {'name': 'Requests', 'python_module': True, 'role': 'mandatory', 'debian': 'python3-requests', 'arch': 'python-requests'}, {'name': 'PyYAML', 'python_module': True, 'debian': 'python3-yaml', 'arch': 'python-yaml', 'module_name': 'yaml', 'role': 'mandatory'}, {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto'}, {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git'}, {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'RSVG', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}]}, {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs'}, {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts']}, {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool'}, {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python'}, {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool'}, {'from': 'KiKit', 'role': 'Separate multiboard projects'}, {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python'}, {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True}, {'name': 'Bash', 'url': 'https://www.gnu.org/software/bash/', 'debian': 'bash', 'arch': 'bash'}, {'name': 'Blender', 'url': 'https://www.blender.org/', 'debian': 'blender', 'arch': 'blender'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'name': 'Colorama', 'python_module': True, 'role': 'Get color messages in a portable way', 'debian': 'python3-colorama', 'arch': 'python-colorama'} (kibot - dep_downloader.py:1007)
DEBUG: - Registering dep {'name': 'Requests', 'python_module': True, 'role': 'mandatory', 'debian': 'python3-requests', 'arch': 'python-requests'} (kibot - dep_downloader.py:1007)
DEBUG: - Registering dep {'name': 'PyYAML', 'python_module': True, 'debian': 'python3-yaml', 'arch': 'python-yaml', 'module_name': 'yaml', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Registering base dep {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto'} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git'} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'RSVG', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}]} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs'} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts']} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool'} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python'} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool'} (kibot - dep_downloader.py:1010)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'Separate multiboard projects'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'Separate multiboard projects'} (kibot - dep_downloader.py:935)
DEBUG: - Registering base dep {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python'} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'Bash', 'url': 'https://www.gnu.org/software/bash/', 'debian': 'bash', 'arch': 'bash'} (kibot - dep_downloader.py:1010)
DEBUG: - Registering base dep {'name': 'Blender', 'url': 'https://www.blender.org/', 'debian': 'blender', 'arch': 'blender'} (kibot - dep_downloader.py:1010)
DEBUG:Importing from /home/mundodisco8/KiBot/kibot (kibot - kiplot.py:86)
DEBUG:- Importing fil_base (kibot - kiplot.py:93)
DEBUG:- Importing fil_expand_text_vars (kibot - kiplot.py:93)
DEBUG:- Importing fil_field_modify (kibot - kiplot.py:93)
DEBUG:- Importing fil_field_rename (kibot - kiplot.py:93)
DEBUG:- Importing fil_generic (kibot - kiplot.py:93)
DEBUG:- Importing fil_rot_footprint (kibot - kiplot.py:93)
DEBUG:- Importing fil_subparts (kibot - kiplot.py:93)
DEBUG:- Importing fil_urlify (kibot - kiplot.py:93)
DEBUG:- Importing fil_var_rename (kibot - kiplot.py:93)
DEBUG:- Importing fil_var_rename_kicost (kibot - kiplot.py:93)
DEBUG:- Importing globals (kibot - kiplot.py:93)
DEBUG:- Importing out_any_drill (kibot - kiplot.py:93)
DEBUG:- Importing out_any_layer (kibot - kiplot.py:93)
DEBUG:- Importing out_any_pcb_print (kibot - kiplot.py:93)
DEBUG:- Importing out_any_sch_print (kibot - kiplot.py:93)
DEBUG:- Importing out_any_stencil (kibot - kiplot.py:93)
DEBUG:- Importing out_base (kibot - kiplot.py:93)
DEBUG:- Importing out_base_3d (kibot - kiplot.py:93)
DEBUG:- Importing out_blender_export (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_blender_export` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'Blender', 'role': 'mandatory', 'version': '3.4.0'}, {'from': 'ImageMagick', 'role': 'Automatically crop images'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'Blender', 'role': 'mandatory', 'version': '3.4.0'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Blender: {'name': 'Blender', 'url': 'https://www.blender.org/', 'debian': 'blender', 'arch': 'blender', 'from': 'Blender', 'role': 'mandatory', 'version': '3.4.0'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Automatically crop images'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Automatically crop images'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_boardview (kibot - kiplot.py:93)
DEBUG:- Importing out_bom (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_bom` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiCost', 'role': 'Find components costs and specs', 'version': '1.1.8'}, {'name': 'XLSXWriter', 'role': 'Create XLSX files', 'python_module': True, 'debian': 'python3-xlsxwriter', 'arch': 'python-xlsxwriter', 'downloader': 'python'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiCost', 'role': 'Find components costs and specs', 'version': '1.1.8'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiCost: {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool', 'from': 'KiCost', 'role': 'Find components costs and specs', 'version': '1.1.8'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'name': 'XLSXWriter', 'role': 'Create XLSX files', 'python_module': True, 'debian': 'python3-xlsxwriter', 'arch': 'python-xlsxwriter', 'downloader': 'python'} (kibot - dep_downloader.py:1007)
DEBUG:- Importing out_compress (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_compress` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'name': 'RAR', 'url': 'https://www.rarlab.com/', 'url_down': 'https://www.rarlab.com/download.htm', 'help_option': '-?', 'downloader': 'rar', 'role': 'Compress in RAR format', 'debian': 'rar', 'arch': 'rar(AUR)'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'name': 'RAR', 'url': 'https://www.rarlab.com/', 'url_down': 'https://www.rarlab.com/download.htm', 'help_option': '-?', 'downloader': 'rar', 'role': 'Compress in RAR format', 'debian': 'rar', 'arch': 'rar(AUR)'} (kibot - dep_downloader.py:1007)
DEBUG:- Importing out_copy_files (kibot - kiplot.py:93)
DEBUG:- Importing out_diff (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_diff` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'name': 'KiCad PCB/SCH Diff', 'version': '2.4.3', 'role': 'mandatory', 'github': 'INTI-CMNB/KiDiff', 'command': 'kicad-diff.py', 'pypi': 'kidiff', 'downloader': 'pytool', 'id': 'KiDiff'}, {'from': 'Git', 'role': 'Compare with files in the repo'}, {'from': 'KiAuto', 'role': 'Compare schematics', 'version': '2.0.0'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'name': 'KiCad PCB/SCH Diff', 'version': '2.4.3', 'role': 'mandatory', 'github': 'INTI-CMNB/KiDiff', 'command': 'kicad-diff.py', 'pypi': 'kidiff', 'downloader': 'pytool', 'id': 'KiDiff'} (kibot - dep_downloader.py:1007)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Compare with files in the repo'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Compare with files in the repo'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'Compare schematics', 'version': '2.0.0'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'Compare schematics', 'version': '2.0.0'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_download_datasheets (kibot - kiplot.py:93)
DEBUG:- Importing out_dxf (kibot - kiplot.py:93)
DEBUG:- Importing out_dxf_sch_print (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_dxf_sch_print` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.1.1'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_excellon (kibot - kiplot.py:93)
DEBUG:- Importing out_gencad (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_gencad` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.5'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.5'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.5'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_gerb_drill (kibot - kiplot.py:93)
DEBUG:- Importing out_gerber (kibot - kiplot.py:93)
DEBUG:- Importing out_hpgl (kibot - kiplot.py:93)
DEBUG:- Importing out_hpgl_sch_print (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_hpgl_sch_print` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.1.1'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_ibom (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_ibom` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'name': 'Interactive HTML BoM', 'role': 'mandatory', 'github': 'INTI-CMNB/InteractiveHtmlBom', 'command': 'generate_interactive_bom.py', 'no_cmd_line_version_old': True, 'plugin_dirs': ['InteractiveHtmlBom', 'InteractiveHtmlBom/InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom/InteractiveHtmlBom'], 'version': '2.4.1.4', 'downloader': 'pytool', 'id': 'ibom'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'name': 'Interactive HTML BoM', 'role': 'mandatory', 'github': 'INTI-CMNB/InteractiveHtmlBom', 'command': 'generate_interactive_bom.py', 'no_cmd_line_version_old': True, 'plugin_dirs': ['InteractiveHtmlBom', 'InteractiveHtmlBom/InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom', 'org_openscopeproject_InteractiveHtmlBom/InteractiveHtmlBom'], 'version': '2.4.1.4', 'downloader': 'pytool', 'id': 'ibom'} (kibot - dep_downloader.py:1007)
DEBUG:- Importing out_info (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_info` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'Show KiAuto installation information', 'version': '2.0.0'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'Show KiAuto installation information', 'version': '2.0.0'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'Show KiAuto installation information', 'version': '2.0.0'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_kibom (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_kibom` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'name': 'KiBoM', 'role': 'mandatory', 'github': 'INTI-CMNB/KiBoM', 'command': 'KiBOM_CLI.py', 'version': '1.8.0', 'downloader': 'pytool'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'name': 'KiBoM', 'role': 'mandatory', 'github': 'INTI-CMNB/KiBoM', 'command': 'KiBOM_CLI.py', 'version': '1.8.0', 'downloader': 'pytool'} (kibot - dep_downloader.py:1007)
DEBUG:- Importing out_kicost (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_kicost` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiCost', 'role': 'mandatory', 'version': '1.1.7'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiCost', 'role': 'mandatory', 'version': '1.1.7'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiCost: {'name': 'KiCost', 'github': 'hildogjr/KiCost', 'pypi': 'KiCost', 'downloader': 'pytool', 'from': 'KiCost', 'role': 'mandatory', 'version': '1.1.7'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_kikit_present (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_kikit_present` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'name': 'markdown2', 'python_module': True, 'debian': 'python3-markdown2', 'arch': 'python-markdown2', 'role': 'mandatory'}, {'from': 'Git', 'role': 'Find commit hash and/or date'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'name': 'markdown2', 'python_module': True, 'debian': 'python3-markdown2', 'arch': 'python-markdown2', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_navigate_results (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_navigate_results` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'RSVG', 'role': 'Create outputs preview', 'id': 'rsvg1'}, {'from': 'RSVG', 'role': 'Create PNG icons', 'id': 'rsvg2'}, {'from': 'Ghostscript', 'role': 'Create outputs preview'}, {'from': 'ImageMagick', 'role': 'Create outputs preview'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create outputs preview', 'id': 'rsvg1'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'rsvg1', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create PNG icons', 'id': 'rsvg2'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'rsvg2', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create PNG icons'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'Ghostscript', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Ghostscript: {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs', 'from': 'Ghostscript', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Create outputs preview'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_netlist (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_netlist` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.0.0'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_panelize (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_panelize` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiKit', 'role': 'mandatory'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_pcb2blender_tools (kibot - kiplot.py:93)
DEBUG:- Importing out_pcb_print (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_pcb_print` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'RSVG', 'role': 'Create PDF, PNG, PS and EPS formats', 'id': 'rsvg1'}, {'from': 'Ghostscript', 'role': 'Create PNG, PS and EPS formats'}, {'from': 'ImageMagick', 'role': 'Create monochrome prints and scaled PNG files'}, {'from': 'KiAuto', 'command': 'pcbnew_do', 'role': 'Print the page frame in GUI mode', 'version': '1.6.7'}, {'from': 'LXML', 'role': 'mandatory'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create PDF, PNG, PS and EPS formats', 'id': 'rsvg1'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'rsvg1', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create PDF, PNG, PS and EPS formats'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'Ghostscript', 'role': 'Create PNG, PS and EPS formats'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Ghostscript: {'name': 'Ghostscript', 'url': 'https://www.ghostscript.com/', 'url_down': 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases', 'debian': 'ghostscript', 'arch': 'ghostscript', 'command': 'gs', 'downloader': 'gs', 'from': 'Ghostscript', 'role': 'Create PNG, PS and EPS formats'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Create monochrome prints and scaled PNG files'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Create monochrome prints and scaled PNG files'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'KiAuto', 'command': 'pcbnew_do', 'role': 'Print the page frame in GUI mode', 'version': '1.6.7'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'Print the page frame in GUI mode', 'version': '1.6.7'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from LXML: {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python', 'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_pcb_variant (kibot - kiplot.py:93)
DEBUG:- Importing out_pcbdraw (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_pcbdraw` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'RSVG', 'role': 'Create PNG, JPG and BMP images'}, {'from': 'ImageMagick', 'role': 'Create JPG and BMP images'}, {'from': 'LXML', 'role': 'mandatory'}, {'name': 'numpy', 'python_module': True, 'debian': 'python3-numpy', 'arch': 'python-numpy', 'downloader': 'python', 'role': 'Automatically adjust SVG margin'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'RSVG', 'role': 'Create PNG, JPG and BMP images'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from RSVG: {'name': 'RSVG tools', 'url': 'https://gitlab.gnome.org/GNOME/librsvg', 'debian': 'librsvg2-bin', 'arch': 'librsvg', 'command': 'rsvg-convert', 'downloader': 'rsvg', 'id': 'RSVG', 'tests': [{'command': ['convert', '-list', 'font'], 'search': 'Helvetica', 'error': 'Missing Helvetica font, try installing Ghostscript fonts'}], 'from': 'RSVG', 'role': 'Create PNG, JPG and BMP images'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Create JPG and BMP images'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Create JPG and BMP images'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from LXML: {'name': 'LXML', 'python_module': True, 'debian': 'python3-lxml', 'arch': 'python-lxml', 'downloader': 'python', 'from': 'LXML', 'role': 'mandatory'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'name': 'numpy', 'python_module': True, 'debian': 'python3-numpy', 'arch': 'python-numpy', 'downloader': 'python', 'role': 'Automatically adjust SVG margin'} (kibot - dep_downloader.py:1007)
DEBUG:- Importing out_pdf (kibot - kiplot.py:93)
DEBUG:- Importing out_pdf_pcb_print (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_pdf_pcb_print` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_pdf_sch_print (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_pdf_sch_print` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.1.1'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_pdfunite (kibot - kiplot.py:93)
DEBUG:- Importing out_populate (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_populate` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'name': 'mistune', 'python_module': True, 'debian': 'python3-mistune', 'arch': 'python-mistune', 'role': 'mandatory'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'name': 'mistune', 'python_module': True, 'debian': 'python3-mistune', 'arch': 'python-mistune', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG:- Importing out_position (kibot - kiplot.py:93)
DEBUG:- Importing out_ps (kibot - kiplot.py:93)
DEBUG:- Importing out_ps_sch_print (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_ps_sch_print` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.1.1'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_qr_lib (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_qr_lib` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'name': 'QRCodeGen', 'role': 'mandatory', 'python_module': True, 'downloader': 'python', 'debian': 'python3-qrcodegen'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'name': 'QRCodeGen', 'role': 'mandatory', 'python_module': True, 'downloader': 'python', 'debian': 'python3-qrcodegen'} (kibot - dep_downloader.py:1007)
DEBUG:- Importing out_render_3d (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_render_3d` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.4'}, {'from': 'ImageMagick', 'role': 'Automatically crop images'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.4'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.4'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'ImageMagick', 'role': 'Automatically crop images'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from ImageMagick: {'name': 'ImageMagick', 'url': 'https://imagemagick.org/', 'url_down': 'https://imagemagick.org/script/download.php', 'command': 'convert', 'downloader': 'convert', 'debian': 'imagemagick', 'arch': 'imagemagick', 'extra_arch': ['gsfonts'], 'from': 'ImageMagick', 'role': 'Automatically crop images'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_report (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_report` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'name': 'Pandoc', 'role': 'Create PDF/ODF/DOCX files', 'url': 'https://pandoc.org/', 'url_down': 'https://github.com/jgm/pandoc/releases', 'debian': 'pandoc', 'arch': 'pandoc', 'extra_deb': ['texlive', 'texlive-latex-base', 'texlive-latex-recommended'], 'extra_arch': ['texlive-core'], 'comments': 'In CI/CD environments: the `kicad_auto_test` docker image contains it.'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'name': 'Pandoc', 'role': 'Create PDF/ODF/DOCX files', 'url': 'https://pandoc.org/', 'url_down': 'https://github.com/jgm/pandoc/releases', 'debian': 'pandoc', 'arch': 'pandoc', 'extra_deb': ['texlive', 'texlive-latex-base', 'texlive-latex-recommended'], 'extra_arch': ['texlive-core'], 'comments': 'In CI/CD environments: the `kicad_auto_test` docker image contains it.'} (kibot - dep_downloader.py:1007)
DEBUG:- Importing out_sch_variant (kibot - kiplot.py:93)
DEBUG:- Importing out_stencil_3d (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_stencil_3d` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiKit', 'role': 'mandatory'}, {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'}, {'from': 'Xvfbwrapper', 'role': 'mandatory'}, {'from': 'Xvfb', 'role': 'mandatory'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Registering dep {'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Xvfbwrapper: {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python', 'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Xvfb: {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True, 'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_stencil_for_jig (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_stencil_for_jig` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiKit', 'role': 'mandatory'}, {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'}, {'from': 'Xvfbwrapper', 'role': 'mandatory'}, {'from': 'Xvfb', 'role': 'mandatory'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiKit: {'name': 'KiKit', 'github': 'yaqwsx/KiKit', 'pypi': 'KiKit', 'downloader': 'pytool', 'from': 'KiKit', 'role': 'mandatory'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'name': 'OpenSCAD', 'url': 'https://openscad.org/', 'url_down': 'https://openscad.org/downloads.html', 'command': 'openscad', 'debian': 'openscad', 'arch': 'openscad', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Registering dep {'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Xvfbwrapper: {'name': 'Xvfbwrapper', 'python_module': True, 'debian': 'python3-xvfbwrapper', 'arch': 'python-xvfbwrapper', 'downloader': 'python', 'from': 'Xvfbwrapper', 'role': 'mandatory'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Xvfb: {'name': 'Xvfb', 'url': 'https://www.x.org', 'command': 'xvfb-run', 'debian': 'xvfb', 'arch': 'xorg-server-xvfb', 'no_cmd_line_version': True, 'from': 'Xvfb', 'role': 'mandatory'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_step (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_step` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.1', 'command': 'kicad2step_do'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.1', 'command': 'kicad2step_do'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'kicad2step_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.1'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_svg (kibot - kiplot.py:93)
DEBUG:- Importing out_svg_pcb_print (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_svg_pcb_print` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.6.7'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_svg_sch_print (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_svg_sch_print` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '2.1.1'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.1.1'} (kibot - dep_downloader.py:935)
DEBUG:- Importing out_vrml (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `out_vrml` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '2.1.0'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '2.1.0'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.1.0'} (kibot - dep_downloader.py:935)
DEBUG:- Importing pre_annotate_pcb (kibot - kiplot.py:93)
DEBUG:- Importing pre_annotate_power (kibot - kiplot.py:93)
DEBUG:- Importing pre_any_replace (kibot - kiplot.py:93)
DEBUG:- Importing pre_base (kibot - kiplot.py:93)
DEBUG:- Importing pre_check_zone_fills (kibot - kiplot.py:93)
DEBUG:- Importing pre_erc_warnings (kibot - kiplot.py:93)
DEBUG:- Importing pre_fill_zones (kibot - kiplot.py:93)
DEBUG:- Importing pre_filters (kibot - kiplot.py:93)
DEBUG:- Importing pre_ignore_unconnected (kibot - kiplot.py:93)
DEBUG:- Importing pre_pcb_replace (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `pre_pcb_replace` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'Git', 'role': 'Find commit hash and/or date'}, {'from': 'Bash', 'role': 'Run external commands to create replacement text'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'Bash', 'role': 'Run external commands to create replacement text'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Bash: {'name': 'Bash', 'url': 'https://www.gnu.org/software/bash/', 'debian': 'bash', 'arch': 'bash', 'from': 'Bash', 'role': 'Run external commands to create replacement text'} (kibot - dep_downloader.py:935)
DEBUG:- Importing pre_run_drc (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `pre_run_drc` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'pcbnew_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '2.0.0'} (kibot - dep_downloader.py:935)
DEBUG:- Importing pre_run_erc (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `pre_run_erc` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.5.4'} (kibot - dep_downloader.py:935)
DEBUG:- Importing pre_sch_replace (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `pre_sch_replace` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'Git', 'role': 'Find commit hash and/or date'}, {'from': 'Bash', 'role': 'Run external commands to create replacement text'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'Bash', 'role': 'Run external commands to create replacement text'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Bash: {'name': 'Bash', 'url': 'https://www.gnu.org/software/bash/', 'debian': 'bash', 'arch': 'bash', 'from': 'Bash', 'role': 'Run external commands to create replacement text'} (kibot - dep_downloader.py:935)
DEBUG:- Importing pre_set_text_variables (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `pre_set_text_variables` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'Git', 'role': 'Find commit hash and/or date'}, {'from': 'Bash', 'role': 'Run external commands to create replacement text'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Git: {'name': 'Git', 'url': 'https://git-scm.com/', 'downloader': 'git', 'debian': 'git', 'arch': 'git', 'from': 'Git', 'role': 'Find commit hash and/or date'} (kibot - dep_downloader.py:935)
DEBUG: - Registering dep {'from': 'Bash', 'role': 'Run external commands to create replacement text'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from Bash: {'name': 'Bash', 'url': 'https://www.gnu.org/software/bash/', 'debian': 'bash', 'arch': 'bash', 'from': 'Bash', 'role': 'Run external commands to create replacement text'} (kibot - dep_downloader.py:935)
DEBUG:- Importing pre_update_qr (kibot - kiplot.py:93)
DEBUG:- Importing pre_update_xml (kibot - kiplot.py:93)
DEBUG:- Processing dependencies for `pre_update_xml` (kibot - dep_downloader.py:995)
DEBUG: - Data: {'Dependencies': [{'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'}]} (kibot - dep_downloader.py:996)
DEBUG: - Registering dep {'from': 'KiAuto', 'role': 'mandatory', 'command': 'eeschema_do', 'version': '1.5.4'} (kibot - dep_downloader.py:1007)
DEBUG: - Dep after applying from KiAuto: {'name': 'KiCad Automation tools', 'github': 'INTI-CMNB/KiAuto', 'command': 'eeschema_do', 'pypi': 'kiauto', 'downloader': 'pytool', 'id': 'KiAuto', 'from': 'KiAuto', 'role': 'mandatory', 'version': '1.5.4'} (kibot - dep_downloader.py:935)
DEBUG:- Importing var_base (kibot - kiplot.py:93)
DEBUG:- Importing var_ibom (kibot - kiplot.py:93)
DEBUG:- Importing var_kibom (kibot - kiplot.py:93)
DEBUG:- Importing var_kicost (kibot - kiplot.py:93)
DEBUG:Deactivating macros (kibot - kiplot.py:117)
DEBUG:Using configuration file: `/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/ArtifactCreation.kibot.yaml` (kibot - __main__.py:145)
DEBUG:Using schematic: `/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_sch` (kibot - kiplot.py:741)
DEBUG:Real schematic name: `/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_sch` (kibot - kiplot.py:742)
DEBUG:Using PCB: `/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_pcb` (kibot - kiplot.py:773)
DEBUG:Real PCB name: `/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_pcb` (kibot - kiplot.py:774)
DEBUG:Parsing global options: {'filters': [{'filter': 'No kicad_common.json', 'number': 58, 'regex': 'Missing KiCad main config file'}, {'filter': 'Battery holder vs switch courtyards', 'number': 58, 'regex': '(?s)BT1(.*)SW1'}, {'filter': 'LED Current Resistor Values are not numbers', 'number': 20, 'regex': 'no match in R[56]'}]} (kibot - config_reader.py:263)
DEBUG:Looking for stack-up information in the PCB (kibot.globals - globals.py:294)
DEBUG:- Found stack-up information (kibot.globals - globals.py:310)
DEBUG:- F.SilkS color: White (kibot.globals - globals.py:265)
DEBUG:- F.Mask color: Black (kibot.globals - globals.py:273)
DEBUG:- B.Mask color: Black (kibot.globals - globals.py:277)
DEBUG:- B.SilkS color: White (kibot.globals - globals.py:269)
DEBUG:- Copper finish: None (kibot.globals - globals.py:325)
DEBUG:- Impedance controlled: no (kibot.globals - globals.py:337)
DEBUG:- PCB Material/s: FR4 (kibot.globals - globals.py:346)
DEBUG:- Copper thickness: 35 (kibot.globals - globals.py:348)
DEBUG:Adding KiBot warnings filter 'No kicad_common.json','58','Missing KiCad main config file' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Adding KiBot warnings filter 'Battery holder vs switch courtyards','58','(?s)BT1(.*)SW1' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Adding KiBot warnings filter 'LED Current Resistor Values are not numbers','20','no match in R[56]' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Parsing preflight options: {'check_zone_fills': True, 'erc_warnings': False, 'fill_zones': True, 'filters': [{'filter': 'Silkscreen is clipped everywhere', 'error': 'silk_over_copper', 'regex': 'Silkscreen'}, {'filter': 'Battery pads internally connected', 'error': 'unconnected_items', 'regex': 'Pad \\+ \\[Net-\\(BT1-Pad\\+\\)\\] of BT1'}, {'filter': 'Battery holder vs switch courtyards', 'error': 'courtyards_overlap', 'regex': '(?s)BT1(.*)SW1'}], 'ignore_unconnected': False, 'run_drc': True, 'run_erc': True, 'set_text_variables': [{'name': 'GIT_HASH', 'command': 'git log -1 --format="%h" $KIBOT_PCB_NAME', 'before': '<', 'after': '>'}, {'name': 'TODAY', 'command': 'date +"%Y-%m-%d"'}], 'update_xml': True} (kibot - config_reader.py:245)
DEBUG:Parsing preflight check_zone_fills (kibot - config_reader.py:254)
DEBUG:Parsing preflight erc_warnings (kibot - config_reader.py:254)
DEBUG:Parsing preflight fill_zones (kibot - config_reader.py:254)
DEBUG:Parsing preflight filters (kibot - config_reader.py:254)
DEBUG:Adding DRC/ERC errors filter 'Silkscreen is clipped everywhere','silk_over_copper','Silkscreen' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Adding DRC/ERC errors filter 'Battery pads internally connected','unconnected_items','Pad \+ \[Net-\(BT1-Pad\+\)\] of BT1' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Adding DRC/ERC errors filter 'Battery holder vs switch courtyards','courtyards_overlap','(?s)BT1(.*)SW1' (kibot.pre_filters - pre_filters.py:74)
DEBUG:Parsing preflight ignore_unconnected (kibot - config_reader.py:254)
DEBUG:Parsing preflight run_drc (kibot - config_reader.py:254)
DEBUG:Parsing preflight run_erc (kibot - config_reader.py:254)
DEBUG:Parsing preflight set_text_variables (kibot - config_reader.py:254)
DEBUG:Parsing preflight update_xml (kibot - config_reader.py:254)
DEBUG:Pre-parsing output options for `BoM_In_CSV` (bom) (kibot - config_reader.py:130)
DEBUG:Pre-parsing output options for `BoM_In_XSLX` (bom) (kibot - config_reader.py:130)
DEBUG:Pre-parsing output options for `Gerber_Drills` (gerb_drill) (kibot - config_reader.py:130)
DEBUG:Pre-parsing output options for `Gerber_Generation` (gerber) (kibot - config_reader.py:130)
DEBUG:Pre-parsing output options for `Compressed_Gerbers` (compress) (kibot - config_reader.py:130)
DEBUG:Pre-parsing output options for `pdf_sch_print_example` (pdf_sch_print) (kibot - config_reader.py:130)
DEBUG:Starting outputs for board /mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_pcb (kibot - kiplot.py:445)
DEBUG:Outputs before preflights: ['BoM_In_CSV', 'BoM_In_XSLX', 'Gerber_Drills', 'Gerber_Generation', 'Compressed_Gerbers', 'pdf_sch_print_example'] (kibot - kiplot.py:494)
DEBUG:Preflight checks (kibot - kiplot.py:335)
DEBUG:Preflight apply check_zone_fills (kibot.pre_base - pre_base.py:80)
DEBUG:Preflight apply fill_zones (kibot.pre_base - pre_base.py:80)
DEBUG:Board loaded (kibot - kiplot.py:238)
DEBUG:Preflight apply filters (kibot.pre_base - pre_base.py:80)
DEBUG:Expanding `/home/mundodisco8/KiBot/./` in PCB context for filters: True parent: None (kibot - optionable.py:347)
DEBUG:Current text variables: {'GIT_HASH': '<>', 'TODAY': '2023-01-31'} (kibot.gs - gs.py:187)
DEBUG:Expanded `/home/mundodisco8/KiBot/./` (kibot - optionable.py:401)
DEBUG:Output destination: /home/mundodisco8/KiBot (kibot - kiplot.py:365)
DEBUG:Preflight apply run_drc (kibot.pre_base - pre_base.py:80)
DEBUG:Preflight apply run_erc (kibot.pre_base - pre_base.py:80)
DEBUG:Preflight apply set_text_variables (kibot.pre_base - pre_base.py:80)
DEBUG:- Current variables: {'GIT_HASH': '<>', 'TODAY': '2023-01-31'} (kibot - pre_set_text_variables.py:118)
DEBUG:Starting tool check for Git (kibot - dep_downloader.py:809)
DEBUG:- Checking binary tool Git (kibot - dep_downloader.py:703)
DEBUG:- Looking for tool `git` at system level (kibot - dep_downloader.py:637)
DEBUG:- Checking version for `/usr/bin/git` (kibot - dep_downloader.py:604)
DEBUG:- No particular version needed (kibot - dep_downloader.py:618)
DEBUG:- Running ['/usr/bin/git', '--version'] (kibot - dep_downloader.py:570)
DEBUG:- Looking for version in `git version 2.34.1` (kibot - dep_downloader.py:596)
DEBUG:- Found version (2, 34, 1, 0) (kibot - dep_downloader.py:631)
DEBUG:- Returning `/usr/bin/git` (kibot - dep_downloader.py:816)
DEBUG:Starting tool check for Bash (kibot - dep_downloader.py:809)
DEBUG:- Checking binary tool Bash (kibot - dep_downloader.py:703)
DEBUG:- Looking for tool `bash` at system level (kibot - dep_downloader.py:637)
DEBUG:- Checking version for `/usr/bin/bash` (kibot - dep_downloader.py:604)
DEBUG:- No particular version needed (kibot - dep_downloader.py:618)
DEBUG:- Running ['/usr/bin/bash', '--version'] (kibot - dep_downloader.py:570)
DEBUG:- Looking for version in `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.` (kibot - dep_downloader.py:596)
DEBUG:- Found version (5, 1, 16, 0) (kibot - dep_downloader.py:631)
DEBUG:- Returning `/usr/bin/bash` (kibot - dep_downloader.py:816)
DEBUG:Executing: / u s r / b i n / g i t ' ' l o g ' ' - 1 ' ' - - f o r m a t = '"' % h '"' ' ' '$' K I B O T _ P C B _ N A M E (kibot - pre_set_text_variables.py:135)
ERROR:Failed to execute:
git log -1 --format="%h" $KIBOT_PCB_NAME
return code 128 (kibot - pre_set_text_variables.py:138)
ERROR:stderr:
fatal: option '-' must come before non-option arguments
(kibot - pre_set_text_variables.py:142)
Hi @mundodisco8 ! What I need is to try to reproduce your upper/lower-case problem. You wrote:
i was calling kicad with a -b Hardware/boardname, but the real path was hardware/Boardname (lowercase H).
So I added a code that prints things like:
DEBUG:Using schematic: `/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_sch` (kibot - kiplot.py:741)
DEBUG:Real schematic name: `/mnt/c/Users/joel.santos/Path With Spaces/Desktop/Calavera/hardware/Calavera.kicad_sch` (kibot - kiplot.py:742)
The first line is the name you indicated at the command line, the second is a trick that should find the actual name of the file in the filesystem. I need just this part of the log to see if we can detect the difference between the name you passed in the command line and the name KiBot detects. If we can detect this difference KiBot could print a warning about it. Explaining you passed a name that doesn't match the exact name of the file and that this could create problems when KiBot passes this (wrong) name to other tools, even when KiBot can use the (wrong) name.
Let's see if I got it
With the same paths (real linux path /mnt/c/Users/joel.santos/Path\ With\ Spaces/Desktop/Calavera/hardware/Calavera.kicad_pcb
)
I call
src/kibot -c /mnt/c/Users/joel.santos/Path\ With\ Spaces/Desktop/CALAVERA/ArtifactCreation.kibot.yaml -b /mnt/c/Users/joel.santos/Path\ With\ Spaces/Desktop/Calavera/HARDWARE/Calavera.kicad_pcb -e /mnt/c/Users/joel.santos/Path\ With\ Spaces/Desktop/Calavera/HARDWARE/Calavera.kicad_sch -vvvv
Where I replaced hardware
from the real path with HARDWARE
in the command, and also, because it wasn't in the path for the config file, replaced calavera
with CALAVERA
.
Relevant log lines
DEBUG:Using configuration file: `/mnt/c/Users/joel.santos/OneDrive - Brompton Bicycle Ltd/Desktop/CALAVERA/ArtifactCreation.kibot.yaml` (kibot - __main__.py:145)
DEBUG:Using schematic: `/mnt/c/Users/joel.santos/OneDrive - Brompton Bicycle Ltd/Desktop/Calavera/HARDWARE/Calavera.kicad_sch` (kibot - kiplot.py:741)
DEBUG:Real schematic name: `/mnt/c/Users/joel.santos/OneDrive - Brompton Bicycle Ltd/Desktop/Calavera/HARDWARE/Calavera.kicad_sch` (kibot - kiplot.py:742)
DEBUG:Using PCB: `/mnt/c/Users/joel.santos/OneDrive - Brompton Bicycle Ltd/Desktop/Calavera/HARDWARE/Calavera.kicad_pcb` (kibot - kiplot.py:773)
DEBUG:Real PCB name: `/mnt/c/Users/joel.santos/OneDrive - Brompton Bicycle Ltd/Desktop/Calavera/HARDWARE/Calavera.kicad_pcb` (kibot - kiplot.py:774)
Am I doing wrong? I don't see any changes in capitalization. I'm on latest commit on dev
~/KiBot > src/kibot --version
KiBot 1.5.2 - Copyright 2018-2023, Salvador E. Tropea/INTI/John Beard - License: GPL v3+
~/KiBot > git status
On branch dev
Your branch is up to date with 'origin/dev'.
Hi @mundodisco8 ! Thanks for testing, nothing wrong on your side, is just the detection fails. I found it on internet and hoped it was usable.
Fill as much as you can, remove the rest
Describe the bug When trying to substitute the commit hash in my files with the
set_text_variables:
preflight command, git returns errorcode 128.This only happens under WSL AND if the files I'm working on are mounted from my windows partition (path
/mnt/c/Users...
). If I clone the repo "inside" WSL (in my home folder, for example), then it works without issue.Running the git command manually in the Windows path (
/mnt/c/...
) worksTo Reproduce Running Ubuntu on WSL2, with KiCad 6.0.10 and KiBot installed, no dependencies missing from
kibot-check
. I tried with multiple projects and all have the issue, so I don't expect it to be a specific project issue.Workaround Run KiBot on a project that is located "inside" the WSL filesystem.
Expected behavior The command returns the hash and doesn't error out.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information): Where are you running KiBot:
WSL2 on Windows 11, running Ubuntu 22.04, all up to date as of today. Installed KiCad and KiBot via apt-get.
Additional context I understand that you might not "support" WSL, but I found it curious that it works when the files are inside the WSL volume, and not mounted from the NTFS volume. As the git command works when called from the command line, I figured out that it might have to be with the way you are calling it. I checked
pre_set_text_variables.py
but I couldn't or know how to debug it. I have a workaround, so it's not urgent.