I have stripped down the dash file but the result is still the same. Here is my complete log again
Sep 11 23:06:26 hassbian systemd[1]: Started AppDaemon.
-- Subject: A start job for unit [email protected] has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit [email protected] has finished successfully.
--
-- The job identifier is 2581.
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.058955 INFO AppDaemon Version 3.0.5 starting
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.059340 INFO Configuration read from: /home/homeassistant/appdaemon/appdaemon.yaml
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.062579 INFO AppDaemon: Starting Apps
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.063358 WARNING config_dir: /home exists, but is not writeable, owner: root
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.068604 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.259706 INFO AppDaemon: HASS: HASS Plugin Initializing
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.260301 INFO AppDaemon: HASS: HASS Plugin initialization complete
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.260738 INFO Starting Dashboards
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.262285 WARNING css: /home exists, but is not writeable, owner: root
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.263546 WARNING javascript: /home exists, but is not writeable, owner: root
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.270127 INFO API is disabled
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.277662 INFO AppDaemon: HASS: Connected to Home Assistant 0.98.3
Sep 11 23:06:27 hassbian appdaemon[8449]: 2019-09-11 23:06:27.311037 INFO AppDaemon: Got initial state from namespace default
Sep 11 23:06:29 hassbian appdaemon[8449]: 2019-09-11 23:06:29.436915 INFO AppDaemon: Reading config
Sep 11 23:06:29 hassbian appdaemon[8449]: 2019-09-11 23:06:29.440416 INFO AppDaemon: /home/homeassistant/appdaemon/apps/apps.yaml added or modified
Sep 11 23:06:29 hassbian appdaemon[8449]: 2019-09-11 23:06:29.441198 INFO AppDaemon: /home/homeassistant/appdaemon/apps/apps.yaml added or modified
Sep 11 23:06:29 hassbian appdaemon[8449]: 2019-09-11 23:06:29.441805 INFO AppDaemon: App 'stardate' added
Sep 11 23:06:29 hassbian appdaemon[8449]: 2019-09-11 23:06:29.442499 INFO AppDaemon: Adding /home/homeassistant/appdaemon/apps to module import path
Sep 11 23:06:29 hassbian appdaemon[8449]: 2019-09-11 23:06:29.443407 INFO AppDaemon: Loading App Module: /home/homeassistant/appdaemon/apps/stardate.py
Sep 11 23:06:29 hassbian appdaemon[8449]: 2019-09-11 23:06:29.452619 INFO AppDaemon: Initializing app stardate using class stardate from module stardate
Sep 11 23:06:29 hassbian appdaemon[8449]: 2019-09-11 23:06:29.560499 INFO stardate: STARDATE:11969.3
Sep 11 23:06:29 hassbian appdaemon[8449]: 2019-09-11 23:06:29.595673 INFO AppDaemon: App initialization complete
Sep 11 23:06:44 hassbian appdaemon[8449]: 2019-09-11 23:06:44.188278 INFO Loading custom skin 'lcars'
Sep 11 23:06:44 hassbian appdaemon[8449]: 2019-09-11 23:06:44.200966 INFO Compiling dashboard 'lcars'
Sep 11 23:06:44 hassbian appdaemon[8449]: 2019-09-11 23:06:44.429941 WARNING Variable definition not found in CSS Skin variables: $label_state_text_style
Sep 11 23:06:44 hassbian appdaemon[8449]: 2019-09-11 23:06:44.442627 WARNING ------------------------------------------------------------
Sep 11 23:06:44 hassbian appdaemon[8449]: 2019-09-11 23:06:44.442846 WARNING Unexpected error during DASH creation
Sep 11 23:06:44 hassbian appdaemon[8449]: 2019-09-11 23:06:44.442973 WARNING ------------------------------------------------------------
Sep 11 23:06:44 hassbian appdaemon[8449]: 2019-09-11 23:06:44.444307 WARNING Traceback (most recent call last):
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 818, in get_dashboard
Sep 11 23:06:44 hassbian appdaemon[8449]: dash = self._conditional_compile(name, skin, recompile)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 770, in _conditional_compile
Sep 11 23:06:44 hassbian appdaemon[8449]: dash = self._get_dash(name, skin, skindir)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 573, in _get_dash
Sep 11 23:06:44 hassbian appdaemon[8449]: dash = self._create_dash(name, css_vars)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 455, in _create_dash
Sep 11 23:06:44 hassbian appdaemon[8449]: dash, layout, occupied, includes = self._create_sub_dash(name, "dash", 0, {}, [], 1, css_vars, None)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 545, in _create_sub_dash
Sep 11 23:06:44 hassbian appdaemon[8449]: self._add_layout(lay, layout, occupied, dash, page, includes, css_vars, global_parameters)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 429, in _add_layout
Sep 11 23:06:44 hassbian appdaemon[8449]: widget["parameters"] = self._load_widget(dash, includes, name, css_vars, global_parameters)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 375, in _load_widget
Sep 11 23:06:44 hassbian appdaemon[8449]: final_widget = self._merge_styles(final_widget, name)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 204, in _merge_styles
Sep 11 23:06:44 hassbian appdaemon[8449]: result[key] = self._merge_styles(widget[key], name)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 209, in _merge_styles
Sep 11 23:06:44 hassbian appdaemon[8449]: styles = self._get_styles(widget[key], name, key)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/dashboard.py", line 196, in _get_styles
Sep 11 23:06:44 hassbian appdaemon[8449]: result[pieces[0].strip()] = pieces[1]
Sep 11 23:06:44 hassbian appdaemon[8449]: IndexError: list index out of range
Sep 11 23:06:44 hassbian appdaemon[8449]: 2019-09-11 23:06:44.444589 WARNING ------------------------------------------------------------
Sep 11 23:06:44 hassbian appdaemon[8449]: 2019-09-11 23:06:44.444870 INFO function [get_dashboard] finished in 257 ms
Sep 11 23:06:44 hassbian appdaemon[8449]: Error handling request
Sep 11 23:06:44 hassbian appdaemon[8449]: Traceback (most recent call last):
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 416, in start
Sep 11 23:06:44 hassbian appdaemon[8449]: resp = yield from self._request_handler(request)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/aiohttp/web.py", line 325, in _handle
Sep 11 23:06:44 hassbian appdaemon[8449]: resp = yield from handler(request)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 93, in impl
Sep 11 23:06:44 hassbian appdaemon[8449]: return (yield from handler(request))
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/rundash.py", line 51, in wrapper
Sep 11 23:06:44 hassbian appdaemon[8449]: return await myfunc(*args)
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/appdaemon/rundash.py", line 269, in load_dash
Sep 11 23:06:44 hassbian appdaemon[8449]: return web.Response(text=response, content_type="text/html")
Sep 11 23:06:44 hassbian appdaemon[8449]: File "/srv/appdaemon/lib/python3.7/site-packages/aiohttp/web_response.py", line 471, in __init__
Sep 11 23:06:44 hassbian appdaemon[8449]: type(text))
Sep 11 23:06:44 hassbian appdaemon[8449]: TypeError: text argument must be str (<class 'dict'>)
It seems like an error in the css file? at least it reports a missing variable $label_state_text_style
. I will check this next.
Edit: I checked but I could not find the variable $label_state_text_style
anywhere. Neither any references to it. Its getting weirder and weirder…