translate-tools / linguist

Translate web pages, highlighted text, Netflix subtitles, private messages, speak the translated text, and save important translations to your personal dictionary to learn words even offline
https://linguister.io
BSD 3-Clause "New" or "Revised" License
675 stars 21 forks source link

TypeError: Invalid type #506

Open spcfox opened 1 month ago

spcfox commented 1 month ago

Description

Sometimes the translation ends with an error:

Uncaught (in promise) TypeError: Invalid type
    at yr (contentscript.js:2:313244)
    at contentscript.js:2:316449

Configuration

Sent to email linguist-support@vitonsky.net

Environment

Linguist version: 6.0.1 Browser: Brave Browser version: 1.68.137 Chromium: 127.0.6533.100

vitonsky commented 1 month ago

Where you see this error, and when this problem occurs? Could you add steps to reproduce.

spcfox commented 1 month ago
  1. I select the text and click the translate button
  2. A rotating icon appears
  3. In most cases, a popup with the translation appears after this, but sometimes the loading icon just disappears
  4. After it disappears, I open the console in the browser and see an error

This happens quite rarely, and I don’t know how to reliably reproduce it

vitonsky commented 1 month ago

@spcfox i did not received email with config, could you send again to support@linguister.io

The config are essential, to debug your problem

spcfox commented 1 month ago

@vitonsky Done