Hi
I'm having some problems trying to launch the program from command line. If I write
"C:\Program Files\KiCad\10.0\bin\python.exe" "C:\Users\user\Documents\KiCad\10.0\3rdparty\/plugins/org_openscopeproject_InteractiveHtmlBom/generate_interactive_bom.py" --dest-dir "docs" --no-browser --checkboxes Placed --include-tracks SmartRelay_4CH.kicad_pcb
the command succeeds. If, on the other hand, I write
"C:\Program Files\KiCad\10.0\bin\python.exe" "C:\Users\user\Documents\KiCad\10.0\3rdparty\/plugins/org_openscopeproject_InteractiveHtmlBom/generate_interactive_bom.py" --dest-dir "docs\" --no-browser --checkboxes Placed --include-tracks SmartRelay_4CH.kicad_pcb
(so with a trailing backslash in the --dest-dir parameter) the command fails with the message:
generate_interactive_bom.py: error: the following arguments are required: file
I'd need this since I'm writing a custom jobset (not working due to KiCad 10 issues with paths, so work in progress) and I want to put the file in ${JOBSET_OUTPUT_WORK_PATH}, but this variable has a trailing backslash.
The workaround is to write "${JOBSET_OUTPUT_WORK_PATH}." to remove the trailing backslash, but it would be useful to avoid using hacks
Hi
I'm having some problems trying to launch the program from command line. If I write
"C:\Program Files\KiCad\10.0\bin\python.exe" "C:\Users\user\Documents\KiCad\10.0\3rdparty\/plugins/org_openscopeproject_InteractiveHtmlBom/generate_interactive_bom.py" --dest-dir "docs" --no-browser --checkboxes Placed --include-tracks SmartRelay_4CH.kicad_pcbthe command succeeds. If, on the other hand, I write
"C:\Program Files\KiCad\10.0\bin\python.exe" "C:\Users\user\Documents\KiCad\10.0\3rdparty\/plugins/org_openscopeproject_InteractiveHtmlBom/generate_interactive_bom.py" --dest-dir "docs\" --no-browser --checkboxes Placed --include-tracks SmartRelay_4CH.kicad_pcb(so with a trailing backslash in the
--dest-dirparameter) the command fails with the message:generate_interactive_bom.py: error: the following arguments are required: fileI'd need this since I'm writing a custom jobset (not working due to KiCad 10 issues with paths, so work in progress) and I want to put the file in
${JOBSET_OUTPUT_WORK_PATH}, but this variable has a trailing backslash.The workaround is to write "${JOBSET_OUTPUT_WORK_PATH}." to remove the trailing backslash, but it would be useful to avoid using hacks