语音识别阶段出错:[阿里FunASR中文(本地)] 无效的值或参数:cannot process flags argument with a compiled pattern:
Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\_speech2text.py", line 146, in recogn
File "videotrans\recognition\__init__.py", line 231, in run
File "videotrans\recognition\_base.py", line 78, in run
File "videotrans\recognition\_funasr.py", line 39, in _exec
File "videotrans\recognition\_funasr.py", line 126, in _exec1
File "videotrans\recognition\_funasr.py", line 27, in remove_unwanted_characters
File "re.py", line 209, in sub
File "re.py", line 298, in _compile
ValueError: cannot process flags argument with a compiled pattern
TaskCfg(cache_folder='F:/win-pyvideotrans-v3.87/tmp/8684/speech2text', target_dir='F:/win-pyvideotrans-v3.87/output/recogn', remove_noise=False, is_separate=False, detect_language='yue', subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code=None, source_sub=None, target_sub='F:/win-pyvideotrans-v3.87/output/recogn/2025.11.02-12.26.47.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='2025.11.02-12.26.47', shibie_audio='F:/win-pyvideotrans-v3.87/tmp/8684/speech2text/2025.11.02-12.26.47-1765001015.8365147.wav', targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=None, recogn_type=2, model_name='SenseVoiceSmall', split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='C:/Users/abc/Videos/4K Video Downloader+/2025.11.02-12.26.47.aac', basename='2025.11.02-12.26.47.aac', ext='aac', dirname='C:/Users/abc/Videos/4K Video Downloader+', shound_del_name=None, uuid='c69a004c0e', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0)
=
system:Windows-10-10.0.26200-SP0
version:v3.87
frozen:True
language:zh
root_dir:F:/win-pyvideotrans-v3.87