On Sat, 13 Jan 2024, Matthias Urlichs wrote:

Package: python3-wxgtk4.0
Version: 4.2.0+dfsg-3
Severity: important
X-Debbugs-Cc: sm...@smurf.noris.de


/usr/lib/python3/dist-packages/wx/__init__.py contains:

 from wx.core import *
 del core
 del wx

This doesn't work on my system. "wx.core" does *not* export a symbol named
"core", thus the "del core" fails.

Deleting the "del core" part fixes the problem.

-- System Information:
Debian Release: 12.4
 APT prefers stable
 APT policy: (750, 'stable'), (700, 'testing'), (650, 'oldstable'), (600, 
'oldoldstable'), (500, 'stable-security'), (500, 'oldstable-security'), (500, 
'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.1.0-10-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 python3-wxgtk4.0 depends on:
ii  libc6                            2.36-9+deb12u3
ii  libgcc-s1                        12.2.0-14
ii  libstdc++6                       13.2.0-9
ii  libwxbase3.2-1                   3.2.4+dfsg-1
ii  libwxgtk-gl3.2-1                 3.2.4+dfsg-1
ii  libwxgtk3.2-1                    3.2.2+dfsg-2
ii  python3 [python3-supported-min]  3.11.2-1+b1
ii  python3-numpy                    1:1.24.2-1
ii  python3-pil                      9.4.0-1.1+b1
ii  python3-six                      1.16.0-4

Can you provide any additional details that may be relevant to reproducing this problem? I'm going to assume this is probably related to your other bug where you seem to be mixing and matching packages from testing and bookworm?

Scott

Reply via email to