[GH-ISSUE #2433] Pop_OS/linux Vocals/Accompaniment tab throws errors. #1705

Open
opened 2026-10-20 10:11:20 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @enhancedrouting on GitHub (Jan 6, 2025).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2433

Terminal displays this error when trying to extract audio:

/tmp/gradio/c86795c1217b83227cf6fe6afb93bb1dd75ed5ee/NineInchNailsAllTimeLow.wav: No such file or directory

Even though that path and file do exist.

Webui displays this:


NineInchNailsAllTimeLow.wav.reformatted.wav->Traceback (most recent call last):
  File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 155, in load
    context = sf.SoundFile(path)
  File "/home/user1/.local/lib/python3.10/site-packages/soundfile.py", line 690, in __init__
    self._file = self._open(file, mode_int, closefd)
  File "/home/user1/.local/lib/python3.10/site-packages/soundfile.py", line 1265, in _open
    raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening '/models/rvc/Retrieval-based-Voice-Conversion-WebUI/TEMP/NineInchNailsAllTimeLow.wav.reformatted.wav': System error.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/models/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/modules.py", line 74, in uvr
    pre_fun._path_audio_(
  File "/models/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/vr.py", line 63, in _path_audio_
    ) = librosa.load(  # 理论上librosa读取可能对某些音频有bug,应该上ffmpeg读取,但是太麻烦了弃坑
  File "/home/user1/.local/lib/python3.10/site-packages/librosa/util/decorators.py", line 88, in inner_f
    return f(*args, **kwargs)
  File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 174, in load
    y, sr_native = __audioread_load(path, offset, duration, dtype)
  File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 198, in __audioread_load
    with audioread.audio_open(path) as input_file:
  File "/home/user1/.local/lib/python3.10/site-packages/audioread/__init__.py", line 127, in audio_open
    return BackendClass(path)
  File "/home/user1/.local/lib/python3.10/site-packages/audioread/rawread.py", line 59, in __init__
    self._fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/models/rvc/Retrieval-based-Voice-Conversion-WebUI/TEMP/NineInchNailsAllTimeLow.wav.reformatted.wav'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 155, in load
    context = sf.SoundFile(path)
  File "/home/user1/.local/lib/python3.10/site-packages/soundfile.py", line 690, in __init__
    self._file = self._open(file, mode_int, closefd)
  File "/home/user1/.local/lib/python3.10/site-packages/soundfile.py", line 1265, in _open
    raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening '/models/rvc/Retrieval-based-Voice-Conversion-WebUI/TEMP/NineInchNailsAllTimeLow.wav.reformatted.wav': System error.


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/models/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/modules.py", line 82, in uvr
    pre_fun._path_audio_(
  File "/models/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/vr.py", line 63, in _path_audio_
    ) = librosa.load(  # 理论上librosa读取可能对某些音频有bug,应该上ffmpeg读取,但是太麻烦了弃坑
  File "/home/user1/.local/lib/python3.10/site-packages/librosa/util/decorators.py", line 88, in inner_f
    return f(*args, **kwargs)
  File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 174, in load
    y, sr_native = __audioread_load(path, offset, duration, dtype)
  File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 198, in __audioread_load
    with audioread.audio_open(path) as input_file:
  File "/home/user1/.local/lib/python3.10/site-packages/audioread/__init__.py", line 127, in audio_open
    return BackendClass(path)
  File "/home/user1/.local/lib/python3.10/site-packages/audioread/rawread.py", line 59, in __init__
    self._fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/models/rvc/Retrieval-based-Voice-Conversion-WebUI/TEMP/NineInchNailsAllTimeLow.wav.reformatted.wav'


ffmpeg is installed:
pop-os:/models/rvc/Retrieval-based-Voice-Conversion-WebUI$ ffmpeg
ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)

Does anyone have any advice?

Originally created by @enhancedrouting on GitHub (Jan 6, 2025). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2433 **Terminal displays this error when trying to extract audio:** /tmp/gradio/c86795c1217b83227cf6fe6afb93bb1dd75ed5ee/NineInchNailsAllTimeLow.wav: No such file or directory **Even though that path and file do exist.** **Webui displays this:** ``` NineInchNailsAllTimeLow.wav.reformatted.wav->Traceback (most recent call last): File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 155, in load context = sf.SoundFile(path) File "/home/user1/.local/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ self._file = self._open(file, mode_int, closefd) File "/home/user1/.local/lib/python3.10/site-packages/soundfile.py", line 1265, in _open raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) soundfile.LibsndfileError: Error opening '/models/rvc/Retrieval-based-Voice-Conversion-WebUI/TEMP/NineInchNailsAllTimeLow.wav.reformatted.wav': System error. ``` During handling of the above exception, another exception occurred: ``` Traceback (most recent call last): File "/models/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/modules.py", line 74, in uvr pre_fun._path_audio_( File "/models/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/vr.py", line 63, in _path_audio_ ) = librosa.load( # 理论上librosa读取可能对某些音频有bug,应该上ffmpeg读取,但是太麻烦了弃坑 File "/home/user1/.local/lib/python3.10/site-packages/librosa/util/decorators.py", line 88, in inner_f return f(*args, **kwargs) File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 174, in load y, sr_native = __audioread_load(path, offset, duration, dtype) File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 198, in __audioread_load with audioread.audio_open(path) as input_file: File "/home/user1/.local/lib/python3.10/site-packages/audioread/__init__.py", line 127, in audio_open return BackendClass(path) File "/home/user1/.local/lib/python3.10/site-packages/audioread/rawread.py", line 59, in __init__ self._fh = open(filename, 'rb') FileNotFoundError: [Errno 2] No such file or directory: '/models/rvc/Retrieval-based-Voice-Conversion-WebUI/TEMP/NineInchNailsAllTimeLow.wav.reformatted.wav' ``` During handling of the above exception, another exception occurred: ``` Traceback (most recent call last): File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 155, in load context = sf.SoundFile(path) File "/home/user1/.local/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ self._file = self._open(file, mode_int, closefd) File "/home/user1/.local/lib/python3.10/site-packages/soundfile.py", line 1265, in _open raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) soundfile.LibsndfileError: Error opening '/models/rvc/Retrieval-based-Voice-Conversion-WebUI/TEMP/NineInchNailsAllTimeLow.wav.reformatted.wav': System error. ``` During handling of the above exception, another exception occurred: ``` Traceback (most recent call last): File "/models/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/modules.py", line 82, in uvr pre_fun._path_audio_( File "/models/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/vr.py", line 63, in _path_audio_ ) = librosa.load( # 理论上librosa读取可能对某些音频有bug,应该上ffmpeg读取,但是太麻烦了弃坑 File "/home/user1/.local/lib/python3.10/site-packages/librosa/util/decorators.py", line 88, in inner_f return f(*args, **kwargs) File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 174, in load y, sr_native = __audioread_load(path, offset, duration, dtype) File "/home/user1/.local/lib/python3.10/site-packages/librosa/core/audio.py", line 198, in __audioread_load with audioread.audio_open(path) as input_file: File "/home/user1/.local/lib/python3.10/site-packages/audioread/__init__.py", line 127, in audio_open return BackendClass(path) File "/home/user1/.local/lib/python3.10/site-packages/audioread/rawread.py", line 59, in __init__ self._fh = open(filename, 'rb') FileNotFoundError: [Errno 2] No such file or directory: '/models/rvc/Retrieval-based-Voice-Conversion-WebUI/TEMP/NineInchNailsAllTimeLow.wav.reformatted.wav' ``` **ffmpeg is installed:** pop-os:/models/rvc/Retrieval-based-Voice-Conversion-WebUI$ ffmpeg ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04) **Does anyone have any advice?**
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1705
No description provided.