synesthesiam / rhasspy

Rhasspy voice assistant for offline home automation
https://rhasspy.readthedocs.io
MIT License
944 stars 101 forks source link

Speech to text nl_pocketsphinx download error. #243

Closed Giel538 closed 4 years ago

Giel538 commented 4 years ago

This is my first installation. Version 2.5 running in docker on a rpi4

I followed the guide and chose pocketsphinx for speech to text. But when i download the files i get this error.

DownloadFailedException: ('https://github.com/synesthesiam/nl_pocketsphinx-cmu/raw/master/g2p.fst/g2p.fst.gz.part-03', 'Part size mismatch (got 170730 byte(s), expected 26214400)')

DownloadFailedException: ('https://github.com/synesthesiam/nl_pocketsphinx-cmu/raw/master/g2p.fst/g2p.fst.gz.part-02', 'Part size mismatch (got 170730 byte(s), expected 26214400)')

Looks like the file is not there or moved?

When i set my profile to English i am been able to download the package.

Giel538 commented 4 years ago

This is the file (g2p.fst) which comes from the json string when i press on (9 missing files 318mb)

"nl_pocketsphinx-cmu/g2p.fst": {
    "bytes_expected": 379247251,
    "file_key": "nl_pocketsphinx-cmu/g2p.fst",
    "file_path": "/profiles/nl/g2p.fst",
    "human_size": "361.7 MiB",
    "setting_name": "speech_to_text.system",
    "setting_value": "pocketsphinx",
    "index": 8
}

}

synesthesiam commented 4 years ago

If you can, please upgrade to Rhasspy 2.5. The problem has been fixed there.