-
Notifications
You must be signed in to change notification settings - Fork 51
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
Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node' #47
Comments
Are you getting timeouts loading tiles? |
I'm getting this same issue. Doing some research leads me to believe it may have something to do with Angular. |
I'm getting this issue too without Angular. I think that head.removeChild(script) is sometimes executed twice. On second call, script is not in the head anymore and an error is thrown : window[wk][functionName] = function (data) { self._cache[key] = data; delete window[wk][functionName]; head.removeChild(script); self._finish_request(key); }; this._queue_request(key, url, function () { head.appendChild(script); return { abort: function () { head.removeChild(script); // THIS LINE is executed BEFORE the other removeChild that is executed too. The issue is then ONLY showing when abort is requested. } }; }); I'm not sure exactly WHEN ABORT is needed (when timeout occures then tiles were not completly loaded I think), but I'm getting this error when I zoomIn and immediately zoomOut. Not leaving enough time to load tiles correctly (but server serves 200 response code - no timeout problem). It would probably worth testing if childNode exist before attempting deletion to avoid this error. |
We're also getting this error from the Windshaft example viewer: https://github.com/CartoDB/Windshaft/tree/master/examples/viewer |
This fixed the problem for me
for
|
Addresses issue danzel#47
I receive this error ocassionally.
This is the code:
The text was updated successfully, but these errors were encountered: