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

在ubuntu20.04中双击没有反应呀 #18

Open
wpumain opened this issue Feb 4, 2023 · 3 comments
Open

在ubuntu20.04中双击没有反应呀 #18

wpumain opened this issue Feb 4, 2023 · 3 comments

Comments

@wpumain
Copy link

wpumain commented Feb 4, 2023

No description provided.

@wpumain
Copy link
Author

wpumain commented Feb 4, 2023

pdfTranslator双击这个没有反应

@robinluodh
Copy link

+1,下载编译好的版本打不开,ubuntu18。本人不懂js,不懂互联网。根据我的情况,用源码简单调试了一下发现这个翻译请求的响应码是404?是搜索engine的问题吗,怎么换呢?应如何调整呢,异常是在文件
/pdfTranslator/node_modules/translation.js/dist/tjs.node.common.js
第124行里这个判断函数里抛出的。

@robinluodh
Copy link

+1,下载编译好的版本打不开,ubuntu18。本人不懂js,不懂互联网。根据我的情况,用源码简单调试了一下发现这个翻译请求的响应码是404?是搜索engine的问题吗,怎么换呢?应如何调整呢,异常是在文件 /pdfTranslator/node_modules/translation.js/dist/tjs.node.common.js 第124行里这个判断函数里抛出的。

在index.js将谷歌改成有道之后,异常在上述文件中的第777行附近的body.errorCode判断中抛出。
在index.js将谷歌改成百度之后,异常在上述文件中的第238行附近抛出,不能正确解析出 seed 和 token,则视为服务器错误。

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