RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI

After the server was restarted, an error occurred during operation: "configs/v1/32k.json" was not found.

Open
#2,626 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

Everything was OK before the restart. However, after the restart, an error occurred:

==FileNotFoundError: [Errno 2] No such file or directory: 'configs/v1/32k.json'==

I downloaded it from GitHub repo using wget to download this file (The file has always been there, but the program says it can't find it.) but it still reported the same error. I need help. Here is the error message:

————————————————————

Error code:

(base) root@VM-0-6-ubuntu:~# python Retrieval-based-Voice-Conversion-WebUI/infer-web.py
Traceback (most recent call last):
  File "/root/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 9, in <module>
    from infer.modules.uvr5.modules import uvr
  File "/root/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/modules.py", line 14, in <module>
    config = Config()
  File "/root/Retrieval-based-Voice-Conversion-WebUI/configs/config.py", line 36, in wrapper
    wrapper.instance = func(*args, **kwargs)
  File "/root/Retrieval-based-Voice-Conversion-WebUI/configs/config.py", line 51, in __init__
    self.json_config = self.load_config_json()
  File "/root/Retrieval-based-Voice-Conversion-WebUI/configs/config.py", line 71, in load_config_json
    shutil.copy(f"configs/{config_file}", p)
  File "/root/miniforge3/lib/python3.10/shutil.py", line 417, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/root/miniforge3/lib/python3.10/shutil.py", line 254, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'configs/v1/32k.json'

————————————————————————————————————————

Cloud Server: Tencent HAI High Performance
Ubuntu System
Language: zh_cn/ en

plz help~ thanQu~ c (^u^ )~~

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with configs/config.py, especially load_config_json, and trace how infer-web.py reaches Config through infer/modules/uvr5/modules.py. Check whether configs/v1/32k.json is present relative to the process working directory after restart. Done means the application can start without the FileNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.