I'm trying to implement the garbage block do my dashboard and I'm using the google iCal for this. Unfortunately it's not working and I don't know why. Any help appreciated.
Config
Code: Select all
config['garbage_company'] = 'googlecalendar ical';
config['garbage_icalurl'] = 'https://calendar.google.com/calendar/ical/***/basic.ics' (Using the private google cal link here)
config['garbage_maxitems'] = '12';
config['garbage_width'] = '12';
[code]columns[3] = {
blocks : ['clock','garbage'],
width: 4
}
Code: Select all
bundle.js?t=5:303 jQuery.Deferred exception: Cannot read property 'dataHandler' of undefined TypeError: Cannot read property 'dataHandler' of undefined
at loadDataForService (js/garbage.js:1002:37)
at loadGarbage (js/garbage.js:38:3)
at handleStringBlock (js/blocks.js:572:27)
at getBlock (js/blocks.js:66:13)
at buildScreens (js/main.js:619:15)
at onLoad (js/main.js:345:3)
at js/main.js:295:9
at mightThrow (http://***5:8082/dist/bundle.js?t=5:303:28124)
at F (http://***:8082/dist/bundle.js?t=5:303:28505) undefined
js/main.js:299 TypeError: Cannot read property 'dataHandler' of undefined
at loadDataForService (js/garbage.js:1002)
at loadGarbage (js/garbage.js:38)
at handleStringBlock (js/blocks.js:572)
at getBlock (js/blocks.js:66)
at buildScreens (js/main.js:619)
at onLoad (js/main.js:345)
at js/main.js:295
at mightThrow (bundle.js?t=5:303)
at F (bundle.js?t=5:303)
DevTools failed to load SourceMap: Could not load content for http://***:8082/ical.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE