-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Error while loading page lovelace. on 2024.6.0 #21004
Comments
Having this same issue on my Fire tablets used as dashboards around the house. Moving back to 2024.5.5 brings all of my tablets back to full working state with zero configuration adjustments required. |
same issue with Home Assistant app on Galaxy S23+ (current Android and patches) and Galaxy Tab 9 (current Android and patches), starting with 2024.5 as far as I can remember |
Same issue using Kiosker kiosk browser or iPad Safarai browser on an older iPad. Error loading page on all pages after sign-in. |
I have the same issue on iPad with 13.5.7 iOS and 2024.6.0 HA core installed. Lovelace no longer loads. |
+1 - HAR file available for debugging in the duplicate bug #21015 |
I am facing the same issue on iPad mini 2 (iPadOS 12.5.7) on 2024.6.0 |
Same on older ipad mini, I kept this tablet specifically to access the HA app and not have another electronic device end up in a landfill. I hope they fix it. Edit: Happens on Chrome and HA app. |
Same here on old iPad Air |
I have the same problem. After update to 2024.6.0. Before with the latest 2024.5.x it was no problem |
Same problem on old iPad - had to revert to a 2024.5.5 backup to be able to use my dashboard again. |
I can confirm this problem has started appearing on the IOS companion app after the last update. IOS version 12.5.7 |
Sadly 2024.6.1 patch did not fix this.....roll back time again! |
Tx! So waiting... |
I hope this gets a fix in upcoming patches. |
If anyone could post the stack trace of the error, similar to what was done in #20697, that would be helpful. |
Ho do I acquire it from HA?
Il dom 9 giu 2024, 13:09 Simon Lamon ***@***.***> ha scritto:
… If anyone could post the stack trace of the error, similar to what was
done in #20697 <#20697>,
that would be helpful.
—
Reply to this email directly, view it on GitHub
<#21004 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASQQVSK2VFRHSASVVL3Z3TLZGQZWNAVCNFSM6AAAAABI3R63QSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGQ2DMNJSGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Also had to downgrade to 2024.5.5 |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Folks, I can look into this, but from a volunteer developer perspective, it would be helpful if:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@lispington thank you for the text, but we're looking for the error and trace from the browser, not from the HA core log. Try to open in the browser, press F12 to get the console, and the error(s) should be there. |
Here is the har file https://github.com/user-attachments/files/15685653/homeassistant.local.webarchive.zip |
@steveworkman I get errors trying to load it. Again, just the text of the error and stack would be appreciated. |
This is where the sourcemap resolves the error to the Its called from Futher down the stack it comes from this code in the if (shouldPolyfillDateTimeFormat(locale)) {
polyfills.push(
import("@formatjs/intl-datetimeformat/polyfill-force").then(() =>
polyfillTimeZoneData()
)
);
} |
I have several Android tablets throughout the house running FullyKiosk, the tablets are running several different dashboards. As of 2024.6.0, some of the dashboards work on all the tablets, and the others don't work on any of the tablets. So there is something specific on some dashboards that is making them fail. All the dashboards use Browser-Mod and Custom Button Cards, everything else is pure HA. |
Given that it's failing at What I don't understand is why that would be a Promise at all. Inside formatjs that should be a I can't see any open issues on formatjs about this, so I'm assuming it's the ES5 bundle. Update: I can see that the ecma402-abstract library code is being loaded (chunk 45959) before it is being used, and yet still saying that it's a promise... |
@nickcmaynard and @steveworkman that's the awesome info I needed. I have some suspicions as to what's happening here but I won't be able to dig in until later tonight. I think this is maybe a bug in the order we polyfill |
Just a quick update.... I can reproduce the problem myself now, but still tracking down the root cause. I'll pick it up again tomorrow. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
PR #21074 is in to fix this. Should come in 2024.6.3. |
Thank you for the work @steverep - sent a couple bucks your way to help in your efforts (which I now realize are broader and more amazing than this silly bug). Kudos! |
Where do we donate, thank you so much! |
Click his name and look for options to sponsor him. After reading about the cool accessibility work he's doing and feeling inferior for your own contributions to humanity. |
Thanks, found it, @steverep: thanks for your efforts! |
Great work @steverep - if you have some more gnarly UI bugs, let me know, it was pretty fun to get stuck into this codebase |
Thank you, doing this now, it's so much appreciated, another device kept out of the landfills! |
Thanks a lot. Were some unit tests added so this bug doesn't show up a third time? 🧪 |
I was thinking the same too, but wasn't sure how to word it. Maybe to clarify, although these were "technically" different bugs, the main issue is that some of OS's are not being tested against. I hope this doesn't end up with older devices becoming unsupported. They are so useful for kiosk type uses. Mine is in the kitchen on the fridge and used by the whole family. |
As I said above, although the symptom looked the same, this was not a second regression of the same bug. The first was an error in a dependency that I maintain which is now tested. This one is more difficult to test.
Actually, none are tested. Lack of end to end testing is something I'm working on right now.
There's no plan to drop such support, and developers are well aware of such uses. These bugs happened because of optimizing our legacy browser build for better performance (so the opposite of dropping support). |
2024.6.3 WORKING with iOS 12.5.7 |
Confirm, it’s working now.Thank youInviato da iPhoneIl giorno 16 giu 2024, alle ore 00:55, Rsan ***@***.***> ha scritto:
2024.6.3 WORKING with iOS 12.5.7
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
An error still exists on up-to-date Android devices like Samsung Galaxy Tab 9 or Samsung Galaxy S23+. The settings dashboard shows All other dashboards (even the developer dashboard) work well. As I already pointed out there seems to be no possibility to track the problem down, as neither the browsers nor the Home Assistand app provide any messages, trace logs or similar. As this might be important: language setting is German. PS: The settings dashboard is displayed correctly in any browser under Windows 11. |
@rlause if you are only experiencing a problem loading the Settings page and no others, then this is not the same issue. Please open a new one (or perhaps find another that better matches). |
@steverep Fortunately, after an automatic reload of the frontend (Home Assistant app) this morning the settings dashboard works again (after a long time). Well, let me thank you for your efforts even if there is a chance that you are not responsible for this "sudden healing". |
Anyone still experiencing issues with the homepage? I get the same error |
Checklist
Describe the issue you are experiencing
Error -
"error while loading page lovelace"
Issue exists on:
Issue does not exist on:
Describe the behavior you expected
To use the UI as per normal
Steps to reproduce the issue
1.Upgrade to 2024.6.0
2.Logging into old ipad running iOS 12.5.7
see #20697 for previous issue
...
What version of Home Assistant Core has the issue?
2024.6.0
What was the last working version of Home Assistant Core?
latest 2024.5.x
In which browser are you experiencing the issue with?
home assistant companion 2023.2
Which operating system are you using to run this browser?
iOS 12.5.7
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: