#6137 Failed to parse: http=127.0.0.1:7890;https=127.0.0.1:7890;socks=127.0.0.1:7890[字节语音大模型极速版, Google(免费), Elevenlabs.io]Tr

210.3* Posted at: 12 hours ago

Failed to parse: http=127.0.0.1:7890;https=127.0.0.1:7890;socks=127.0.0.1:7890[字节语音大模型极速版, Google(免费), Elevenlabs.io]
Traceback (most recent call last):
File "urllib3\util\url.py", line 423, in parse_url

host, port = _HOST_PORT_RE.match(host_port).groups()  # type: ignore[union-attr]

AttributeError: 'NoneType' object has no attribute 'groups'

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

Traceback (most recent call last):
File "requests\adapters.py", line 610, in send

conn = self.get_connection_with_tls_context(

File "requests\adapters.py", line 453, in get_connection_with_tls_context

proxy = prepend_scheme_if_needed(proxy, "http")

File "requests\utils.py", line 985, in prepend_scheme_if_needed

parsed = parse_url(url)

File "urllib3\util\url.py", line 449, in parse_url

raise LocationParseError(source_url) from e

urllib3.exceptions.LocationParseError: Failed to parse: http=127.0.0.1:7890;https=127.0.0.1:7890;socks=1
......
name='34', basename='34.mp4', ext='mp4', target_dir='D:/shipin2222/34-mp4/ru', shared_target_dir='D:/shipin2222/34-mp4', cache_folder='D:/pyvideotrans/tmp/18600/e23fade540-ru', is_cuda=False, source_language='简体中文', source_language_code='zh-cn', source_sub='D:/shipin2222/34-mp4/zh-cn.srt', source_wav='D:/shipin2222/34-mp4/_shared/zh-cn.wav', source_wav_output='D:/shipin2222/34-mp4/zh-cn.m4a', target_language='俄罗斯语', target_language_code='ru', target_sub='D:/shipin2222/34-mp4/ru/ru.srt', target_wav='D:/pyvideotrans/tmp/18600/e23fade540-ru/target.wav', target_wav_output='D:/shipin2222/34-mp4/ru/ru.m4a', translate_type=0, tts_type=20, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Roger - Laid-Back Casual Resonant', voice_role_auto_mode=True, voice_autorate=True, video_autorate=True, dubbing_thread_workers=2, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', recogn_type=8, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=True, nums_diariz=0, rephrase=0, fix_punc=0, target_language_pairs=[{'language': '俄罗斯语', 'code': 'ru'}, {'language': '哈萨克语', 'code': 'kk'}], target_languages=['俄罗斯语', '哈萨克语'], target_language_codes=['ru', 'kk'], multi_target_language_serial=True, multi_target_language_workers=0, resolved_multi_target_language_workers=2, stage_parallel_workers=2, video_slow_clip_workers=2, process_name='34.mp4 - 俄罗斯语', subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='D:/shipin2222/34-mp4/ru/34.mp4', novoice_mp4='D:/pyvideotrans/tmp/18600/e23fade540-ru/novoice.mp4', is_separate=True, embed_bgm=True, instrument='D:/shipin2222/34-mp4/_shared/instrument.wav', vocal='D:/shipin2222/34-mp4/_shared/vocal.wav', clear_cache=False, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:zh
root_dir:D:/pyvideotrans

1 Replies

代理地址格式错误。你填写的 http=127.0.0.1:7890;https=127.0.0.1:7890;socks=127.0.0.1:7890 不被软件支持。pyVideoTrans 仅接受单个代理 URL,如 http://127.0.0.1:7890socks5://127.0.0.1:7890,不支持用分号同时指定多个协议。

解决方案:

  1. 清空代理:如果不需要代理(例如只使用国内渠道),将主界面「网络代理」文本框完全清空,然后重试。
  2. 正确填写:只填写一个有效的代理地址,例如 http://127.0.0.1:7890(注意去掉 http= 和后续分号部分)。软件会自动将此代理应用于 HTTP 和 HTTPS 请求。
  3. 改用无需代理的翻译渠道:Google 翻译在国内需代理。若不愿配置代理,可将翻译渠道切换为「微软翻译(Microsoft)」,该渠道无需代理即可使用。
注意:若使用代理后仍报错,请确认代理服务本身运行正常且端口正确。

请查阅相关文档:

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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource