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

Impacting Wikimedia sites: NotFoundError: Node.removeChild: The node to be removed is not a child of this node #540

Open
jdlrobson opened this issue May 25, 2023 · 4 comments

Comments

@jdlrobson
Copy link

Hi there!
I work at the Wikimedia Foundation and we've been seeing about 20k errors a week due to a mysterious bug that we believe might relate to your code. The issue is tricky for us to filter out as the file URI associated with the errors does not correspond with any browser extension URL so I was wondering if you could help us by finding a way to either fix the problem or allow us to filter it more successfully.

The bug appears as NotFoundError: Node.removeChild: The node to be removed is not a child of this node or NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. and the stack trace if often empty or if we're lucky:

at remove
at jQuery.fn.init.remove
at DDGRuntimeChecks.callback 
at DDGRuntimeChecks.dispatch at elemData.handle 

The issue mostly impacts commons.wikimedia.org file pages e.g.
https://commons.wikimedia.org/wiki/File:Rectangle_%28plain%29.svg or https://commons.wikimedia.org/wiki/File:Mistelbach_Brunnen-20230514-RM-161753.jpg

Any idea what could be happening here?

@dharb
Copy link
Contributor

dharb commented May 26, 2023

Hey @jdlrobson, thanks for the report! Sorry about the noise. We've debugged the issue and we're working on a proper fix. In the meantime I'm going to go ahead and turn the feature causing the errors off for wikimedia.org (see referenced PR above), so you should stop seeing these errors shortly.

@jdlrobson
Copy link
Author

jdlrobson commented May 27, 2023 via email

@sa-ko4969
Copy link

/

@sa-ko4969
Copy link

#540 (comment)

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

3 participants