KICAD_SCRIPTING_PYTHON on Ubuntu

Asked by Hildo Guillardi Júnior

When KiCad scripting will be turned on in Ubuntu? Currently:
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=OFF
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF

My version is the last Nightly build (20190210).

Question information

Language:
English Edit question
Status:
Solved
For:
KiCad Edit question
Assignee:
No assignee Edit question
Solved by:
Hildo Guillardi Júnior
Solved:
Last query:
Last reply:
Revision history for this message
Wayne Stambaugh (stambaughw) said :
#1

This was just announced on the developers mailing list https://lists.launchpad.net/kicad-developers/msg39359.html. As long as you are using a recent version of Ubuntu, then you should be able to have scripting turned back on. For versions of Ubuntu that build wxWidgets built against gtk3 and wxPython built against gtk2 or vice versa, there is not much we can do.

Revision history for this message
Hildo Guillardi Júnior (hildogjr) said :
#2

Understood. Just to inform, my version is Ubuntu 16.04 (Xenial), not 18 (Bionic).
Before the concern about GTK3 in the KiCad milestone, this resource was working. But I understand that the developers are focused in GTK3 + Python3 was continuity of KiCad project.

Full info about my installtion.

Application: kicad
Version: 5.1.0-rc1-unknown-5e318dc~66~ubuntu16.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-142-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Wayne Stambaugh (stambaughw) said :
#3

As long as wxPython is built with gtk2 on Ubuntu 16.04, then it should be possible to enable wxPython support.

Revision history for this message
Hildo Guillardi Júnior (hildogjr) said :
#4

I am just informing because Ubuntu 16.04 have both GTK2/3 and python2/3. But, the default is GTK2 and python=python2 (when you call).
And since this worked at v4, I was think that should be fix to v5. I didn't know how specif could be the issue. But, appear that to the Xenial PPA the compiling option could be re-enabled.

Revision history for this message
Hildo Guillardi Júnior (hildogjr) said :
#5

Marked as solved