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

运行gui出错

Open
#224 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

(RVC) D:\RVC>python gui.py
2023-05-05 02:40:12 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2023-05-05 02:40:13 | INFO | faiss.loader | Loading faiss with AVX2 support.
2023-05-05 02:40:13 | INFO | faiss.loader | Could not load library with AVX2 support due to:
ModuleNotFoundError("No module named 'faiss.swigfaiss_avx2'")
2023-05-05 02:40:13 | INFO | faiss.loader | Loading faiss.
2023-05-05 02:40:13 | INFO | faiss.loader | Successfully loaded faiss.
Use Language: zh_CN
Traceback (most recent call last):
  File "D:\RVC\gui.py", line 562, in <module>
    gui = GUI()
  File "D:\RVC\gui.py", line 195, in __init__
    self.launcher()
  File "D:\RVC\gui.py", line 240, in launcher
    default_value=input_devices[sd.default.device[0]],
IndexError: list index out of range

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 gui.py at GUI.init and launcher(), especially line 240 where input_devices and sd.default.device are used. Run python gui.py in an environment without an available input device and inspect how those values are populated. Done means the GUI no longer crashes at startup and the behavior for missing input devices is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.