chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

bug when using the Edge browser translation plug-in at streaming output

Open spttt opened this issue 1 year ago • 2 comments

Describe the bug When using Edge and enabling the browser translation plug-in, an error will be reported in the foreground during streaming output: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

To Reproduce Steps to reproduce the behavior:

  1. Use edge browser.
  2. Use stream output.
  3. The browser automatically detects that the current page language does not match the browser, pops up a translation, click Translate.
  4. Enter the content and click Send.
  5. The reply content flashes quickly, and then reports an error Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node

Screenshots PixPin_2024-07-03_00-35-41

Desktop (please complete the following information):

  • OS: [e.g. windows]
  • Browser [e.g. edge]

Additional context The webpage works fine without translation enabled.

Another perspective I am using it in a Chinese environment, I have configured the translation file, and the interface translation works well. But when the webpage is opened with Edge, the translation plug-in will mistakenly detect that the webpage is in English, not Chinese.

If it is detected as Chinese normally, the above problems will be solved.

spttt avatar Jul 02 '24 16:07 spttt

I have the same error with Edge and Chrome Browser but not with Safari.

HoMi264 avatar Jul 23 '24 06:07 HoMi264

Hi, I have the same issue in German across multiple browsers. This is causing numerous unnecessary user complaints in production.

WBS-MichaelMeyer avatar Aug 07 '24 14:08 WBS-MichaelMeyer

Hi, I am experiencing the same issue in my environment, which is set to Japanese.

image

matsumoto-hisa avatar Oct 04 '24 08:10 matsumoto-hisa

Same here, also for the language german and deployment in production

steven-ari avatar Oct 23 '24 11:10 steven-ari

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] avatar Jul 17 '25 02:07 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Jul 25 '25 02:07 github-actions[bot]