#1126035#5
Date:
2026-01-20 17:59:02 UTC
From:
To:
I launch GNU Solfege, and try to exercise.

However, no sound.

Trying to configure the sound shows only:
- No sound
- Use ALSA
- Use OSS
- Use external midi

The only working option is No sound. Which has no sound.

Traceback (most recent call last):
  File "/usr/share/solfege/solfege/configwindow.py", line 792, in on_apply
    soundcard.initialise_alsa_sequencer(self.m_gui_client_port)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/solfege/solfege/soundcard/__init__.py", line 116, in initialise_alsa_sequencer
    synth = alsa_sequencer.AlsaSequencer(port, verbose_init)
  File "/usr/share/solfege/solfege/soundcard/alsa_sequencer.py", line 48, in __init__
    self.m_sequencer.connect_ports((self.m_sequencer.client_id, self.m_port), clientport)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
alsaseq.SequencerError: Failed to connect ports 128:0 -> 144:0: Opération non permise

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/solfege/solfege/configwindow.py", line 751, in on_apply_and_play_test_sound
    if self.on_apply() != -1:
       ~~~~~~~~~~~~~^^
  File "/usr/share/solfege/solfege/configwindow.py", line 795, in on_apply
    solfege.app.display_sound_init_error_message(e)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
  File "/usr/share/solfege/solfege/application.py", line 309, in display_sound_init_error_message
    % str(e).decode(locale.getpreferredencoding(), 'replace'))
      ^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?