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…
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
Any help is much appreciated!