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

6.0 version not work on chrome 126.0.6478.62 #468

Closed
TUGOhost opened this issue Jun 18, 2024 · 11 comments · Fixed by #471
Closed

6.0 version not work on chrome 126.0.6478.62 #468

TUGOhost opened this issue Jun 18, 2024 · 11 comments · Fixed by #471
Labels
bug Something isn't working

Comments

@TUGOhost
Copy link

My Case

image
chrome version:
image
linguist plugin version:
image

before 6.0 version I can use it.

@vitonsky vitonsky added the bug Something isn't working label Jun 18, 2024
@vitonsky
Copy link
Collaborator

I debug this problem currently, probably this problem due to a new mechanism on background worker that may be terminated any time.

Please give more details you note about this problem. If you close browser, wait 10 seconds, then open it and try to use Linguist - it works fine?

@TUGOhost
Copy link
Author

Sorry,I don't know how to debugg chrom plugin.
I click F12 button:
image

I tried closing Chrome and waiting 10 seconds, then opening the Linguist plugin and it still doesn't work!

@vitonsky
Copy link
Collaborator

@TUGOhost what if you close Chrome browser, and then open after 10 seconds? Problem still there?

@TUGOhost
Copy link
Author

yes, the problem still exists

@vitonsky
Copy link
Collaborator

yes, the problem still exists

I still cannot to reproduce the bug, could you provide some info to debug:

  • What is your OS and version?
  • Which translator you used last time (if you know)
  • Go to chrome://extensions/, then click "Developer mode", then click "service worker" and send screenshot of new window
    image
  • If it possible, could you record your screen (you may use OBS studio) where you close browser, then wait 10-20 seconds, then open Chrome, open some site and click by Linguist icon

@TUGOhost
Copy link
Author

  • OS version: Windows 11 home editor

I click chrome://extensions/ -> Developer mode -> service worker,then show:
image

video:

2024-06-18.195123.mp4

@vitonsky
Copy link
Collaborator

@TUGOhost i think we may have problem with config migrations.

Could you sent your config data, to let me debug a problem:

  • click "service worker" again as in instruction above
  • paste next code: await chrome.storage.local.get().then(data=> JSON.stringify(data)) and press enter
  • copy result string and sent it here or to email linguist-support@vitonsky.net

String that you will copy may contains last texts that you tried to translate, so you may sent it with email to don't disclosure a sensetive data

@vitonsky
Copy link
Collaborator

@TUGOhost if you create a new chrome profile and install Linguist there is it will work fine?

@TUGOhost
Copy link
Author

  • click "service worker" again as in instruction above
  • paste next code: await chrome.storage.local.get().then(data=> JSON.stringify(data)) and press enter
  • copy result string and sent it here or to email linguist-support@vitonsky.net

Don't worry, no sensitive content

image

'{"PageTranslationStorage":{"optionsSpoilerState":false},"PopupWindowStorage":{"activeTab":{"translatePage;translateText":"translateText","translateText":"translateText"}},"TextTranslatorStorage":{"from":"en","to":"zh","translate":{"originalText":"IDAPython was created in 2004 . It was a joint ef f ort by Gergely Erdelyi and Ero Carrera. Their goal was to combine the power of Python with the analysis automation of IDA’s IDC C-like scripting language.IDAPython consists of three separate modules. The f irst is idc . It is a compatibility module f or wrapping IDA’s IDC f unctions. The second module is idautils . It is a high level utility f unctions f or IDA. The third module is idaapi . It allows access to more low level data. This data could be classes used by IDA.","translatedText":"IDAPython 创建于 2004 年。 这是 Gergely Erdelyi 和 Ero Carrera 的共同努力。 他们的目标是将 Python 的强大功能与 IDA 的 IDC C 类脚本语言的分析自动化相结合。IDAPython 由三个独立的模块组成。 第一个是idc。 它是一个兼容模块,用于包装 IDA 的 IDC 功能。 第二个模块是 idautils 。 它是 IDA 的高级实用函数。 第三个模块是 idaapi 。 它允许访问更多低级数据。 该数据可能是 IDA 使用的类."}},"appConfig":{"history":{"enabled":true}},"migrationsInfo":{"dataVersions":{"ConfigStorage":6,"PopupWindowStorage":1,"TextTranslatorStorage":3,"TranslatorCache":3,"autoTranslationPreferences":1},"version":1},"recentUsedLanguages":["zh","auto"]}'

@TUGOhost
Copy link
Author

@TUGOhost if you create a new chrome profile and install Linguist there is it will work fine?

I just uninstalled the Lingust plugin and reinstalled it and it worked again!

@vitonsky
Copy link
Collaborator

@TUGOhost thanks for your report, problem now fixed, a new version with fix will be published soon.
Your report are pretty detailed and been important to debug a problem 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants