w-okada / voice-changer

リアルタイムボイスチェンジャー Realtime Voice Changer
Other
15.54k stars 1.68k forks source link

[ISSUE]: Failed to open LevelDB database... indexeddb.leveldb/LOCK: File currently in use. #1028

Open beltonk opened 7 months ago

beltonk commented 7 months ago

Voice Changer Version

MMVCServerSIO_mac_onnxcpu-nocuda_v.1.5.3.17b.zip

Operational System

Mac M1 Max Sonoma

GPU

Apple Silicon

Read carefully and check the options

Model Type

RVC

Issue Description

I followed https://github.com/w-okada/voice-changer/blob/master/tutorials/tutorial_rvc_en_latest.md for Mac Instructions.

All downloads & initialization seems correct. However, 2 GUI will be popped up, one GUI shows "Error: No available storage method found." in the screenshot.

and there is error at startHttp.command:

[4147:1206/115640.752038:ERROR:leveldb_factory.cc(88)] Failed to open LevelDB database from /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb,IO error: /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb/LOCK: File currently in use. (ChromeMethodBFE: 15::LockFile::2)

While another GUI looks fine. I guess the running both MMVCServerSIO.app and startHttp.command will result in two GUI unexpectedly, causing file lock issue.

Is there something wrong with the startHttp.command, coz it is actually invoking "MMVCServerSIO.app/Contents/MacOS/MMVCServerSIO".

Application Screenshot

image

Logs on console

Last login: Wed Dec 6 11:56:26 on ttys001 /Users/xxxx/Downloads/MMVCServerSIO_mac_onnxcpu-nocuda_v.1.5.3.17b/startHttp.command ; exit; ~$ /Users/xxxx/Downloads/MMVCServerSIO_mac_onnxcpu-nocuda_v.1.5.3.17b/startHttp.command ; exit; Booting PHASE :main PYTHON:3.10.9 (main, Jan 15 2023, 23:00:56) [Clang 14.0.0 (clang-1400.0.29.202)] Activating the Voice Changer. [Voice Changer] download sample catalog. samples_0004_t.json [Voice Changer] download sample catalog. samples_0004_o.json [Voice Changer] download sample catalog. samples_0004_d.json [Voice Changer] model_dir is already exists. skip download samples. Internal_Port:18888 protocol: HTTP


Please open the following URL in your browser.
http://<IP>:<PORT>/
In many cases, it will launch when you access any of the following URLs.
http://127.0.0.1:18888/

2023-12-06 11:56:35.237 voice-changer-native-client[4147:17460896] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. [VCClient] Access http://127.0.0.1:18888/ [VCClient] wait web server...0 http://127.0.0.1:18888/ Booting PHASE :main Booting PHASE :main Booting PHASE :MMVCServerSIO [Voice Changer] VoiceChangerManager initializing... [Voice Changer] VoiceChangerManager initializing... done. [Voice Changer] MMVC_Rest initializing... mac model_dir: /Users/xxxx/Downloads/MMVCServerSIO_mac_onnxcpu-nocuda_v.1.5.3.17b/model_dir [Voice Changer] MMVC_Rest initializing... done. [Voice Changer] MMVC_SocketIOApp initializing... [Voice Changer] MMVC_SocketIOApp initializing... done. [VCClient] wait web server... done 200 [4147:1206/115640.752038:ERROR:leveldb_factory.cc(88)] Failed to open LevelDB database from /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb,IO error: /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb/LOCK: File currently in use. (ChromeMethodBFE: 15::LockFile::2) [4147:1206/115641.757966:ERROR:leveldb_factory.cc(88)] Failed to open LevelDB database from /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb,IO error: /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb/LOCK: File currently in use. (ChromeMethodBFE: 15::LockFile::2) [VCClient] Access http://127.0.0.1:18888/ [VCClient] wait web server... done 200 [4147:1206/115942.162638:ERROR:leveldb_factory.cc(88)] Failed to open LevelDB database from /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb,IO error: /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb/LOCK: File currently in use. (ChromeMethodBFE: 15::LockFile::2) [4147:1206/115943.173353:ERROR:leveldb_factory.cc(88)] Failed to open LevelDB database from /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb,IO error: /Users/xxxx/Library/Application Support/voice-changer-native-client/IndexedDB/http_127.0.0.1_18888.indexeddb.leveldb/LOCK: File currently in use. (ChromeMethodBFE: 15::LockFile::2)

eriktanner commented 7 months ago

Getting this same issue on my M1 Mac Sonoma

BashMike commented 4 months ago

Has someone solved that problem? Also have problem with voice conversion. I just hear my voice without any voice conversion with "passthru" option enabled.