Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Converting Sparkfun Eagle libraries #25

Closed
nahidalam opened this issue Aug 22, 2014 · 1 comment
Closed

Error Converting Sparkfun Eagle libraries #25

nahidalam opened this issue Aug 22, 2014 · 1 comment

Comments

@nahidalam
Copy link

I was trying to convert Sparkfun-Connectors.lbr (https://github.com/sparkfun/SparkFun-Eagle-Libraries) and seeing below error

Converting Lib: SparkFun-Connectors.lbr
Module Output: SparkFun-Connectors.mod
Symbol Output: SparkFun-Connectors.lib
Lib Name: SparkFun-Connectors
Conversion Failed

Traceback (most recent call last):
File "Start.py", line 133, in convertLib
lib=Library(node,name)
File "C:...\Eagle2Kicad/Library\Library.py", line 59, in init
dp = DevicePart(device, symbolsHash, deviceset.getGates(), symConverter)
File "C:...\Eagle2Kicad/Common\Symbol.py", line 14, in init
for gate in gates]
File "C:...\Eagle2Kicad/Common\Symbol.py", line 14, in
for gate in gates]
File "C:...\Eagle2Kicad/Common\Symbol.py", line 85, in init
pin.pad = device.getPadByPinName(pin.name)
File "C:...\r\Eagle2Kicad/Common\Device.py", line 46, in getPadByPinName
return self.connects[name].pad
KeyError: 'SHIELD'

I am using Python 3.3, have successfully converter other Eagle libraries before.

DanChianucci added a commit that referenced this issue Aug 31, 2014
…is to now assign it as NC. This addresses bug #25
@DanChianucci
Copy link
Owner

It looks like this was being caused by a device for which the symbol had an extra PIN (called SHIELD) which was not on the footprint. The latest version of the repository contains a potential fix. Although I am not sure how KiCad will react when trying to match the converted symbol to the converted footprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants