Bug#1019954: kicad: Plugins fail with a python exception error
Hello, Am Fri, Sep 16, 2022 at 11:05:28PM +0200 schrieb raster: > I've been using several plugins with Kicad, but since two days ago, if I try > to > use any of them, an error window with a python exception appears: > > wx._core.PyNoAppError: The wx.App object must be created first! unfortunately you don't provide information about the plugin you are using and also no steps how to provoke that behavior. Without these parts it's impossible to narrow down the problem. The line you do providing is only a part of an Python expetion, the useful information to get this solved is missing, might be that no more message is raised. OTOH this isn't a issue rooted within the KiCad application, it's clear the problem is within the Python code. I think the plugin code isn't ensuring that all possible exceptions get catched or the usage of the wx.Frame class isn't correct. However, without a way to re-adjust the behavior we will not be able to solve this. Regards Carsten
Bug#1019954: kicad: Plugins fail with a python exception error
Package: kicad Version: 6.0.7+dfsg-1+b1 Severity: important X-Debbugs-Cc: rasters...@gmail.com Dear Maintainer, I've been using several plugins with Kicad, but since two days ago, if I try to use any of them, an error window with a python exception appears: wx._core.PyNoAppError: The wx.App object must be created first! -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.19.0-1-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages kicad depends on: ii libc62.34-8 ii libcairo21.16.0-6 ii libcurl4 7.85.0-1 ii libgcc-s112.2.0-2 ii libgl1 1.5.0-1 ii libglew2.2 2.2.0-4 ii libglib2.0-0 2.73.3-3 ii libglu1-mesa [libglu1] 9.0.2-1 ii libgtk-3-0 3.24.34-3 ii libngspice0 37+ds-1 ii libocct-data-exchange-7.67.6.3+dfsg1-3 ii libocct-foundation-7.6 7.6.3+dfsg1-3 ii libocct-modeling-algorithms-7.6 7.6.3+dfsg1-3 ii libocct-modeling-data-7.67.6.3+dfsg1-3 ii libocct-ocaf-7.6 7.6.3+dfsg1-3 ii libpixman-1-00.40.0-1 ii libpython3.103.10.7-1 ii libstdc++6 12.2.0-2 ii libwxbase3.0-0v5 3.0.5.1+dfsg-5 ii libwxgtk3.0-gtk3-0v5 3.0.5.1+dfsg-5 ii python3 3.10.6-1 ii python3-wxgtk4.0 4.2.0+dfsg-1 ii zlib1g 1:1.2.11.dfsg-4.1 Versions of packages kicad recommends: ii kicad-demos 6.0.7+dfsg-1 ii kicad-libraries 6.0.7+dfsg-1 ii xsltproc 1.1.35-1 Versions of packages kicad suggests: ii extra-xdg-menus 1.0-6 pn kicad-doc-ca | kicad-doc-de | kicad-doc-en | kicad-doc-es | kicad- ii kicad-packages3d6.0.7-1 -- no debconf information