Dashboards not working

Nice the debug will help thanks for assistance

I think I figured out the problem!

Today I had to learn a lot of python: D and gave to put a lines of debug on Dashboard init put this lines

   ha.log(self.logger, "INFO", "ยปยปยปยปยปยปยปยปยปยปยปยปยปยปยปยป")
   ha.log(self.logger, "INFO", str(js))
   ha.log(self.logger, "INFO", str(self.dashboard_dir))

the output is

Apr 02 15:24:16 hassbian appdaemon[21138]: 2018-04-02 15:24:16.517684 INFO ยปยปยปยปยปยปยปยปยปยปยปยปยปยปยปยป
Apr 02 15:24:16 hassbian appdaemon[21138]: 2018-04-02 15:24:16.518490 INFO /home/homeassistant/appdaemon/compiled/javascript
Apr 02 15:24:16 hassbian appdaemon[21138]: 2018-04-02 15:24:16.519173 INFO /home/homeassistant/appdaemon/dashboards

Ok the folder of dashbords is โ€œ/home/homeassistant/appdaemon/dashboardsโ€ strange right? Create folder and put my dash inside and voila dashboard started working

I think the problem is in the dash_dir: variable but I can not figure out where it is set.

Done the problem is on cfg the dash_dir no longer exists now is dashboard_dir change config and all working thanks for support

Thank you for the support and sorry for the loss of time.

2 Likes

angelo i just reread and wanted to check.
do you get an 500 error or just a blank page when you try the test dashboard?
i think you got a 500 error.

do you have any custom widgets?
a file with a problem in the custom widgets directory also can cause a 500 error.
so if thats the case then please backup and delete all files in the custom widgets directory.
and try the test dashboard again.

Yes it was a 500 error. However, I did have custom widgets, but they were disabled and custom_widgets directory was removed.

LaBoss found the issue! Changing the dash_dir variable to dashboard_dir solved my problem as wellโ€ฆ You rock man!

Thanks all for the help I can now start using again my dashboards!

1 Like

wow. i never noticed that.
i still have dash_dir myselve and it works, but thats probably because mine is at the default place.
by the way, that is one of the extra debugs that i asked for so we would have found out anyway.

but i am glad its found now.

1 Like

Yeah, me neither! I even completely missed it in the docs :frowning: