#8437 Application started at 2026-10-24 19:59:11 Loading resources...Loading main window...Initializing UI...SetupUI end...imp

203.218**0 Posted at: 1 hour ago


Application started at 2026-10-24 19:59:11

Loading resources...
Loading main window...
Initializing UI...
SetupUI end...
import recognition ...
import tts ...
import translate ...
Get cache ...
Set default value ...
import voices list ...
Set tts voice ...
[DEBUG] Version: v4.17, Frozen:True, OS: win32
上次缓存的角色:No,字幕嵌入类型:2,发音语言:en,目标语言:zh-cn,目标语言代码:None,模型:large-v3-turbo,TTS渠道[0]
show main window ...
[DEBUG] app_cfg.proxy='http=127.0.0.1:7897;https=127.0.0.1:7897;socks=127.0.0.1:7897'
[DEBUG] 无法连接 huggingface.co, 使用镜像替换: hf-mirror.com
[DEBUG] 平台: Windows。正在按优先级检测最佳的 'h264' 编码器: ['nvenc', 'qsv', 'amf']
Bind signal...
set cursor...
end
[DEBUG] 正在测试编码器是否可用: h264_nvenc...
[DEBUG] 可用 Nvidia 显卡数: 1
[DEBUG] 找到 1 个 Nvidia GPUs, 耗时: 3s
[DEBUG] cpu_count=12,app_cfg.MAX_GPU_PROCESS=1, app_cfg.MAX_CPU_PROCESS=1, task_nums=1
[DEBUG] start 9 jobs
[DEBUG] 硬件编码器 'h264_nvenc' 可用。
[DEBUG] 264已选择硬件编码器: h264_nvenc
[DEBUG] 最终264确定使用的编码器: h264_nvenc
[DEBUG] 上次缓存的265
......
ling it.
[ERROR] Failed to parse: http=127.0.0.1:7897;https=127.0.0.1:7897;socks=127.0.0.1:7897
Traceback (most recent call last):
File "urllib3\util\url.py", line 423, in parse_url
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
File "requests\adapters.py", line 453, in get_connection_with_tls_context
File "requests\utils.py", line 985, in prepend_scheme_if_needed
File "urllib3\util\url.py", line 449, in parse_url
urllib3.exceptions.LocationParseError: Failed to parse: http=127.0.0.1:7897;https=127.0.0.1:7897;socks=127.0.0.1:7897

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 35, in run
File "videotrans\task\job.py", line 136, in process_task
File "videotrans\task\translate_srt.py", line 47, in trans
File "videotrans\translator\_runner.py", line 71, in run
File "videotrans\translator\_base.py", line 79, in run
File "videotrans\translator\_base.py", line 117, 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 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_microsoft.py", line 49, in _item_task
File "requests\api.py", line 115, in post
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 614, in send
requests.exceptions.InvalidURL: Failed to parse: http=127.0.0.1:7897;https=127.0.0.1:7897;socks=127.0.0.1:7897

1 Replies

#1 DeepSeek reply at 1 hour ago

这是代理地址格式错误导致的。日志中代理值为 http=127.0.0.1:7897;https=127.0.0.1:7897;socks=127.0.0.1:7897,这是系统环境变量格式,软件无法解析,因此 Google 和微软翻译均报 Failed to parse / InvalidURL。

解决方案

  1. 打开主界面「对齐控制」行右侧的网络代理文本框,清空其中现有内容。
  2. 按软件要求的格式重新填写,只写一个地址,例如:

    http://127.0.0.1:7897

    (确认为 http://IP:端口 或 socks5://IP:端口 格式,不要使用 http=...;https=... 这种分号拼接写法)

  3. 确认本地代理软件已启动,且端口 7897 正确。
  4. 若不使用代理(例如改用无需代理的 Microsoft(免费) 或 AI 渠道),请将代理框完全留空后重新执行。填写无效代理会导致所有网络请求失败。

修正后重新点击开始执行,建议先勾选 清理已生成。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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

Related resource