devbisme / KiField

Edit/insert/delete part fields in KiCad schematics or libraries using a spreadsheet.
MIT License
70 stars 27 forks source link

kifield doesn't handle double-quote character correctly #35

Closed mignon-p closed 6 years ago

mignon-p commented 7 years ago

Given the following .sch and .xlsx files:

kifield-trouble.zip

After running the following command:

kifield -x DaysToXmas.xlsx -i DaysToXmas.sch

The resulting .sch file ends up with lines like this:

F 4 "11 Position Header Connector 0.100" (2.54mm) Through Hole Gold" H 3950 6950 50 0001 C CNN "description"

which EESchema then interprets as being a field named H 3950 6950 50 0001 C CNN.

xesscorp commented 6 years ago

Thanks for the detailed error report. The problem was caused by mishandling of escaped quotation marks inside a quoted string. Fixed in kifield 0.1.9.