Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google翻译出现了No scheme included in URL #1

Open
rh10hd opened this issue Jul 20, 2024 · 1 comment
Open

Google翻译出现了No scheme included in URL #1

rh10hd opened this issue Jul 20, 2024 · 1 comment

Comments

@rh10hd
Copy link

rh10hd commented Jul 20, 2024

谢谢大佬写的workflow,我在使用Google翻译的时候出现了如下问题,请问要怎么解决呢?还是只是我的VPN不行?Deepl翻译是正常的。感谢回复。

[16:35:19.538] Logging Started...
[16:35:24.755] Translate It[Script Filter] Queuing argument 's'
[16:35:25.054] Translate It[Script Filter] Script with argv 's' finished
[16:35:25.058] ERROR: Translate It[Script Filter] Code 1: Traceback (most recent call last):
File "/Users/agony/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.9BD1C2A4-2E64-4388-8407-34829C150EBB/translate.py", line 99, in
translator = Translator()
^^^^^^^^^^^^
File "/Users/agony/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.9BD1C2A4-2E64-4388-8407-34829C150EBB/libs/googletrans/client.py", line 61, in init
self.client = httpx.Client(http2=http2)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/agony/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.9BD1C2A4-2E64-4388-8407-34829C150EBB/libs/httpx/_client.py", line 467, in init
proxy_map = self.get_proxy_map(proxies, trust_env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/agony/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.9BD1C2A4-2E64-4388-8407-34829C150EBB/libs/httpx/_client.py", line 88, in get_proxy_map
key: Proxy(url=url)
^^^^^^^^^^^^^^
File "/Users/agony/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.9BD1C2A4-2E64-4388-8407-34829C150EBB/libs/httpx/_config.py", line 335, in init
url = URL(url)
^^^^^^^^
File "/Users/agony/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.9BD1C2A4-2E64-4388-8407-34829C150EBB/libs/httpx/_models.py", line 90, in init
raise InvalidURL("No scheme included in URL.")
httpx._exceptions.InvalidURL: No scheme included in URL.

@yinan-c
Copy link
Owner

yinan-c commented Jul 23, 2024

这个真不清楚,很有可能是代理的问题。我的 Google 没啥问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants