Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pop_OS/linux Vocals/Accompaniment tab throws errors. #2433

Open
enhancedrouting opened this issue Jan 6, 2025 · 0 comments
Open

Pop_OS/linux Vocals/Accompaniment tab throws errors. #2433

enhancedrouting opened this issue Jan 6, 2025 · 0 comments

Comments

@enhancedrouting
Copy link

enhancedrouting commented Jan 6, 2025

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant