#3359 TaskCfg(cache_folder='E:/pyvideotrans/tmp/4124/fdc1098cbe', target_dir='D:/翻译/2010’larda lisede olmak ❤️ tuşlu telefonun

172.195* Posted at: 1 day ago 👁14

翻译字幕阶段出错 [Google(免费)] 代理设置不正确或代理不可用,请检查代理或关闭代理并删掉代理文本框中所填内容
Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn
File "urllib3\util\connection.py", line 85, in create_connection
File "urllib3\util\connection.py", line 73, in create_connection
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

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

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 773, in urlopen
File "urllib3\connectionpool.py", line 1042, in _prepare_proxy
File "urllib3\connection.py", line 753, in connect
File "urllib3\connection.py", line 213, in _new_conn
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

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

urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connecti
......
proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 174, in run
File "videotrans\task\trans_create.py", line 637, in trans
File "videotrans\translator\__init__.py", line 926, in run
File "videotrans\translator\_base.py", line 103, in run
File "videotrans\translator\_base.py", line 124, in _run_text
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_google.py", line 40, in _item_task
File "requests\api.py", line 73, in get
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 671, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: /m?sl=tr&tl=en&hl=en&q=Soteva,%20sen%20akanka.%0AAzra%20ver%20o%20ka%C4%9F%C4%B1d%C4%B1%20bana.%20Hocam.%20Hocam%20bir%20%C5%9Fey%20yok%20dedim%20ama%20hep%20beni%20g%C3%B6r%C3%BCyorsunuz%20%C5%9Fu%20anda.%20Neye%20g%C3%BCl%C3%BCyorsunuz%20b%C3%B6yle?%20Var%20biz%20de%20%C3%B6%C4%9Frenelim.%0AAzra%20telefonu%20da%20ver.%20Ailen%20gelip%20m%C3%BCd%C3%BCr%20yard%C4%B1mc%C4%B1s%C4%B1ndan%20alabilir.%20Hocam.%20Azra%20hadi%20arkada%C5%9Flar%C4%B1n...%0AAma%20hakk%C4%B1n%C4%B1%20yiyorsun%20%C5%9Fu%20anda%20Telefizle%20konu%C5%9Furuz%20kanka (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))
TaskCfg(cache_folder='E:/pyvideotrans/tmp/4124/fdc1098cbe', target_dir='D:/翻译/2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses-mp4', remove_noise=False, is_separate=False, detect_language='tr', subtitle_language=None, source_language='土耳其语', target_language='英语', source_language_code='tr', target_language_code='en', source_sub='D:/翻译/2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses-mp4/tr.srt', target_sub='D:/翻译/2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses-mp4/en.srt', source_wav='E:/pyvideotrans/tmp/4124/fdc1098cbe/tr.wav', source_wav_output='D:/翻译/2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses-mp4/tr.m4a', target_wav='E:/pyvideotrans/tmp/4124/fdc1098cbe/target.wav', target_wav_output='D:/翻译/2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses-mp4/en.m4a', subtitles='', novoice_mp4='E:/pyvideotrans/tmp/4124/fdc1098cbe/novoice.mp4', noextname='2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses', shibie_audio=None, targetdir_mp4='D:/翻译/2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses-mp4/2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=1, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Jenny(Female/US)', copysrt_rawvideo=False, clear_cache=True, translate_type=0, tts_type=0, recogn_type=0, model_name='large-v3-turbo', voice_autorate=True, video_autorate=False, is_cuda=False, name='D:/主素材/2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses.mp4', basename='2010’larda lisede olmak ❤️ tuşlu telefonun çıkardığı o ses.mp4', ext='mp4', dirname='D:/主素材', shound_del_name=None, uuid='fdc1098cbe', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False, fix_punc=False, recogn2pass=True)


=
system:Windows-10-10.0.19045-SP0
version:v3.97
frozen:True
language:zh
root_dir:E:/pyvideotrans

1 Replies

这是由于配置了无效的网络代理,导致软件无法连接到 Google 翻译服务。

  1. 在 pyVideoTrans 主界面,点击右上角的“设置”图标。
  2. 在“网络代理”区域,检查“代理地址”和“代理端口”文本框。
  3. 如果代理不可用或不确定,请清空“代理地址”和“代理端口”文本框中的内容,然后点击“保存”。
  4. 关闭设置窗口,重新尝试翻译任务。

如果问题依旧,请确认你的网络环境本身可以正常访问 Google 翻译服务。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource