Command error. Return code 11 to generate BOM

I got the solution. If you have spaces on your directory of your Kicad Files remove them by putting a character for example “_”. When you open Kicad, you just look for your file and run the BOM again. It worked for me.

3.5 years since the first post and the problem is still there.

I have lots of spaces in the path to my project. I got bom2grouped_csv to work like this:

xsltproc -o “M:/mainboard.csv” “C:\Program Files\KiCad\bin\scripting\plugins\bom2grouped_csv.xsl” “%I”

Note the forward slash and absence of spaces in the path to and name of the output file.

I just need to move the generated file to my project folder.

1 Like