Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while downloading voices using voice manager #10

Open
bdorer opened this issue Nov 3, 2024 · 0 comments
Open

Issue while downloading voices using voice manager #10

bdorer opened this issue Nov 3, 2024 · 0 comments

Comments

@bdorer
Copy link

bdorer commented Nov 3, 2024

STR: Try to download any German voice using the manager.
Actual result: The download is canceled because of the following traceback:
ERROR - external:globalPlugins.sonata_tts_global_plugin.voice_download.PiperVoiceDownloader.done_callback (13:35:06.338) - ThreadPoolExecutor-0_0 (29296):
Failed to download voice.
Exception: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)
Traceback (most recent call last):
File "C:...\nvda\addons\sonata_neural_voices\synthDrivers\sonata_neural_voices\lib\mureq.py", line 167, in yield_response
conn.request(method, path, headers=headers, body=body)
File "http\client.pyc", line 1303, in request
File "http\client.pyc", line 1349, in _send_request
File "http\client.pyc", line 1298, in endheaders
File "http\client.pyc", line 1058, in _send_output
File "http\client.pyc", line 996, in send
File "http\client.pyc", line 1475, in connect
File "ssl.pyc", line 517, in wrap_socket
File "ssl.pyc", line 1104, in _create
File "ssl.pyc", line 1382, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:...\nvda\addons\sonata_neural_voices\globalPlugins\sonata_tts_global_plugin\voice_download.py", line 310, in _done_callback_wrapper
result = future.result()
^^^^^^^^^^^^^^^
File "concurrent\futures_base.pyc", line 449, in result
File "concurrent\futures_base.pyc", line 401, in __get_result
File "concurrent\futures\thread.pyc", line 58, in run
File "C:...\nvda\addons\sonata_neural_voices\globalPlugins\sonata_tts_global_plugin\voice_download.py", line 276, in download_voice_files
result = self._do_download_file(file, self.temp_download_dir.name, self.update_progress)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:...\nvda\addons\sonata_neural_voices\globalPlugins\sonata_tts_global_plugin\voice_download.py", line 290, in _do_download_file
return cls._do_download_file(file, download_dir, progress_callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:...\nvda\addons\sonata_neural_voices\globalPlugins\sonata_tts_global_plugin\voice_download.py", line 287, in _do_download_file
with request.yield_response('GET', file.download_url) as response:
File "contextlib.pyc", line 137, in enter
File "C:...\nvda\addons\sonata_neural_voices\synthDrivers\sonata_neural_voices\lib\mureq.py", line 174, in yield_response
raise HTTPException(str(e)) from e
http.client.HTTPException: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant