4ms / 4ms-kicad-script

Scripts for kicad
23 stars 5 forks source link

On Windows 10 makefp_2_boundbox_action.py gives AttributeError: 'NoneType' object has no attribute 'SetPosition' #1

Open robkam opened 5 years ago

robkam commented 5 years ago

Windows 10 Pro 64-bit and KiCad nightly version: (6.0.0-rc1-dev-1291-g61b749f0b). Using 4ms-kicad-script/makefp/plugins -- kicad 6.0/ and edited faceplate_footprint_lib.py for "C:\Program Files\KiCad\share\kicad\modules\4ms_Faceplate.pretty" makefp_1_removetracks_action.py seems to run okay, but then makefp_2_boundbox_action.py gives:

Exception on python action plugin code Traceback (most recent call last): File "C:\Program Files\KiCad\share\kicad\scripting\plugins/makefp_2_boundbox_action.py", line 210, in Run mod.SetPosition(railmount_topleft) AttributeError: 'NoneType' object has no attribute 'SetPosition'

and a similar error for makefp_3_convertfootprints_action.py

danngreen commented 2 years ago

Sorry for the delay, I apparently had notifications turned off for this project. Can you confirm it works now? We've updated the plugin to work with the latest official release (6.0.5).