← Back to team overview

kicad-developers team mailing list archive

Are the python BOMmers case sensitive?

 

I tried the csv_by_ref_v2 script. It says:

missing libpart for ref: U18 DSPIC33FJ128GP710A microchip
Traceback (most recent call last):
  File "bom_csv_by_ref_v2.py", line 36, in <module>
    components = net.getInterestingComponents()
  File "/home/lomarcan/cvswork/kicad-bzr/scripts/bom-in-python/kicad_netlist_reader.py", line 582, in getInterestingCompon
ents
    if c.getField( "Installed" ) == 'NU':
  File "/home/lomarcan/cvswork/kicad-bzr/scripts/bom-in-python/kicad_netlist_reader.py", line 343, in getField
    field = self.libpart.getField(name)
AttributeError: 'NoneType' object has no attribute 'getField'

I think this is due to the fact that the part is named dsPIC, not DSPIC; could you confirm this?

What is the official policy about case sensitivity in eeschema? Since pcbnew
modules will (probably) be case insensitive (due to Windows FS reasons), what
about eeschema chip names too?

-- 
Lorenzo Marcantonio
Logos Srl


Follow ups