When I use the Replicate Layout Plugin I get the error “list index out of range” and it stops before laying out the tracks. It lays out the footprints, but stops at the tracks.
Here is the log:
11-07 23:06:45 replicate_layout.action_replicate_layout 305:Plugin executed on: ‘win32’
11-07 23:06:45 replicate_layout.action_replicate_layout 306:Plugin executed with python version: ‘2.7.16 (default, Aug 15 2019, 17:51:40) [GCC 9.2.0 64 bit (AMD64)]’
11-07 23:06:45 replicate_layout.action_replicate_layout 307:KiCad build version: Unknown
11-07 23:06:45 replicate_layout.action_replicate_layout 308:Replicate layout plugin version: 68 started
11-07 23:06:45 replicate_layout.action_replicate_layout 319:wx top level windows: wxWindowList: [<wx._windows.Frame; proxy of <Swig Object of type ‘wxFrame *’ at 0x324f250> >, <wx._windows.Frame; proxy of <Swig Object of type ‘wxFrame *’ at 0x13d0330> >, <wx._windows.Frame; proxy of <Swig Object of type ‘wxFrame *’ at 0x8ba2020> >, <wx._windows.Frame; proxy of <Swig Object of type ‘wxFrame *’ at 0x35838090> >, <wx._windows.Frame; proxy of <Swig Object of type ‘wxFrame *’ at 0x35838400> >]
11-07 23:06:45 replicate_layout.action_replicate_layout 343:Preparing replicator with U1 as a reference
11-07 23:06:45 replicate_layout.replicatelayout 215:getting project hierarchy from schematics
11-07 23:06:45 replicate_layout.replicatelayout 217:Project hierarchy looks like:
{u’5FA2BD42’: [u’stepper_driver’, u’…’], u’5FA9C491’: [u’sheet5FA9C487’, u’…\\stepper_driver.sch’]}
11-07 23:06:45 replicate_layout.replicatelayout 225:getting a list of all footprints on board
11-07 23:06:45 replicate_layout.action_replicate_layout 370:source anchor footprint is u’U1’
Located on:[u’stepper_driver’]
With filenames:[u’stepper_driver.sch’]
With sheet_id:[u’stepper_driver’]
11-07 23:06:45 replicate_layout.action_replicate_layout 374:Corresponding footprints are
[(u’U2’, [u’sheet5FA9C487’]), (u’U1’, [u’stepper_driver’])]
11-07 23:06:45 replicate_layout.action_replicate_layout 387:Showing dialog
11-07 23:06:45 replicate_layout.action_replicate_layout 391:Pcbnew position: wx.Point(-8, -8)
11-07 23:06:45 replicate_layout.action_replicate_layout 397:Display 0: wx.Rect(0, 0, 2560, 1440)
11-07 23:06:45 replicate_layout.action_replicate_layout 397:Display 1: wx.Rect(-1920, 801, 1920, 1080)
11-07 23:06:45 replicate_layout.action_replicate_layout 401:Toolbar position: wx.Point(2306, 115)
11-07 23:06:45 replicate_layout.action_replicate_layout 408:Dialog position: wx.Point(1993, 115)
11-07 23:06:46 replicate_layout.replicatelayout 249:construcing a list of sheets suitable for replication on level:u’stepper_driver’, file:u’stepper_driver.sch’
11-07 23:06:46 replicate_layout.replicatelayout 256:Source sheet path up to the level:[u’stepper_driver’]
11-07 23:06:46 replicate_layout.replicatelayout 260:Footprints on the sheets:
[u’U2’, u’U1’]
11-07 23:06:46 replicate_layout.replicatelayout 263:Footprints raw sheet ids:
[u’/5FA9C491/5FA2DBF5’, u’/5FA2BD42/5FA2DBF5’]
11-07 23:06:46 replicate_layout.replicatelayout 279:All sheets to replicate:
[[u’sheet5FA9C487’], [u’stepper_driver’]]
11-07 23:06:46 replicate_layout.replicatelayout 284:All sheets to replicate sorted:
[[u’sheet5FA9C487’], [u’stepper_driver’]]
11-07 23:06:46 replicate_layout.replicatelayout 290:All sheets to replicate sorted and without source sheet:
[[u’sheet5FA9C487’]]
11-07 23:06:49 replicate_layout.replicatelayout 249:construcing a list of sheets suitable for replication on level:u’stepper_driver’, file:u’stepper_driver.sch’
11-07 23:06:49 replicate_layout.replicatelayout 256:Source sheet path up to the level:[u’stepper_driver’]
11-07 23:06:49 replicate_layout.replicatelayout 260:Footprints on the sheets:
[u’U2’, u’U1’]
11-07 23:06:49 replicate_layout.replicatelayout 263:Footprints raw sheet ids:
[u’/5FA9C491/5FA2DBF5’, u’/5FA2BD42/5FA2DBF5’]
11-07 23:06:49 replicate_layout.replicatelayout 279:All sheets to replicate:
[[u’sheet5FA9C487’], [u’stepper_driver’]]
11-07 23:06:49 replicate_layout.replicatelayout 284:All sheets to replicate sorted:
[[u’sheet5FA9C487’], [u’stepper_driver’]]
11-07 23:06:49 replicate_layout.replicatelayout 290:All sheets to replicate sorted and without source sheet:
[[u’sheet5FA9C487’]]
11-07 23:06:49 replicate_layout.action_replicate_layout 179:Replicating layout
11-07 23:06:49 replicate_layout.replicatelayout 990:Starting replication of sheets: [[u’sheet5FA9C487’]]
on level: [u’stepper_driver’]
with tracks=True, zone=True, text=True, containing=True, remove=False, locked=False
11-07 23:06:49 root 261:updating GUI message: ‘Preparing for replication’
11-07 23:06:49 root 266:updating GUI with: 0
11-07 23:06:49 replicate_layout.replicatelayout 556:Getting the list of source footprints
11-07 23:06:49 replicate_layout.replicatelayout 560:Getting the list of all the remaining footprints
11-07 23:06:49 replicate_layout.replicatelayout 564:Getting nets local to source footprints
11-07 23:06:49 replicate_layout.replicatelayout 568:Getting source bounding box
11-07 23:06:49 root 266:updating GUI with: 37
11-07 23:06:49 replicate_layout.replicatelayout 572:Getting source tracks
11-07 23:06:49 replicate_layout.replicatelayout 576:Getting source zones
11-07 23:06:49 replicate_layout.replicatelayout 580:Getting source text items
11-07 23:06:49 replicate_layout.replicatelayout 584:Getting source text items
11-07 23:06:49 root 261:updating GUI message: ‘Replicating footprints’
11-07 23:06:49 replicate_layout.replicatelayout 590:Replicating footprints
11-07 23:06:49 replicate_layout.replicatelayout 596:Replicating footprints on sheet [u’sheet5FA9C487’]
11-07 23:06:49 root 266:updating GUI with: 7
11-07 23:06:49 root 266:updating GUI with: 49
11-07 23:06:49 root 266:updating GUI with: 99
11-07 23:06:49 root 261:updating GUI message: ‘Replicating tracks’
11-07 23:06:49 replicate_layout.replicatelayout 716:Replicating tracks
11-07 23:06:49 replicate_layout.replicatelayout 722:Replicating tracks on sheet [u’sheet5FA9C487’]