Closed flt6 closed 2 years ago
@yulin-li Could you please comment on this issue?
0x8 (SPXERR_FILE_OPEN_FAILED)
means the audio file you are trying to write to is not available, the possible reasons are folder not existing, wrong permission, or this file is opened by another program.
Please note aspeak
is a project that abuses azure TTS service by hacking the endpoint only for demo. Speech SDK is not designed to work with this demo endpoint. You need to get your own subscription and stop abusing.
Describe the bug An RuntimeError occurred while calling
speak_ssml_async
This error seemed to occurred randomly. Even if args and environment is absolutely same, it doesn't occur every time. Sometimes when I reboot the computer or test next day, the error doesn't occurred for hours. This error seems can't be catch throughtry
.To Reproduce Executing function
tts
with correct ssml and output file path for many times at the same time in windows may result in raising this error. File tts.pyExecute example (only for test):
Expected behavior
This is Traceback text (memory address
00007FFE37F772C4
,00007FFE37FC76A8
,00007FFE37FC87A8
is fixed for every time.)Version of the Cognitive Services Speech SDK 1.23.0
Platform, Operating System, and Programming Language