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

mac12.4 工作流不可用 #114

Open
kevin-lucifer opened this issue Aug 10, 2022 · 2 comments
Open

mac12.4 工作流不可用 #114

kevin-lucifer opened this issue Aug 10, 2022 · 2 comments

Comments

@kevin-lucifer
Copy link

image
mac升级之后一直不能用,alfred已经升级到5.0.1,有道的workflow也是最近支持python3版本:有道翻译 Workflow v3.0.0

debug打出来的url在浏览器里面是能正常返回的,但日志打500错误。url就不发了,有key信息,返回结果:

{"returnPhrase":["started"],"query":"Started","errorCode":"0","l":"en2zh-CHS","tSpeakUrl":"https://openapi.youdao.com/ttsapi?q=====这部分我码掉了=========
d&ttsVoiceStrict=false","web":[{"value":["打响","起家","开始","已启动"],"key":"Started"},{"value":["开始","初步洽谈","新手入门"],"key":"Getting started"},{"value":["一吻定情","爱从一个吻开始","恶作剧2吻"],"key":"It Started With a Kiss"}],"requestId":"3d6faa77-8d80-4685-b1ca-1766b165d59b","translation":["开始"],"dict":{"url":"yddict://m.youdao.com/dict?le=eng&q=Started"},"webdict":{"url":"http://mobile.youdao.com/dict?le=eng&q=Started"},"basic":{"exam_type":["高中"],"us-phonetic":"ˈstɑːrtɪd","phonetic":"ˈstɑːtɪd","uk-phonetic":"ˈstɑːtɪd","uk-speech":"https://openapi.youdao.com/ttsapi?q=Started&langType=en&=====这部分我码掉了=========&voice=5&format=mp3&appKey======这部分我码掉了=========&ttsVoiceStrict=false","explains":["v. 使发生,开始;开动,发动(机器);创立,创始;出发,启程(start 的过去式和过去分词)"],"us-speech":"https://openapi.youdao.com/ttsapi?q=Started&langType=en&sign======这部分我码掉了=========&ttsVoiceStrict=false"},"isWord":true,"speakUrl":"https://openapi.youdao.com/ttsapi?q=Started&langType=en&sign======这部分我码掉了=========&salt======这部分我码掉了=========&voice=4&format=mp3&appKey======这部分我码掉了=========&ttsVoiceStrict=false"}

错误日志:
10:23:42 workflow.py:2314 DEBUG set last run version: 3.0.0
10:23:42 workflow.py:2137 DEBUG ---------- finished in 0.442s ----------
10:23:42 connectionpool.py:948 DEBUG Starting new HTTPS connection (1): sentry.io:443
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
[10:23:44.705] Youdao[Script Filter] {
"items": [
{
"title": "500 \u6709\u9053\u7ffb\u8bd1\u5931\u8d25",
"subtitle": "",
"valid": true,
"arg": "3.0.0$%$%$%EN2zh-CHS$%$%error",
"icon": {
"path": "icon_error.png"
}
}
]
}

@kevin-lucifer
Copy link
Author

补充一下,alfred升级到5.0.1了,也不能用,报错和上面一样,工作流用的是最新版本。
能从网易拿到返回,感觉是返回格式变了,解释不出来?debug日志里没堆栈,不知道具体是哪个地方出问题。

@zok2
Copy link

zok2 commented Jul 19, 2023

我是先安装的5.0版本,但是突然不能用了

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