Can't run any installed plugin after update - wx Error

Hi there,

yesterday I updated the packages of my debian system and now I can’t run any of my PCBNew plugins (replicate layout, interactive html bom, etc.). They have in common that they want to draw a wxGUI element, which fails with the following error message: “wx._core.PyNoAppError: The wx.App object must be created first!”
It smells like an incompatibility between my wx version and whatever else…

image

My system setup as described in the replicate_layout.log output:

10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 303:Plugin executed on: 'linux'
10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 304:Plugin executed with python version: '3.10.7 (main, Sep  8 2022, 14:34:29) [GCC 12.2.0]'
10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 305:KiCad build version: 6.0.6+dfsg-1
10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 306:Plugin version: 1.2.1
10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 307:Frame repr: None
10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 331:Preparing replicator with U3 as a reference
10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.replicate_layout 106:getting a list of all footprints on board
10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 359:source anchor footprint is 'U3'
Located on: ['Output Channel 1']
With filenames: ['output_channel.kicad_sch']
With sheet_id:['Output Channel 1']
10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 366:Corresponding footprints are 
[('U5', ['Output Channel 3']), ('U7', ['Output Channel 5']), ('U3', ['Output Channel 1']), ('U8', ['Output Channel 6']), ('U4', ['Output Channel 2']), ('U9', ['Output Channel 7']), ('U6', ['Output Channel 4']), ('U10', ['Output Channel 8'])]
10-10 22:24:18 com_github_MitjaNemec_ReplicateLayout.action_replicate_layout 378:Showing dialog

python3-wxgtk4.0 is version 4.2.0

@MitjaN

Any help is much appreciated!

Ok, I found the reason, although I updated the system with apt upgrade , there was still an update for KiCAD 6.0.7 available in the package repository with apt dist-upgrade. After installation of 6.0.7, everything works as expected.
Sorry for the interruption :wink: This thread can be closed

1 Like

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