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
704 stars 24 forks source link

TypeError: Invalid type #506

Open spcfox opened 3 months ago

spcfox commented 3 months 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 3 months ago

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

spcfox commented 3 months 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 3 months 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 3 months ago

@vitonsky Done