Dashboard crashing

Everything has been working great and all of a sudden Im getting a 500 server got itself in trouble error. It was working fine for awhile and i havent made a change in awhile. I even went back to use a old dashboard just to check and it is failing as well. I made sure everything was up to date rebooted everything and still? Any ideas whats causing this?

2017-12-10 21:31:02.253189 WARNING ------------------------------------------------------------
2017-12-10 21:31:02.253286 WARNING Unexpected error during DASH creation
2017-12-10 21:31:02.253396 WARNING ------------------------------------------------------------
2017-12-10 21:31:02.255729 WARNING Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/appdaemon/dashboard.py", line 788, in get_dashboard
    dash = self._conditional_compile(name, skin, recompile)
  File "/usr/local/lib/python3.6/site-packages/appdaemon/dashboard.py", line 731, in _conditional_compile
    dash = self._get_dash(name, skin, skindir)
  File "/usr/local/lib/python3.6/site-packages/appdaemon/dashboard.py", line 534, in _get_dash
    dash = self._create_dash(name, css_vars)
  File "/usr/local/lib/python3.6/site-packages/appdaemon/dashboard.py", line 422, in _create_dash
    dash, layout, occupied, includes = self._create_sub_dash(name, "dash", 0, {}, [], 1, css_vars, None)
  File "/usr/local/lib/python3.6/site-packages/appdaemon/dashboard.py", line 506, in _create_sub_dash
    self._add_layout(lay, layout, occupied, dash, page, includes, css_vars, global_parameters)
  File "/usr/local/lib/python3.6/site-packages/appdaemon/dashboard.py", line 396, in _add_layout
    widget["parameters"] = self._load_widget(dash, includes, name, css_vars, global_parameters)
  File "/usr/local/lib/python3.6/site-packages/appdaemon/dashboard.py", line 267, in _load_widget
    if os.path.isdir(os.path.join(self.config_dir, "custom_widgets", widget_type)):
  File "/usr/local/lib/python3.6/posixpath.py", line 92, in join
    genericpath._check_arg_types('join', a, *p)
  File "/usr/local/lib/python3.6/genericpath.py", line 149, in _check_arg_types
    (funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'NoneType'

Nevermind. Im not sure what happened. I recreated the page and its fine

1 Like

500 errors are almost all the time caused by missing parameters in the dashboard.
but it could also be that HA generates something for a value from an entity that the dashboard cant work with.

1 Like