Bug 48082

Summary: Ошибки в работе утилиты lilysong
Product: Sisyphus Reporter: Savelev Pavel <savelevpa>
Component: lilypondAssignee: arbars <arbars>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: amakeenk, rider
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Savelev Pavel 2023-10-19 23:56:42 MSK
Версия пакета: 
lilypond-2.24.2-alt1.x86_64 (Sisyphus)
lilypond-2.20.0-alt1.x86_64

Стенды с ошибкой:

education-10.1-x86-64
education-10.1-x86-64-kde
kworkstation-10.2-x86-64
workstation-10.2-x86-64
server-10.1-x86-64

Шаги для воспроизведения:

Выполнить команды:

$ lilysong --list-languages
$ lilysong --list-voices

Реальный результат:

$ lilysong --list-languages
Traceback (most recent call last):
  File "/usr/bin/lilysong", line 273, in <module>
    go()
  File "/usr/bin/lilysong", line 244, in go
    list_languages()
  File "/usr/bin/lilysong", line 151, in list_languages
    print(call_festival('''
  File "/usr/bin/lilysong", line 110, in call_festival
    p.stdin.write(scheme_code)
TypeError: a bytes-like object is required, not 'str'

$ lilysong --list-voices
Traceback (most recent call last):
  File "/usr/bin/lilysong", line 273, in <module>
    go()
  File "/usr/bin/lilysong", line 242, in go
    list_voices()
  File "/usr/bin/lilysong", line 141, in list_voices
    print(call_festival('''
  File "/usr/bin/lilysong", line 110, in call_festival
    p.stdin.write(scheme_code)
TypeError: a bytes-like object is required, not 'str'

Ожидаемый результат:

~ $ lilysong --list-languages
english

~ $ lilysong --list-voices
voice_us3_mbrola