Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1013756: solfege: crash with pyalsa

17 views
Skip to first unread message

Michael Below

unread,
Jun 25, 2022, 9:20:04 AM6/25/22
to
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.0 3.24.34-1
ii python3 3.10.4-1+b1
ii python3-apt 2.3.0+b1
ii python3-gi 3.42.1-1
ii python3-gi-cairo 3.42.1-1
ii sensible-utils 0.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

François Mazen

unread,
Jun 30, 2022, 4:40:03 PM6/30/22
to
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

danielle.davout

unread,
Jan 17, 2023, 7:22:24 PM1/17/23
to

Hi, I had the same bug, so I try to follow the instructions given in
I could "hear" some improvements (some sound), but now I am face to

'''Traceback (most recent call last):
  File "/usr/share/solfege/solfege/exercises/idbyname.py", line 296, in new_question
    self.do_at_question_start_show_play()
  File "/usr/share/solfege/solfege/abstract.py", line 1077, in do_at_question_start_show_play
    self.m_t.m_P.play_question()
  File "/usr/share/solfege/solfege/lessonfile.py", line 1413, in play_question
    question[varname].play(self, question)
  File "/usr/share/solfege/solfege/lessonfile.py", line 573, in play
    self.__play(lessonfile_ref, question,
  File "/usr/share/solfege/solfege/lessonfile.py", line 601, in __play
    soundcard.synth.play_track(t1, t2, t3)
  File "/usr/share/solfege/solfege/soundcard/alsa_sequencer.py", line 51, in play_track
    self.play_midieventstream(MidiEventStream(*tracks))
  File "/usr/share/solfege/solfege/soundcard/alsa_sequencer.py", line 94, in play_midieventstream
    event.time = t
TypeError: integer or float expected...
Thanks
0 new messages