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

1682151017 #58

Closed
kuangxiaoye opened this issue Nov 19, 2021 · 1 comment
Closed

1682151017 #58

kuangxiaoye opened this issue Nov 19, 2021 · 1 comment

Comments

@kuangxiaoye
Copy link

CNKI.JS在正常使用中突然遇到如下报错·····debug了一晚上也没有解决 😿

messaging_inject.js:79 Uncaught (in promise) Error: Failed to fetch code for translator undefined
at Object.getTranslatorCode (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/repo.js:153)
at async Object.getCodeForTranslator (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/translators.js:121)
(anonymous) @ messaging_inject.js:79
Promise.then (async)
(anonymous) @ promise.js:46
Zotero.Translate.Import._loadTranslator @ translate.js:2335
(anonymous) @ translate.js:1318
Promise.then (async)
(anonymous) @ translate.js:1316
(anonymous) @ promise.js:36
safeTranslator.translate @ translate.js:381
eval @ VM542:330
eval @ VM542:65
(anonymous) @ utilities_translate.js:369
Promise.then (async)
doPost @ http.js:235
Zotero.Utilities.Translate.doPost @ utilities_translate.js:353
(anonymous) @ translate_inject.js:89
getRefWorksByID @ VM542:43
scrape @ VM542:238
doWeb @ VM542:233
rest @ translate.js:1356
(anonymous) @ translate.js:1346
Promise.then (async)
(anonymous) @ translate.js:1346
(anonymous) @ promise.js:36
Zotero.Translate.Web._translateTranslatorLoaded @ translate.js:2116
(anonymous) @ translate.js:1325
Promise.then (async)
(anonymous) @ translate.js:1325
(anonymous) @ promise.js:36
Zotero.Translate.Web.translate @ translate.js:2107
translate @ inject.js:409
async function (async)
translate @ inject.js:371
(anonymous) @ inject.js:676
messageListener @ messaging_inject.js:122
(anonymous) @ messaging_inject.js:132
messaging_inject.js:79 Uncaught (in promise) Error: Failed to fetch code for translator undefined
at Object.getTranslatorCode (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/repo.js:153)
at async Object.getCodeForTranslator (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/translators.js:121)

@kuangxiaoye kuangxiaoye changed the title CNKI.JS error 😿 1682151017 Nov 19, 2021
@kuangxiaoye
Copy link
Author

重新导入了js文件 解决问题

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

1 participant