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

今天我下载了一个最新的版本 覆盖了我之前的版本 不知道什么原因直接不能翻译了 #77

Open
hermitcai opened this issue Jan 30, 2021 · 33 comments

Comments

@hermitcai
Copy link

No description provided.

@hermitcai
Copy link
Author

image

@xfslove
Copy link
Owner

xfslove commented Feb 1, 2021

麻烦能截一下错误日志

@hermitcai
Copy link
Author

hermitcai commented Feb 1, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 1, 2021

那应该是网络问题

  1. 看一下你的socks代理正常不
  2. 再一个可能代理服务器访问不了translate.google.cn, 换成com试试

@hermitcai
Copy link
Author

hermitcai commented Feb 1, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 1, 2021

你意思是现在你的问题是翻译结果能出现,不过出现的很慢是吗

@hermitcai
Copy link
Author

hermitcai commented Feb 1, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 2, 2021

一直卡住应该是网络问题,网络问题不调试的话确实比较难定位

你能试试在terminal里面能访问到translate.google.com吗

这样curl --socks5 127.0.0.1:7890 https://translate.google.com

@hermitcai
Copy link
Author

hermitcai commented Feb 2, 2021 via email

@hermitcai
Copy link
Author

hermitcai commented Feb 2, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 3, 2021

你这个问题应该和 #73 一样,包冲突了,他那边试着重装了一下

@hermitcai
Copy link
Author

hermitcai commented Feb 3, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 4, 2021

只是说重装起来比较简单,找包冲突的话比较复杂,需要看看你安装的npm包里哪些依赖了parse-json

@hermitcai
Copy link
Author

hermitcai commented Feb 4, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 4, 2021

npm不需要重装,重装一下你安装过的包

@hermitcai
Copy link
Author

hermitcai commented Feb 4, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 4, 2021

npm list -g,都uninstall 再 install一下就好,然后我看你workflow好像是下载的,你也在alfred里面删掉,用npm安装一下

@hermitcai
Copy link
Author

hermitcai commented Feb 4, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 4, 2021

image

你看这个,我这个npm安装了5个包,我就把除了npm之外的包卸载掉npm uninstall -g alfred-google-translate, npm uninstall -g alfred-language-configuration, ...

然后我再重新装一遍``npm install -g alfred-google-translate, npm install -g alfred-language-configration`, ...

image

也不需要重新装alfred,我意思是把alfred-google-translate从alfred workflow里面删除,用上面的命令装一下

@hermitcai
Copy link
Author

hermitcai commented Feb 4, 2021 via email

@hermitcai
Copy link
Author

image
遇到了这个异常

@hermitcai
Copy link
Author

#13
我的alfred的版本是4 但是检测出来是3
如果让我重新安装alfred我在alfred里面记录的标签就都没有了
为什么会alfred是3呢

@hermitcai
Copy link
Author

image
我本地没有3版本的文件
是否可以通过命令指定为4

@hermitcai
Copy link
Author

hermitcai commented Feb 4, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 4, 2021

是支持4的,你全局搜索一下Alfred,看下是不是有Alfred3的缓存sudo find / -iname "*alfred*"

@hermitcai
Copy link
Author

image
我在我的全局搜索过了 确实没有这个3 我反复看过俩次

@hermitcai
Copy link
Author

hermitcai commented Feb 23, 2021 via email

@hermitcai
Copy link
Author

hermitcai commented Feb 23, 2021 via email

@hermitcai
Copy link
Author

手动安装语言包可以了 但是速度还是慢了

@hermitcai
Copy link
Author

hermitcai commented Feb 23, 2021 via email

@xfslove
Copy link
Owner

xfslove commented Feb 24, 2021

手动安装语言包可以了 但是速度还是慢了

👍

慢的问题确实存在,不过最近忙着别的事确实没时间去研究,等看啥时候有空了来看看

@hermitcai
Copy link
Author

hermitcai commented Feb 24, 2021 via email

@hermitcai
Copy link
Author

hermitcai commented Feb 24, 2021 via email

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