Skip to content

NameError: name 'src_fp' is not defined #80

@novakma7

Description

@novakma7

When running the ReplicateLayout plugin I am receiving the following error. Log file is attached.

File "C:\Users\Martin\Documents\KiCad\8.0\3rdparty\plugins\com_github_MitjaNemec_ReplicateLayout\action_replicate_layout.py", line 252, in on_ok
self.replicator.replicate_layout(self.src_anchor_fp, self.src_anchor_fp.sheet_id[0:level + 1],
File "C:\Users\Martin\Documents\KiCad\8.0\3rdparty\plugins\com_github_MitjaNemec_ReplicateLayout\replicate_layout.py", line 326, in replicate_layout
self.replicate_footprints(settings)
File "C:\Users\Martin\Documents\KiCad\8.0\3rdparty\plugins\com_github_MitjaNemec_ReplicateLayout\replicate_layout.py", line 890, in replicate_footprints
dst_fp = self.match_fp_in_list(src_fp, dst_footprints)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Martin\Documents\KiCad\8.0\3rdparty\plugins\com_github_MitjaNemec_ReplicateLayout\replicate_layout.py", line 853, in match_fp_in_list
raise LookupError("Can not find destination footprint for source footprint: " + repr(src_fp.ref)
^^^^^^
NameError: name 'src_fp' is not defined

replicate_layout.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions