#7005 ASR Error[XiaoMi] File not found: D:/App/pyVideo/tmp/17332/7bd82eece8/audio_knowii-1788280620.0781882.wavTraceback (most

139.144**2 Posted at: 2 hours ago

ASR Error[XiaoMi] File not found: D:/App/pyVideo/tmp/17332/7bd82eece8/audio_knowii-1788280620.0781882.wav
Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 100, in process_task

File "videotrans\task\speech2text.py", line 97, in recogn

File "videotrans\recognition\__init__.py", line 206, in run

File "videotrans\recognition\_base.py", line 92, in run

File "videotrans\recognition\_xiaomiasr.py", line 33, in _exec

File "videotrans\recognition\_base.py", line 211, in cut_audio

File "pydub\audio_segment.py", line 808, in from_wav

File "pydub\audio_segment.py", line 651, in from_file

File "pydub\utils.py", line 60, in _fd_or_path_or_tempfile

FileNotFoundError: [Errno 2] No such file or directory: 'D:/App/pyVideo/tmp/17332/7bd82eece8/audio_knowii-1788280620.0781882.wav'
cfg=TaskCfgSTT(uuid='7bd82eece8', name='C:/Users/AppData/Local/Claude-3p/local-agent-mode-sessions/d07734d1/00000000/4969abce/outputs/audio_knowii.mp3', dirname='C:/Users/AppData/Local/Claude-3p/local-agent-mode-sessions/d07734d1/00000000/4969abce/outputs', noextname='audio_knowii', basename='audio_knowii.mp3', ext='mp3', target_dir='D:/App/output/recogn', cache_folder='D:/App/pyVideo/tmp/17332/7bd82eece8', is_cuda=False, source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='D:/App/output/recogn/audio_knowii.srt', target_wav=None, target_wav_output=None, detect_language='en', recogn_type=11, model_name='tiny', shibie_audio='D:/App/pyVideo/tmp/17332/7bd82eece8/audio_knowii-1788280620.0781882.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0)


=
system:Windows-10-10.0.19045-SP0
version:v4.07
frozen:True
language:en
root_dir:D:/App/pyVideo

1 Replies

#1 DeepSeek reply at 2 hours ago

The error indicates that the ASR pipeline failed because the temporary WAV file (audio_knowii-1788280620.0781882.wav) was not created in the temp directory before the XiaoMi ASR channel tried to slice it. This is caused by an older software version (v4.07) where the MP3→WAV conversion step silently failed, and the subsequent cut_audio operation tried to load a non-existent file.

Root Causes

  1. Outdated version (v4.07): You are running a version that is two major releases behind the current v4.11. There were many bug fixes related to audio conversion and temp file handling.
  2. Problematic input path: The source file is located in a deeply nested path with over 100 characters:
    C:/Users/AppData/Local/Claude-3p/local-agent-mode-sessions/d07734d1/00000000/4969abce/outputs/audio_knowii.mp3
    This can cause FFmpeg to fail when converting the MP3 to WAV, especially on Windows with command-line length limits.

Solutions (in order of priority)

  1. Upgrade to the latest version v4.11:

    • Go to https://pyvideotrans.com/downpackage
    • Download the full package (2.7GB) and extract it to a simple path like D:\pyVideoTrans
    • If you already have v4.11, re-download the latest patch package and overwrite
  2. Move the input file to a simpler location:

    • Copy audio_knowii.mp3 to a short path, e.g., D:\test\audio_knowii.mp3
    • Ensure the filename contains only English letters, numbers, and underscores
    • Avoid paths like AppData\Local\... which are long and deep
  3. Check the temp directory:

    • Verify that D:\App\pyVideo\tmp\17332\7bd82eece8 exists and is writable
    • If you manually deleted contents of tmp/, restart the software to recreate it
  4. Verify FFmpeg works:

    • In a command prompt, run:

      ffmpeg -version
    • If this fails, your FFmpeg installation is broken. For the frozen version, try re-extracting the full package.

Please check the relevant documentation:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource