Discussion:
[kicad-users] Error msg with BOM generation
donclendenin@yahoo.com [kicad-users]
2016-02-09 18:08:00 UTC
Permalink
I just recently downloaded for Windows, KiCAD 4.0.1 and from my first schematic, I am getting an error message and don't know what it means, see below the results window:
Run command:
xsltproc -o "C:/Users/Dons/Documents/Arduino/New Rover Electrical/New Rover Electrical" "C:/Program Files/KiCad/bin/scripting/plugins/bom2csv.xsl" "C:/Users/Dons/Documents/Arduino/New Rover Electrical/New Rover Electrical.xml"

Command error. Return code 11

Error messages:
I/O error : Invalid argument
I/O error : Invalid argument

I/O error could mean that there is a file issue, but what type of error.
I am using Windows 10. It doesn't matter which plugin that I use I get the same error. It would be nice to have a list of error messages so that one could figure out what is wrong.
Robert birmingham_spider@gmx.net [kicad-users]
2016-02-10 09:26:55 UTC
Permalink
Three suggestions:

1) Reverse the direction of the slashes, so they match Windows convention.
2) Arrange things so there are no spaces. I know you've used quotes,
but spaces in pathnames often cause digital indigestion, even with quotes.
3) Add an extension to the output filename (eg make this NewRover
Electrical.txt).

My own plug in command is:

xsltproc -o "%O.csv" "D:\Users\robert\KicadLib\PlugIns\bom2csv.xsl" "%I"

(and I tinkered with bom2csv.xsl)

Regards,

Robert.
Post by ***@yahoo.com [kicad-users]
xsltproc -o "C:/Users/Dons/Documents/Arduino/New Rover Electrical/New Rover Electrical" "C:/Program Files/KiCad/bin/scripting/plugins/bom2csv.xsl" "C:/Users/Dons/Documents/Arduino/New Rover Electrical/New Rover Electrical.xml"
Command error. Return code 11
I/O error : Invalid argument
I/O error : Invalid argument
I/O error could mean that there is a file issue, but what type of error.
I am using Windows 10. It doesn't matter which plugin that I use I get the same error. It would be nice to have a list of error messages so that one could figure out what is wrong.
--
() Plain text email - safe, readable, inclusive.
/\ http://www.georgedillon.com/web/html_email_is_evil.shtml

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
donclendenin@yahoo.com [kicad-users]
2016-02-12 06:50:42 UTC
Permalink
I did some more hunting around after forum.kicad.info came back on line and found that you #2 is the problem. I changed all the spaces to underscores and it worked.
Continue reading on narkive:
Loading...