[GH-ISSUE #400] How to fix "Runtimeerror"? #202

Open
opened 2026-10-20 09:56:39 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @Raphy0218 on GitHub (May 31, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/400

I push "One click training" then window said "training index" then I see command prompt then command prompt said↓

"RuntimeError: Error in __cdecl faiss::FileIOWriter::FileIOWriter(const char *) at D:\a\faiss-wheels\faiss-wheels\faiss\faiss\impl\io.cpp:98: Error: 'f' failed: could not open D:\Private\AIVC\RVC-beta/logs/zundamon/trained_IVF1065_Flat_nprobe_1_zundamon_v1.index for writing: Illegal byte sequence"

What is wrong? And how to fix? If this error has paths "\///", I want how to change this logs path.

(This is my first use github. Maybe it's wrong using, or confusing my sentence. So I want advice too.)

Originally created by @Raphy0218 on GitHub (May 31, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/400 I push "One click training" then window said "training index" then I see command prompt then command prompt said↓ "RuntimeError: Error in __cdecl faiss::FileIOWriter::FileIOWriter(const char *) at D:\a\faiss-wheels\faiss-wheels\faiss\faiss\impl\io.cpp:98: Error: 'f' failed: could not open D:\Private\AIVC\RVC-beta/logs/zundamon/trained_IVF1065_Flat_nprobe_1_zundamon_v1.index for writing: Illegal byte sequence" What is wrong? And how to fix? If this error has paths "\\\///", I want how to change this logs path. (This is my first use github. Maybe it's wrong using, or confusing my sentence. So I want advice too.)
Author
Owner

@burakeg commented on GitHub (Jul 6, 2023):

can u fix this

<!-- gh-comment-id:1623144168 --> @burakeg commented on GitHub (Jul 6, 2023): can u fix this
Author
Owner

@arbazw commented on GitHub (Jun 21, 2024):

Ensure that the file path does not contain any illegal characters. Windows file paths can have issues with characters like <>:"/\|?* and the directory D:\Private\AIVC\RVC-beta/logs/zundamon/ exists. If not, create it manually or modify the script to create it automatically.

If the log path is set in a configuration file or within the code, you might need to change it. Or if the path is set in the repository configuration, you will need to locate the file and update it. The file could be a .env, config.py, or similar configuration file used by the repository.

<!-- gh-comment-id:2183350396 --> @arbazw commented on GitHub (Jun 21, 2024): Ensure that the file path does not contain any illegal characters. Windows file paths can have issues with characters like `<>:"/\|?*` and the directory `D:\Private\AIVC\RVC-beta/logs/zundamon/` exists. If not, create it manually or modify the script to create it automatically. If the log path is set in a configuration file or within the code, you might need to change it. Or if the path is set in the repository configuration, you will need to locate the file and update it. The file could be a `.env`, `config.py`, or similar configuration file used by the repository.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#202
No description provided.