Bug#1013756: solfege: crash with pyalsa

2022-06-30 Thread François Mazen
reopen 935535
reopen 938965
merge 935535 1013756
block 1013756 by 938965
thanks 

Hello Michael!

Thanks for reporting this issue. This is a problem in python-alsa
itself that have been reported in [1], fixed upstream [2], but the
Debian package is still waiting for an update.

I reopen associated bugs and try to update python-alsa.

Best Regards,
François


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=938965
[2]
https://github.com/alsa-project/alsa-python/commit/a64a6cc703d08db5c223a16bf812a569534ba464



Bug#1013756: solfege: crash with pyalsa

2022-06-25 Thread Michael Below
Package: solfege
Version: 3.23.4-11
Severity: normal
X-Debbugs-Cc: be...@judiz.de

Dear Maintainer,

when I tried solfege for the first time it used OSS MIDI through the
sound card. There was a message in the config window that ALSA couldn't
be used because pyalsa was missing. I installed python3-pyalsa from
testing, and the next time I opened the config dialog in solfege it
crashed. I expected it to offer ALSA MIDI instead.

Cheers
Michael


Traceback (most recent call last):
  File "/usr/share/solfege/solfege/mainwin.py", line 672, in 
open_preferences_window
self.g_config_window = ConfigWindow()
  File "/usr/share/solfege/solfege/configwindow.py", line 111, in __init__
self.create_sound_config()
  File "/usr/share/solfege/solfege/configwindow.py", line 467, in 
create_sound_config
self.create_linux_sound_page()
  File "/usr/share/solfege/solfege/configwindow.py", line 622, in 
create_linux_sound_page
connections = solfege.soundcard.alsa_sequencer.get_connection_list()
  File "/usr/share/solfege/solfege/soundcard/alsa_sequencer.py", line 123, in 
get_connection_list
sequencer = alsaseq.Sequencer(name='default',
OverflowError: signed integer is greater than maximum


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (50, 
'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-rt-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
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 solfege depends on:
ii  freepats  20060219-4
ii  gir1.2-gtk-3.03.24.34-1
ii  python3   3.10.4-1+b1
ii  python3-apt   2.3.0+b1
ii  python3-gi3.42.1-1
ii  python3-gi-cairo  3.42.1-1
ii  sensible-utils0.0.17
ii  timidity  2.14.0-8+b1

Versions of packages solfege recommends:
ii  csound   1:6.17.0~dfsg-3+b1
ii  solfege-doc  3.23.4-11

solfege suggests no packages.

-- no debconf information