← Back to team overview

kicad-developers team mailing list archive

Re: Are the python BOMmers case sensitive?


On Sep 19, 2013 2:04 AM, "Lorenzo Marcantonio" <l.marcantonio@xxxxxxxxxxxx>
> 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
line 582, in getInterestingCompon
> ents
>     if c.getField( "Installed" ) == 'NU':
>   File
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?

Not as likely as an alias problem.  Your xml file might have all the proper
aliases in it, and this would be if you are exporting it with an
insufficient version.  Using a version at least as new as my posting
mentioned?  See any <aliases> in the xml?

> What is the official policy about case sensitivity in eeschema? Since
> modules will (probably) be case insensitive (due to Windows FS reasons),
> about eeschema chip names too?
> --
> Lorenzo Marcantonio
> Logos Srl
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

Follow ups