Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Some voices refuse to install with invalid archive error #2

Open
pitermach opened this issue May 2, 2023 · 6 comments
Open

Some voices refuse to install with invalid archive error #2

pitermach opened this issue May 2, 2023 · 6 comments

Comments

@pitermach
Copy link

To reproduce:

ERROR - external:globalPlugins.piper_voice_installer.SettingsPanel._get_process_tar_archive (12:02:32.001) - MainThread (8388):
Failed to install voice from archive
Traceback (most recent call last):
  File "C:\Users\piter\AppData\Roaming\nvda\addons\piper_neural_voices\globalPlugins\piper_voice_installer.py", line 78, in _get_process_tar_archive
    voice_key = PiperTextToSpeechSystem.install_voice(filepath, PIPER_VOICES_DIR)
  File "C:\Users\piter\AppData\Roaming\nvda\addons\piper_neural_voices\synthDrivers\piper_neural_voices\tts_system.py", line 280, in install_voice
    raise ValueError(f"Invalid voice archive: `{archive_path}`")
ValueError: Invalid voice archive: `D:\Downloads\voice-pl-mls_6892-low.tar.gz`

The Polish voice isn't the only one which fails in this way - I got an identical error when trying to install the Southern english voice. Others, like US English Lessac, Ryan and Danny, install with no problems.

@mush42
Copy link
Owner

mush42 commented May 2, 2023

@pitermach

For now, just rename the voice file to have the following form:
voice-language-name-quality

replace language with the voice's language (e.g en-GB), name with the voice's name (e.g amy), and quality with the voice's quality (e.g low).

I'll fix this soon.

Best
Musharraf

@pitermach
Copy link
Author

Thanks, I was able to get the voices installed following your instructions.

@CyrilleB79
Copy link

Same issue with "voice-fr-mls_1840-low.tar.gz".

Renaming the voice allows to install it. But there are still errors, e.g. opening the variant combobox.

@KevanGP
Copy link

KevanGP commented May 8, 2023

En-GB Southern English Female will not install. I
m not sure where the logs are located or I'd paste the error. I did try redownloading the voice with same results.

@mush42
Copy link
Owner

mush42 commented May 8, 2023

@KevanGP please take a look at my first comment above.

@tmthywynn8
Copy link

Would x-low voices populating improper fields be related to this issue? For example, installing the Vietnamese vivos voice dataset which does have a model card) produces the following:

Name Quality Language
X Low vi-VIVOS

Voice model card button output:

[Window Title]
Info

[Content]
Model card information is unavailable for this voice

[OK]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants