Closed felipecrs closed 1 month ago
Thanks. This is from an underlying library that the card uses, will investigate if there's anything that can be done at this end.
If you happen to know what you did to generate that, let me know as it's not in my logs :-(
Same "uncaught type error" here for some time now, even with latest 2023.7.01 update. Also comes with "not an object" error. Hope that helps...
.../hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:2646 Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
.../hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:2646 TypeError: Window.getComputedStyle: Argument 1 is not an object.
If you happen to know what you did to generate that, let me know as it's not in my logs :-(
I still wasn't able to figure out what triggered it, but I'll let you know if I discover.
Thanks. I just don’t know how to drill down to get you more information. But the errors continue to happen.
On Jul 11, 2023, at 9:37 AM, Felipe Santos @.***> wrote:
If you happen to know what you did to generate that, let me know as it's not in my logs :-(
I still wasn't able to figure out what triggered it, but I'll let you know if I discover.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
I did not observe this issue in my logs recently. Note that I am still using Frigate Card v5.2.0. Is anyone else still observing this issue?
On Frigate card 5.2.0 with OS 10.5 and Core 2023.10.1 and errors seems to have gone away!
On Oct 15, 2023, at 10:13 AM, Felipe Santos @.***> wrote:
I did not observe this issue in my logs recently. Note that I am still using Frigate Card v5.2.0. Is anyone else still observing this issue?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
I spoke too soon. 43 occurances over last 24 hrs. Not sure I understand the error message though. I am using Firefox/Mac but it mentions Chrome, Android 9. Where can I look to get more info? [core 2024.1.3, Supervisor 2023.12.1, OS 11.4]
Uncaught error from Firefox 122.0 on Mac OS 10.15 TypeError: Window.getComputedStyle: Argument 1 is not an object. C (/hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:2646) S (/hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:5376) A (/hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:6745) L/< (/hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:7794) Uncaught error from Chrome WebView 114.0.5735.220 on Android 9 TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. C (/hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:2646) S (/hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:5375) A (/hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:6744) /hacsfiles/frigate-hass-card/zoomer-1857311a.js:1:7793 Uncaught error from Firefox 122.0 on Mac OS 10.15 TypeError: e.detail.value is undefined _serviceDataChanged (src/panels/developer-tools/service/developer-tools-service.ts:495:39) _yamlChanged (src/panels/developer-tools/service/developer-tools-service.ts:462:9) call (src/lit-html.ts:2018:28) dispatchEvent (src/common/dom/fire_event.ts:76:7) load (src/components/ha-yaml-editor.ts:135:14) call (src/lit-html.ts:2018:28) dispatchEvent (src/common/dom/fire_event.ts:76:7) Number (src/components/ha-code-editor.ts:299:14) update (node_modules/@codemirror/view/dist/index.js:7065:29) update (node_modules/@codemirror/view/dist/index.js:6949:27)
FYI: I ~accidentally managed to reproduce this while playing around, it seems to happen when the underlying zoom library that the card uses is passed an element that has been removed from the DOM. That in itself shouldn't actually happen, and with the dev
branch at least I can't get it to, but updating this bug as a reminder to myself about what causes the message if people keep having this issue after the next release.
I observed this error again today in my HA logs:
2024-05-24 12:26:06.548 ERROR (MainThread) [frontend.js.latest.202405011] Uncaught error from Chrome WebView 124.0.6367.179 on Android 14
TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
C (/local/custom/frigate-hass-card/zoomer-345c3866.js:1:2646)
S (/local/custom/frigate-hass-card/zoomer-345c3866.js:1:5375)
A (/local/custom/frigate-hass-card/zoomer-345c3866.js:1:6744)
/local/custom/frigate-hass-card/zoomer-345c3866.js:1:7793
I am using 305a2db573d16bb7a91da65e7792b116b12a33b8 atm (dev but not latest dev).
I don't think it's big deal though. But I wonder if it has any relationship with when my card super rarely doesn't load in my kitchen's tablet. I will try looking at the logs if I notice it again.
[Issue cleanup] If you still have issues with this, please try the latest release (https://github.com/dermotduffy/frigate-hass-card/releases/tag/v6.0.0-beta.4) first and re-open this. Thanks and good luck!
I have not noticed this issue recently. Indeed I think it has been fixed.
Checklist:
Release with the issue:
5.2.0
Last working release (if known):
Probably the previous one was working
Browser and Operating System:
This error is in HA logs, so I'm not sure where this was originated from.
Description of problem:
Frigate card diagnostic information
Javascript errors shown in the web inspector (if applicable):
None.
Additional information:
I'm just wondering if this is something to be fixed here.