-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I get this error about once every day or two, and i must restart the container to get things running again. Note, I use this with Home Assistant:
ERROR:asyncio:Task exception was never retrieved
piper | future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /app/lib/python3.10/site-packages/wyoming/server.py:31> exception=FileNotFoundError(2, 'No such file or directory')>
piper | Traceback (most recent call last):
piper | File "/app/lib/python3.10/site-packages/wyoming/server.py", line 41, in run
piper | if not (await self.handle_event(event)):
piper | File "/app/lib/python3.10/site-packages/wyoming_piper/handler.py", line 112, in handle_event
piper | raise err
piper | File "/app/lib/python3.10/site-packages/wyoming_piper/handler.py", line 95, in handle_event
piper | await self._handle_synthesize(self._synthesize)
piper | File "/app/lib/python3.10/site-packages/wyoming_piper/handler.py", line 166, in _handle_synthesize
piper | wav_file: wave.Wave_read = wave.open(output_path, "rb")
piper | File "/usr/lib/python3.10/wave.py", line 509, in open
piper | return Wave_read(f)
piper | File "/usr/lib/python3.10/wave.py", line 159, in init
piper | f = builtins.open(f, 'rb')
piper | FileNotFoundError: [Errno 2] No such file or directory: ''