RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI
"select files" and "start audio conversations" can't work on macOS
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 38.4k
- Forks
- 5.3k
- PR merge metrics
- No merged PRs in 30d
Description
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/tkinter/init.py", line 1892, in call
return self.func(args)
File "/Users/shiyu/Documents/GitHub/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/FreeSimpleGUI/elements/button.py", line 352, in ButtonCallBack
is_all = [(x, y) for (x, y) in filetypes if all(ch in ' .' for ch in y)]
File "/Users/shiyu/Documents/GitHub/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/FreeSimpleGUI/elements/button.py", line 352, in
is_all = [(x, y) for (x, y) in filetypes if all(ch in '* .' for ch in y)]
ValueError: too many values to unpack (expected 2)
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/tkinter/init.py", line 1892, in call
return self.func(args)
File "/Users/shiyu/Documents/GitHub/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/FreeSimpleGUI/elements/button.py", line 352, in ButtonCallBack
is_all = [(x, y) for (x, y) in filetypes if all(ch in ' .' for ch in y)]
File "/Users/shiyu/Documents/GitHub/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/FreeSimpleGUI/elements/button.py", line 352, in
is_all = [(x, y) for (x, y) in filetypes if all(ch in '* .' for ch in y)]
ValueError: too many values to unpack (expected 2)
Input device: 0:MacBook Pro麦克风
Output device: 4:VB-Cable
cuda_is_available: False
Index search FAILED or disabled
Spent time: fea = 0.052s, index = 0.000s, f0 = 0.017s, model = 0.047s
Exception ignored from cffi callback <function _StreamBase.init..callback_ptr at 0x7fa6406a6b80>:
Traceback (most recent call last):
File "/Users/shiyu/Documents/GitHub/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/sounddevice.py", line 897, in callback_ptr
return _wrap_callback(
File "/Users/shiyu/Documents/GitHub/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/sounddevice.py", line 2743, in _wrap_callback
callback(*args)
File "gui_v1.py", line 977, in audio_callback
_, sola_offset = torch.max(cor_nom[0, 0] / cor_den[0, 0])
File "/Users/shiyu/Documents/GitHub/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/torch/_tensor.py", line 1022, in iter
raise TypeError("iteration over a 0-d tensor")
TypeError: iteration over a 0-d tensor
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
Reproduce the two macOS failures from the issue, starting with the FreeSimpleGUI traceback for file selection and gui_v1.py line 977 for the audio callback. Inspect those reported call sites and verify that selecting files and starting audio conversations complete without the listed exceptions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- audio-video-rtc, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100