Enviorment:
Debian 9 amd64
KiCad 4.0.7 flatpak
I cannot generate a BOM with the provided example script.
I think the problem is xsltproc should be included with the flatpak, or some setting needs to be made to allow xsltproc to access the flatpak.
The first problem I ran into is I didn’t have xsltproc installed on my system.
Run command:
xsltproc -o “/home/jordan/Projects/PoE Temp Sensor” “/app/lib/kicad/plugins/bom_with_title_block_2_csv.xsl” “/home/jordan/Projects/PoE Temp Sensor.xml”
Command error. Return code -1
I installed it via apt, and now I get this error.
Error messages:
execvp(xsltproc, -o, /home/jordan/Projects/PoE Temp Sensor, /app/lib/kicad/plugins/bom_with_title_block_2_csv.xsl, /home/jordan/Projects/PoE Temp Sensor.xml) failed with error 2!
Running the command in the terminal give more information:
xsltproc -o “/home/jordan/Projects/PoE Temp Sensor” “/app/lib/kicad/plugins/bom_with_title_block_2_csv.xsl” “/home/jordan/Projects/PoE Temp Sensor.xml”
warning: failed to load external entity “/app/lib/kicad/plugins/bom_with_title_block_2_csv.xsl”
cannot parse /app/lib/kicad/plugins/bom_with_title_block_2_csv.xsl