TypeError: 'FOOTPRINT' object is not iterable
Bouni opened this issue · comments
bouni commented
@chmorgan I just realized your PR #398 breaks the plugin!
No CPL or BOM is generated and the console shows TypeError: 'FOOTPRINT' object is not iterable
.
Thats because you replaced the helper function with for fp in board.FindFootprintByReference(part[0]):
here
This does return a single FOOTPRINT instead of a list of FOOTPRINT.
I do not remember why the helper returned a list to be honest but I also wonder why this worked for you in the first place!?
Chris Morgan commented
Doh. Does this occur when generating? I don’t think I’ve generated since
the change was made. Sorry about breaking that.
…On Mon, Jan 22, 2024 at 3:48 AM bouni ***@***.***> wrote:
Closed #406 <#406> as
completed via 1030329
<1030329>
.
—
Reply to this email directly, view it on GitHub
<#406 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJH4AD6MB7ZA4UU656L4ETYPYRUZAVCNFSM6AAAAABCEZTKKKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGU2TGNJRGMYTKNQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>