LG-WebOS-Remote-Control icon indicating copy to clipboard operation
LG-WebOS-Remote-Control copied to clipboard

Error in Log: lg-remote-control-editor" has already been used

Open nicknol opened this issue 1 year ago • 7 comments

Every now and then I get the following error in the HA logs

Uncaught error from Firefox 121.0 on Windows 10 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "lg-remote-control-editor" has already been used with this registry 87659/</window.CustomElementRegistry.prototype.define (src/scoped-custom-element-registry.js:44:14) ct/< (/hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js:30:100) t (/hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js:1:250) /hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js:272:27

I'm running version 2.0.2 of LG WebOS Remote Control.

nicknol avatar Jan 13 '24 07:01 nicknol

Same Error, same LG WebOS Remote Control Version.

k-a-r-g avatar Jan 21 '24 19:01 k-a-r-g

Same for me:

2024-07-21 13:40:40.519 ERROR (MainThread) [frontend.js.latest.202407100] Uncaught error from WebKit 605.1.15 on iOS 17.5.1
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "lg-remote-control-editor" has already been used with this registry
message (node_modules/core-js/modules/web.dom-exception.stack.js:25:24)
src/scoped-custom-element-registry.js:45:10
/hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js:30:106
t (/hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js:1:251)
module code (/hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js:272:28)
2024-07-21 13:53:07.485 ERROR (MainThread) [frontend.js.latest.202407100] Uncaught error from Chrome WebView 126.0.6478.134 on Android 12
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "lg-remote-control-editor" has already been used with this registry
window.CustomElementRegistry.define (src/scoped-custom-element-registry.js:44:14)
/hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js:30:100
t (/hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js:1:250)
/hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js:272:27

Is it this repo code issue or HACS itself? Or maybe just HA?

piotrtobolski avatar Jul 22 '24 05:07 piotrtobolski

Same here. Is there already a fix known?

h4nnes avatar Jul 26 '24 12:07 h4nnes

Same error in logs for me, HA version 2024.7.3

pico1881 avatar Jul 27 '24 16:07 pico1881

Same error for me on version 2024.8.3, do we know any solutions ?

domodominik avatar Aug 26 '24 14:08 domodominik

Same here and integration doesn't work at all... Running 2.0.3 and HA 2024.8.3

homecowboy avatar Aug 30 '24 21:08 homecowboy

Same here and integration doesn't work at all... Running 2.0.3 and HA 2024.8.3

UPDATE: I tried to unistall reinstall the device and all work. The original installation of device and integration was on YAML and then migrated to UI. I don't know if this matters... It has worked for months

homecowboy avatar Aug 30 '24 21:08 homecowboy