brailcom/speechd

user configuration errors should be papered over

Ouverte

#883 ouverte le 17 mars 2024

 (0 commentaire) (0 réaction) (0 personne assignée)C (86 forks)auto 404
buggood first issuehelp wantedpriority

Métriques du dépôt

Stars
 (325 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur