Bug#1029099: soundgrain does not start
Package: soundgrain
Version: 6.0.1-3
Severity: important
Hello,
Thank you for packaging soundgrain!
I ran `apt install soundgrain` then tried to start it:
$ soundgrain
Traceback (most recent call last):
File "/usr/bin/soundgrain", line 60, in <module>
app = SoundGrainApp(redirect=False)
File "/usr/bin/soundgrain", line 41, in __init__
self.frame = MainFrame(None, -1, pos=(0, 20), size=(sizex, sizey),
File "/usr/share/soundgrain/Resources/MainFrame.py", line 220, in __init__
self.controls = ControlPanel(self, self.panel)
File "/usr/share/soundgrain/Resources/ControlPanel.py", line 193, in __init__
rec1Box.Add(self.but_folder, 1, wx.ALIGN_CENTER_VERTICAL | wx.EXPAND | wx.RIGHT, 10)
wx._core.wxAssertionError: C++ assertion "CheckSizerFlags(!((flags) & (wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL)))" failed at ./src/common/sizer.cpp(2288) in DoInsert(): wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL will be ignored in this sizer: wxEXPAND overrides alignment flags in box sizers
DO NOT PANIC !!
If you're an end user running a program not developed by you, please ignore this message, it is harmless, and please try reporting the problem to the program developers.
You may also set WXSUPPRESS_SIZER_FLAGS_CHECK environment variable to suppress all such checks when running this program.
If you're the developer, simply remove this flag from your code to avoid getting this message. You can also call wxSizerFlags::DisableConsistencyChecks() to globally disable all such checks, but this is strongly not recommended.
Running it with WXSUPPRESS_SIZER_FLAGS_CHECK=1 makes it work, with a
number of Gtk warnings:
$ WXSUPPRESS_SIZER_FLAGS_CHECK=1 soundgrain
[...]
(soundgrain:1181640): Gtk-WARNING **: 18:07:40.898: for_size smaller than min-size (8 < 14) while measuring gadget (node check, owner GtkCheckButton)
(soundgrain:1181640): Gtk-WARNING **: 18:07:40.900: for_size smaller than min-size (8 < 14) while measuring gadget (node check, owner GtkCheckButton)
(soundgrain:1181640): Gtk-WARNING **: 18:07:41.603: for_size smaller than min-size (8 < 14) while measuring gadget (node check, owner GtkCheckButton)
Enrico
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages soundgrain depends on:
ii python3 3.10.6-3+b1
ii python3-markdown 3.4.1-2
ii python3-pyo 1.0.4-1+b4
ii python3-wxgtk4.0 4.2.0+dfsg-1+b3
soundgrain recommends no packages.
soundgrain suggests no packages.
-- no debconf information
Reply to: