Footprint Wizards are throwing Exceptions: S-DIP, SOIC, BGA

At the moment 3 of the Footprint Wizards are throwing an exception on my system immediately after startup (Before changing any parameter). Just:

  1. Start Footprint Editor.
  2. “New Footprint Using Footprint Wizard”
  3. Select one of the wizards for S-DIP, SOIC or BGA.

Before making a bug report (My Linux Mint is not officially supported) It would be nice to have some confirmation, preferably also from a different OS and python2.

I can’t copy / paste the text, so a screenshot will have to do.
The messages are very similar for all three wizards.

S-DIP:
image

SOIC:
image

BGA:
image

Application: ModEdit
Version: 5.1.7-a382d34a8~87~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Linux 5.4.0-51-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.68.0
Compiler: GCC 9.3.0 with C++ ABI 1013

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

It’s already been reported but apparently not fixed yet https://gitlab.com/kicad/code/kicad/-/issues/4896

Tnx for the link. I had a look at issues for Footpint Wizards on gitlab yesterday, but missed it. The issue is tagged as “closed” and I only looked at open issues.

That gitlab page also links to an older github page which includes a patch which was also merged:

So I opened /usr/share/kicad/scripting/plugins/PadArray.py and looked at line 215 and it was the unpatched version, so I removed those 2 keywords and now all three wizards run as expected.

So a few questions remaining:
Why was this patch not applied to my V5.1.7?
It’s installed with apt from:

paul@medion:/etc/apt/sources.list.d$ cat kicad-kicad-5_1-releases-focal.list 
deb http://ppa.launchpad.net/kicad/kicad-5.1-releases/ubuntu focal main
# deb-src http://ppa.launchpad.net/kicad/kicad-5.1-releases/ubuntu focal main

Why was this on github instead of on gitlab?
Apparently Seth merged the patch, should I ping him, or is it more an issue with packaging?
@sethhillbrand sethhillbrand merged commit e622627 into KiCad:master on Aug 12

Looks like Seth reverted that patch: https://gitlab.com/kicad/code/kicad/-/commit/1fdb24716707eefe54ebdb770a63c6902514c706

It’s not clear to me why but it sounds like it caused other issues?

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