Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

spd-say -L returns Failed to get voice list #3

Closed
themreza opened this issue Dec 8, 2023 · 1 comment
Closed

spd-say -L returns Failed to get voice list #3

themreza opened this issue Dec 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@themreza
Copy link

themreza commented Dec 8, 2023

I'm on Ubuntu 20.04, and I have Speech Dispatcher 0.9.1 installed.

After installing Pied and downloading a voice, I could confirm that spd-say "test" worked fine, but spd-say -L returned the Failed to get voice list. error. For this particular version of Speech Dispatcher, an empty voice list prevents Firefox's Reader View mode from functioning normally. https://support.mozilla.org/en-US/kb/speechd-setup

I noticed that spd-say -o piper -L didn't have this issue, so it hinted that the Piper module was probably not being selected as the default output. I then tried adding DefaultModule piper to ~/.config/speech-dispatcher/speechd.conf, and it fixed the issue:

$ killall speech-dispatcher
$ spd-say -L
                     NAME                 LANGUAGE                  VARIANT
                    Piper                    en-us                    MALE1

This issue is most likely specific to older versions of Speech Dispatcher, before this fix was released. An alternative solution is to find a backported binary or to build the binary manually, but for me, this was the quickest fix, so I thought I should share it here in case someone else faces the same issue.

@Elleo
Copy link
Owner

Elleo commented Dec 8, 2023

Hi @themreza,

That's great, thanks for figuring that out! I'll include it in the configuration template for the next release

@Elleo Elleo self-assigned this Dec 8, 2023
@Elleo Elleo added the bug Something isn't working label Dec 8, 2023
@Elleo Elleo closed this as completed in d3a1034 Dec 8, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants