#6129 ErrorTraceback(most recent call last):File "urllib3\utillurl.py", line 423, in parse urlAttributeError: 'NoneType object

38.113* Posted at: 14 hours ago

Error
Traceback(most recent call last):
File "urllib3\utillurl.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 "requestsadapters.py", line 453, in
get connection with tls context
File "requestslutils,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:7890;https=127.0.0.1:7890:socks=127.0.0.1:7890
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\taskonly one.py", line 73, in run
File "videotransltask\ stage translate.py", line 31, in trans
File "videotrans\translator\ runnerpy", line 54, in run
File "videotrans\translatorl base.py", line 68, in run
File "videotrans\translatorl base.py", line 107,in run text
File "tenacity\ init .py", line 338, in wrapped f
File "tenacity\
init .py", line 477,in call.
File "tenacity
py", line 378, in iter
init
File "tenacity\ init .py", line 400, in slambda>
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\translatorl google,py", line 29, in item task
File "requestslapi.py", line 73, in get
File "requestslapi.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:7890:https=127.0.0.1:7890:socks=127.0.0.1:7890
During handling of the above exception, another exception occurred:
Traceback(most recent call last):
File "videotransltasklonly one.py", line 147, in run
File "videotrans\configurelexcepts.py", line 352, in
get msg from except
File "videotrans\configurelexcepts.py", line 247, in
AttributeError: 'InvalidURL' object has no attribute 'message.

1 Replies

这个错误是因为网络代理设置格式错误导致的。当前填写的内容为 http=127.0.0.1:7890;https=127.0.0.1:7890;socks=127.0.0.1:7890,但软件只接受单一代理地址,正确格式应为 http://127.0.0.1:7890socks5://127.0.0.1:7890

请按以下步骤解决:

  1. 打开主界面,找到网络代理输入框(通常在翻译视频或音频的第5行附近)。
  2. 清空代理输入框,如果不需要代理则留空并保存;如果需要代理,只填写一个地址,例如 http://127.0.0.1:7890
  3. 点击保存后重新执行任务。

如果问题仍未解决,请提供软件左上角的版本号以及 logs/ 目录下最新的日志文件(约最后30行)以便进一步分析。

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