Rhubarb report errors when executing parallel.
Hi, there:
When I execute rhubarb parallel, it would report errors with a certain probability.
The detailed error is as follows: Generating lip sync data for audios/1.wav.\nProgress: [--------------------] 0% |\b/\b\b\b\b2% -\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b#-------------------] 5% \\b\b\b\b6% |\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b#------------------] 11% /\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b##----------------] 22% \\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b###-------------] 36% \b\n[Fatal] Application terminating with error: Error processing file audios/1.wav.\nError performing speech recognition via PocketSphinx tools.\nbasic_ios::clear: iostream error\nProgress (cont'd): [#######-------------] 36%
Any ideas? My ECS server is 2G memory, 2 CPU.
My best guess is that the processes try to access the same stream simultaneously. However, based on the error message, the error occurs during speech recognition. And this code shouldn't do anything stream-related except read a few resource files, which should work in parallel.