RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI
Pop_OS/linux Vocals/Accompaniment tab throws errors.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 38.4k
- Forks
- 5.3k
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Vocals/Accompaniment tab failure, then inspect infer/modules/uvr5/modules.py and infer/modules/uvr5/vr.py around the reported audio-loading calls. Compare the existing /tmp/gradio input path with the TEMP path used during processing. Done means an existing audio file can be extracted without the reported FileNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100