MitjaNemec / Kicad_action_plugins

Kicad action plugins
413 stars 62 forks source link

Crash while replicate layout #79

Closed xDraconix closed 4 years ago

xDraconix commented 4 years ago

KiCAD Version: (5.1.5)-3, release build

Ive got following error while replicate:

replicate_error

here are the recent log file:

replicate_layout.log

Bratwurstdealer commented 4 years ago

I'm having the same problem with version (5.0.1)-3, release build running on windows 10.

replicate_layout.log

xDraconix commented 4 years ago

Sorry, that was my fault! I have delete one compoment after routing them. After that, the footprint still exist at pcbnew, but in the newly importet second hierarchical sheet, they cant route to the non existing footprint.

Closed for my issue.

MitjaNemec commented 4 years ago

@Bratwurstdealer the error window within the KiCad is the same for any error caught. Looking at the .log file, I can see that you have a different issue. It might be that 5.0.1 does not have the SetKeepUpright method implemented.

Can you confirm this by opening the python console within pcbnew and enter

import pcbnew
repr(pcbnew.TEXTE_MODULE.SetKeepUpright)

you should get '<unbound method TEXTE_MODULE.SetKeepUpright>' as an answer.

if you get something like AttributeError: type object 'TEXTE_MODULE' has no attribute 'SetKeepUpright' then you have two options:

  1. either you upgrade KiCad to 5.1. branch
  2. use older revision of the plugin (the latest commit that should still work is d36555a7bc557ebc101512429d875ce9cb171c1c)
MitjaNemec commented 4 years ago

@xDraconix Thanks for letting me know. I'll still look int it as it would be nice if the plugin reported more specific message

Bratwurstdealer commented 4 years ago

Thanks for the response @MitjaNemec! The problem was the outdated Kicad version I used. I updated my Kicad and now it works fine.