MitjaNemec / ReplicateLayout

GNU General Public License v2.0
98 stars 12 forks source link

duplicate action pluging is doing nothing #16

Open labodezao opened 2 years ago

labodezao commented 2 years ago

Hi, the duplicate action plugin is not working. The dialogbox appears, I can select the footpring and check the option but after clicking ok nothing happends...

I attach the logfile :

06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 278:Plugin executed on: 'win32'
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 279:Plugin executed with python version: '3.9.10 (main, Apr 30 2022, 01:39:58) [MSC v.1929 64 bit (AMD64)]'
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 280:KiCad build version: (6.0.5)
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 281:Plugin version: 1.1.0
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 282:Frame repr: <wx._core.Frame object at 0x000002013F851940>
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 301:Preparing replicator with U2 as a reference
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.replicate_layout 98:getting a list of all footprints on board
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 329:source anchor footprint is 'U2'
Located on: ['sheet5FC54A65']
With filenames: ['dinmodule.kicad_sch']
With sheet_id:['sheet5FC54A65']
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 336:Corresponding footprints are 
[('U2', ['sheet5FC54A65']), ('U3', ['sheet5FC54A65']), ('U4', ['sheet5FC54A65'])]
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 348:Showing dialog
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 354:Toolbar position: wx.Point(1875, 89)
06-27 15:31:59 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 360:Dialog position: wx.Point(1511, 89)
06-27 15:32:00 com_github_MitjaNemec_ReplicateLayout.replicate_layout 329:constructing a list of sheets suitable for replication on level:'sheet5FC54A65', file:'dinmodule.kicad_sch'
06-27 15:32:00 com_github_MitjaNemec_ReplicateLayout.replicate_layout 366:suitable sheets are:[]
06-27 15:32:02 com_github_MitjaNemec_ReplicateLayout.replicate_layout 329:constructing a list of sheets suitable for replication on level:'sheet5FC54A65', file:'dinmodule.kicad_sch'
06-27 15:32:02 com_github_MitjaNemec_ReplicateLayout.replicate_layout 366:suitable sheets are:[]
06-27 15:32:02 com_github_MitjaNemec_ReplicateLayout.replicate_layout 329:constructing a list of sheets suitable for replication on level:'sheet5FC54A65', file:'dinmodule.kicad_sch'
06-27 15:32:02 com_github_MitjaNemec_ReplicateLayout.replicate_layout 366:suitable sheets are:[]
06-27 15:32:02 com_github_MitjaNemec_ReplicateLayout.replicate_layout 329:constructing a list of sheets suitable for replication on level:'sheet5FC54A65', file:'dinmodule.kicad_sch'
06-27 15:32:02 com_github_MitjaNemec_ReplicateLayout.replicate_layout 366:suitable sheets are:[]
06-27 15:32:04 com_github_MitjaNemec_ReplicateLayout.replicate_layout 329:constructing a list of sheets suitable for replication on level:'sheet5FC54A65', file:'dinmodule.kicad_sch'
06-27 15:32:04 com_github_MitjaNemec_ReplicateLayout.replicate_layout 366:suitable sheets are:[]
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 329:constructing a list of sheets suitable for replication on level:'sheet5FC54A65', file:'dinmodule.kicad_sch'
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 366:suitable sheets are:[]
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 128:Replicating layout
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 146:Starting replication of sheets: []
on level: ['sheet5FC54A65']
with tracks=True, zone=False, text=False, containing=False, remove=False, locked=False, by_group=False
06-27 15:32:05 root 218:updating GUI message: 'Preparing for replication'
06-27 15:32:05 root 223:updating GUI with: 0
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 215:Getting the list of source footprints
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 230:Getting the list of all the remaining footprints
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 235:Getting nets local to source footprints
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 238:Getting source bounding box
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 242:Getting source tracks
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 251:Getting source zones
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 260:Getting source text items
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 269:Getting source drawing items
06-27 15:32:05 root 218:updating GUI message: 'Replicating footprints'
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 663:Replicating footprints
06-27 15:32:05 root 218:updating GUI message: 'Replicating tracks'
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.replicate_layout 829:Replicating tracks
06-27 15:32:05 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 152:Replication complete
MitjaNemec commented 2 years ago

Hi, thanks for the report.

This might be #14 (more specifically https://github.com/MitjaNemec/ReplicateLayout/issues/14#issuecomment-1139353840) which is solved in 1.1.2 version of the plugin. You should update, and try again. If you can take a screenshot before clicking on OK when running the plugin, it might help finding the issue