brailcom/speechd

user configuration errors should be papered over

オープン

#883 opened on 2024/03/17

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C (86 件のフォーク)auto 404
buggood first issuehelp wantedpriority

Repository metrics

Stars
 (325 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Reported by @albertotirla

Steps to reproduce

Not sure how, just reporting here what was said on matrix.

Obtained behavior

“when the tinyest thing is wrong in sd's configuration, it doesn't just remove that module with a warning, fallback to defaults, any of that, but instead it entirely crashes, leaving the user with absolutely no speech”

Expected behavior

spd should always at least produce speech, whatever configuration error the user may have done.

Of course, it the user directed speech to an audio card whose headphones are not connected, spd can't do much, but there are probably various situations where spd detects an error, and should be able to fallback on something that works.

コントリビューターガイド