Open JohanLeirnes opened 6 years ago
@bhaap I also get this error. Thank you for documenting it.
Chrome 64 HomeAssistant 0.64.2
I can't reproduce this.
Do you load customui via customizer as local / hosted? or via extra_html_url?
If you use customizer, could you try to replace local
with debug
?
If you use extra_html_url try https://raw.githubusercontent.com/andrey-git/home-assistant-custom-ui/master/state-card-custom-ui-dbg.html
This is the responding error I now get after changing local
to debug
.
2018-03-02 14:28:56 ERROR (MainThread) [frontend.js.latest.201802270] http://hass:8123/frontend_latest/core-363542209d478158788109f8cf3068e8.js:1:6882 Uncaught TypeError: Cannot read property 'attributes' of undefined
I get this error too. On two hosts. Same versions on each. Latest while running 0.64.3
Everyone, those might be separate issues: one in customui and one in core.js
@finish06 could you confirm you get an error in customui when you use local
?
@andrey-git It was when using local.
customizer:
custom_ui: debug
Since changing the custom_ui to debug, the error has not occurred.
Does it come back when you change it back to local
?
In any case
http://hass:8123/frontend_latest/core-363542209d478158788109f8cf3068e8.js:1:6882 Uncaught TypeError: Cannot read property 'attributes' of undefined
is expected when opening a non-existing view, i.e:
http://hass:8123/states/bad_view_name
So in the latest release im getting this again. I switched from using extra_html_url to using customizer and that fixed the issue. atleast for a day. (the other time I switched from custumizer to extra_html_url and that fixed it until this latest hass release) Now im getting this error again. But only on certain views.
Here is a video of me showing the error. https://youtu.be/WAhtL6uIeaQ
I get this error too my platfrom: windows 8 HA0.77
my config:
homeassistant:
name: Homebolin
latitude: 29.084455
longitude: 119.654027
elevation: 7
unit_system: metric
time_zone: Asia/Shanghai
customize_glob: ".": custom_ui_state_card: state-card-custom-ui-es5
customizer: custom_ui: local hide_attributes:
frontend: extra_html_url:
config: history: logbook:
Checklist
Chrome - 64
20180216
0.64.1
Getting this error whenever i load the frontend: 2018-03-01 16:21:21 ERROR (MainThread) [frontend.js.latest.201802090] https://yeitso.duckdns.org:8001/local/custom_ui/state-card-custom-ui.html:1:3665 Uncaught TypeError: Cannot read property 'querySelectorAll' of null