mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-11-05 00:27:30 +00:00
[GH-ISSUE #1237] TypeError: expected str, bytes or os.PathLike object, not NoneType #805
Labels
No labels
AMD/Intel
bug
bug
bug
colab
dependencies
documentation
duplicate
enhancement
following up
good first issue
help wanted
invalid
question
stale
stale
stale
todo list
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#805
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @r4m71n on GitHub (Sep 12, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1237
File "C:\Users\Fadak\Desktop\voice\Retrieval-based-Voice-Conversion-WebUI-main\infer-web.py", line 138, in
for root, dirs, files in os.walk(index_root, topdown=False):
File "C:\Program Files\Python39\lib\os.py", line 342, in walk
return _walk(fspath(top), topdown, onerror, followlinks)
TypeError: expected str, bytes or os.PathLike object, not NoneType
app could not recognized my gpu so as I saw in issues, i reinstalled pytorch and now it can recognize my gpu, but the app cant run succesfuly.
@ghost commented on GitHub (Sep 14, 2023):
It seems that the program cannot find the index_root directory, which is assigned by
index_root = os.getenv("index_root"), and the index_root in the .env file refer to the./logsdirectory. Please check your./logsdirectory exists under the project root directory.@r4m71n commented on GitHub (Sep 14, 2023):
Thank you for your help. I reinstalled the project and it works well