FS#71031 - [kicad] pcbnew Python problems

Attached to Project: Community Packages
Opened by Nils Eilers (for__) - Wednesday, 26 May 2021, 21:36 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 27 May 2021, 06:46 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Clicking Tools/Scripting Console in pcbnew throws an error message "Error: unable to create the Python Console".

Also the python based plugin IBOM is broken, just showing an error message which ends with "wx._core.PyNoAppError: the wx.App object must be created first!". That's a real pity because I use these bill of materials a lot.




Additional info:
* package version(s)

Application: Pcbnew
Version: 5.1.10, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.76.1 OpenSSL/1.1.1k zlib/1.2.11 zstd/1.5.0 libidn2/2.3.1 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0
Platform: Linux 5.12.6-arch1-1 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.75.0
OpenCASCADE Technology: 7.5.0
Curl: 7.76.1
Compiler: GCC 10.2.0 with C++ ABI 1014

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=OFF
KICAD_USE_OCC=ON
KICAD_SPICE=ON

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

Start PCBNEW
Click Tools in menu bar
Click Scripting Console
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 27 May 2021, 06:46 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#70922 
Comment by loqs (loqs) - Wednesday, 26 May 2021, 23:10 GMT
 FS#70922   FS#70908 
Comment by Nils Eilers (for__) - Wednesday, 26 May 2021, 23:18 GMT
Great, many thanks! Downgrading python-wxpython to 4.0.7.2-5 works for me.

Loading...