← Back to team overview

kicad-developers team mailing list archive

wxPython-gtk3 woes

 

Apparently mixing wxWidgets-gtk2 and wxPython-gtk3 [1] is not only an
Arch issue anymore, as the upcoming Ubuntu release (bionic) also
provides wxPython package built against gtk3 [package: 2, bug report: 3].

There are two things we can do to fix the problem for v5:
- Backport python-wxgtk3.0 package built against gtk2. This way
everything works as it used to be, but only for the nightlies. For the
official release the users would be forced to add a PPA providing the
backported package and it sounds troublesome.

- Disable KICAD_SCRIPTING_WXPYTHON, as there is still available
libwxgtk3.0 package [4] build against gtk2. The drawbacks are that the
Python shell in pcbnew and scripts taking advantage of wxPython to
display a GUI will not work anymore.

In other news: Ubuntu bionic also ships wxPhoenix [5].

Cheers,
Orson

1. https://bugs.launchpad.net/kicad/+bug/1747677
2. https://packages.ubuntu.com/bionic/python-wxgtk3.0
3. https://bugs.launchpad.net/kicad/+bug/1762432
4. https://packages.ubuntu.com/bionic/libwxgtk3.0-0v5
5. https://packages.ubuntu.com/bionic/python3-wxgtk4.0



Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups