You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error on certain EPUBs, not sure if there's some issue I can fix with my epub:
Traceback (most recent call last):
File "/Users/danield/epub_to_audiobook/main.py", line 147, in <module>
main()
File "/Users/danield/epub_to_audiobook/main.py", line 143, in main
AudiobookGenerator(config).run()
File "/Users/danield/epub_to_audiobook/audiobook_generator/core/audiobook_generator.py", line 101, in run
tts_provider.text_to_speech(
File "/Users/danield/epub_to_audiobook/audiobook_generator/tts_providers/edge_tts_provider.py", line 170, in text_to_speech
asyncio.run(communicate.save(output_file))
File "/Users/danield/miniconda3/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/Users/danield/miniconda3/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/danield/miniconda3/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/danield/epub_to_audiobook/audiobook_generator/tts_providers/edge_tts_provider.py", line 114, in save
await self.chunkify()
File "/Users/danield/epub_to_audiobook/audiobook_generator/tts_providers/edge_tts_provider.py", line 74, in chunkify
audio_bytes = await self.generate_audio(content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/danield/epub_to_audiobook/audiobook_generator/tts_providers/edge_tts_provider.py", line 93, in generate_audio
async for chunk in communicate.stream():
File "/Users/danield/epub_to_audiobook/venv/lib/python3.11/site-packages/edge_tts/communicate.py", line 506, in stream
async for message in self.__stream():
File "/Users/danield/epub_to_audiobook/venv/lib/python3.11/site-packages/edge_tts/communicate.py", line 482, in __stream
raise NoAudioReceived(
edge_tts.exceptions.NoAudioReceived: No audio was received. Please verify that your parameters are correct.
The text was updated successfully, but these errors were encountered:
I'm getting this error on certain EPUBs, not sure if there's some issue I can fix with my epub:
The text was updated successfully, but these errors were encountered: