Python error in new footprint wizard

When launching the new footprint wizard, after selecting a footprint style or editing a parameter, the footprint does not generate, instead giving a popup error with the following:

Exception on python footprint wizard code
Traceback (most recent call last):
File "C:\Program Files\KiCad\lib\python2.7\site-packages\", line 3866, in GetFootprint

File "C:\Program Files\KiCad\share\kicad\scripting\plugins/", line 139, in BuildFootprint
    fpid = pcbnew.LIB_ID(self.module.GetValue()) # the name in library

File "C:\Program Files\KiCad\lib\python2.7\site-packages/", line 5502, in __init__
    this = _pcbnew.new_LIB_ID(*args)

NotImplementedError: Wrong number or type of arguments for overloaded function 'new_LIB_ID'.
    Possible C/C++ prototypes are:
        LIB_ID::LIB_ID(wxString const &,wxString const&,wxString const &)
        LIB_ID::LIB_ID(wxString cons &,wxString const &)

As the package I am trying to make is a 40-pin DIP, it’s not practical to work around this error by manually placing all the pads.

I think this is the same as It is marked as fixed in version 5.1.0 which is not released yet.

If you need to get going quickly then you could edit the file with a text editor. Note that you will need to run the editor as admin.


Yep, that did it, thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.