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

error when the realtimegui starts up

Open
#342 4 comments 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

2023-05-24 07:44:09 | INFO | faiss.loader | Loading faiss with AVX2 support.
2023-05-24 07:44:09 | INFO | faiss.loader | Could not load library with AVX2 support due to:
ModuleNotFoundError("No module named 'faiss.swigfaiss_avx2'")
2023-05-24 07:44:09 | INFO | faiss.loader | Loading faiss.
2023-05-24 07:44:09 | INFO | faiss.loader | Successfully loaded faiss.
Use Language: zh_CN
Traceback (most recent call last):
File "C:\Users*\Downloads\RVC-beta\gui.py", line 570, in
gui = GUI()
File "C:\Users*
\Downloads\RVC-beta\gui.py", line 205, in init
self.launcher()
File "C:\Users*\Downloads\RVC-beta\gui.py", line 209, in launcher
input_devices, output_devices, _, _ = self.get_devices()
File "C:\Users*
\Downloads\RVC-beta\gui.py", line 526, in get_devices
devices = sd.query_devices()
File "C:\Users*\Downloads\RVC-beta\runtime\lib\site-packages\sounddevice.py", line 564, in query_devices
return DeviceList(query_devices(i)
File "C:\Users*
\Downloads\RVC-beta\runtime\lib\site-packages\sounddevice.py", line 564, in
return DeviceList(query_devices(i)
File "C:\Users******\Downloads\RVC-beta\runtime\lib\site-packages\sounddevice.py", line 578, in query_devices
name = name_bytes.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 6: invalid continuation byte

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 in gui.py at GUI.get_devices around line 526, where sounddevice.query_devices() raises the UnicodeDecodeError during GUI startup. Reproduce on Windows with the reported audio-device setup and inspect how the device name is decoded; done means the realtime GUI starts successfully when a device name contains the reported byte sequence.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.