I’m trying to generate a BOM using bom_html_grouped_by_value in KiCAD 4.0.1 stable. I get the following stack trace:
Error messages:
Traceback (most recent call last):
File "C:/Program Files/KiCad/bin/scripting/plugins/bom_html_grouped_by_value.py", line 92, in <module>
row += "</td><td>" + c.getDescription()
File "C:/Program Files/KiCad/bin/scripting/plugins/kicad_netlist_reader.py", line 411, in getDescription
return self.element.get("libsource", "description")
File "C:/Program Files/KiCad/bin/scripting/plugins/kicad_netlist_reader.py", line 241, in get
ret = child.get(elemName, attribute, attrmatch)
File "C:/Program Files/KiCad/bin/scripting/plugins/kicad_netlist_reader.py", line 228, in get
ret = self.attributes[attribute]
KeyError: 'description'
Any idea what’s going wrong here before I dig into the code?
Thanks