Hi,
I’m trying to use MaryTTS (with this image) as TTS with rhasspy in a master/satellite setup. On the satellite I’m getting the following error: TtsException: file does not start with RIFF id
[ERROR:2020-05-23 17:30:36,748] rhasspyserver_hermes: file does not start with RIFF id
Traceback (most recent call last):
File "/usr/lib/rhasspy-voltron/.venv/lib/python3.7/site-packages/quart/app.py", line 1821, in full_dispatch_request
result = await self.dispatch_request(request_context)
File "/usr/lib/rhasspy-voltron/.venv/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request
return await handler(**request_.view_args)
File "/usr/lib/rhasspy-voltron/rhasspy-server-hermes/rhasspyserver_hermes/__main__.py", line 1554, in api_text_to_speech
session_id=session_id,
File "/usr/lib/rhasspy-voltron/rhasspy-server-hermes/rhasspyserver_hermes/__init__.py", line 527, in speak_sentence
raise TtsException(say_response.error)
rhasspyserver_hermes.TtsException: file does not start with RIFF id
[ERROR:2020-05-23 17:30:36,745] rhasspyserver_hermes: TtsError(error='file does not start with RIFF id', site_id='satellite', context='40c42b71-85b9-4132-958e-7599fc99fda8', session_id='')
[DEBUG:2020-05-23 17:30:36,738] rhasspyserver_hermes: Handling TtsError (topic=hermes/error/tts, id=a7de9354-dfc5-40f3-b20e-18b6dd3eea30)
[DEBUG:2020-05-23 17:30:36,732] rhasspyserver_hermes: Handling AudioPlayBytes (topic=hermes/audioServer/satellite/playBytes/40c42b71-85b9-4132-958e-7599fc99fda8, id=a7de9354-dfc5-40f3-b20e-18b6dd3eea30)
[DEBUG:2020-05-23 17:30:36,650] rhasspyserver_hermes: Publishing 122 bytes(s) to hermes/tts/say
[DEBUG:2020-05-23 17:30:36,649] rhasspyserver_hermes: -> TtsSay(text='Test Mirko', site_id='satellite', lang=None, id='40c42b71-85b9-4132-958e-7599fc99fda8', session_id='')
[DEBUG:2020-05-23 17:27:51,483] rhasspyserver_hermes: Handling TtsSayFinished (topic=hermes/tts/sayFinished, id=db2524c8-75e2-4250-8ba0-bd85820effbb)
[DEBUG:2020-05-23 17:27:50,324] rhasspyserver_hermes: Handling AudioPlayBytes (topic=hermes/audioServer/satellite/playBytes/e2fce021-a91a-4824-843e-94e2585c6a70, id=db2524c8-75e2-4250-8ba0-bd85820effbb)
[DEBUG:2020-05-23 17:27:50,252] rhasspyserver_hermes: Publishing 122 bytes(s) to hermes/tts/say
[DEBUG:2020-05-23 17:27:50,251] rhasspyserver_hermes: -> TtsSay(text='Test Mirko', site_id='satellite', lang=None, id='e2fce021-a91a-4824-843e-94e2585c6a70', session_id='')
Edit: after pulling the latest MaryTTS docker image now I have a debug-log available: https://pastebin.com/raw/eMB2W7ec
I found the problem:
2020-05-23 17:30:36,709 [I/O dispatcher 2] DEBUG marytts.Voice Could not find default voice for locale de_DE
2020-05-23 17:30:36,710 [I/O dispatcher 2] ERROR marytts.server Processing failed.
The right locale is just de and now maryTTS is working as expected
Best regards
Mirko