Skip to content

Issue while downloading voices using voice manager #10

@bdorer

Description

@bdorer

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions