0Xiaohei0 / VoiceToJapanese

152 stars 19 forks source link

UI.EXE not launching #46

Open XB1TZ opened 9 months ago

XB1TZ commented 9 months ago

CWAIFUUIUI.exe.txt

goenyan commented 9 months ago

Why there is txt file?

XB1TZ commented 9 months ago

that's from cmd Starting voicevox server... Exception in thread Thread-1 (listen_to_mic): Traceback (most recent call last): File "threading.py", line 1016, in _bootstrap_inner File "threading.py", line 953, in run File "UI.py", line 1099, in listen_to_mic File "sounddevice.py", line 1800, in init File "sounddevice.py", line 800, in init File "sounddevice.py", line 2660, in _get_stream_parameters File "sounddevice.py", line 569, in query_devices sounddevice.PortAudioError: Error querying device -1 Initializing tts model... Initializing translator... reading C:\Users\pc\AppData\Local\voicevox-engine\voicevox-engine\tmpa7akj6h1 ... 62 emitting double-array: 100% |###########################################|

done! loading Audio devices: loading config... {'use_deepl': False, 'deepl_api_key': '', 'use_cloud_voice_vox': False, 'voice_vox_api_key': '', 'openai_api_key': '', 'youtube_video_id': '', 'twitch_access_token': '', 'twitch_channel_name': '', 'use_elevenlab': False, 'elevenlab_api_key': ''} loading settings... {'use_deepl': False, 'deepl_api_key': '', 'use_cloud_voice_vox': False, 'voice_vox_api_key': '', 'openai_api_key': '', 'youtube_video_id': '', 'twitch_access_token': '', 'twitch_channel_name': '', 'use_elevenlab': False, 'elevenlab_api_key': ''} INFO: 127.0.0.1:11238 - "GET /speakers HTTP/1.1" 200 OK [{'name': 'ノーマル', 'id': 2}, {'name': 'あまあま', 'id': 0}, {'name': 'ツンツン', 'id': 6}, {'name': 'セクシー', 'id': 4}, {'name': 'ささやき', 'id': 36}, {'name': 'ヒソヒソ', 'id': 37}] Traceback (most recent call last): File "UI.py", line 1129, in File "UI.py", line 1044, in init File "UI.py", line 805, in init File "UI.py", line 660, in init File "UI.py", line 403, in init File "UI.py", line 36, in init File "sounddevice.py", line 1421, in init File "sounddevice.py", line 817, in init File "sounddevice.py", line 2660, in _get_stream_parameters File "sounddevice.py", line 569, in query_devices sounddevice.PortAudioError: Error querying device -1

goenyan commented 9 months ago

It can't load the list of audio devices. Have you try to run it as Administrator?

XB1TZ commented 9 months ago

Yeah. The same happens.