After updating to the latest version ( 2.7.1 ) from 2.6.0, one of my subscribed calendar feeds no longer works. It has worked fine in 2.6.0.
Running on Raspberry Pi 3B - Raspbian Stretch. NodeJS version 9.11.2. Electron 3.0.13
Currently, the calendar module shows “No upcoming events” for this calendar feed. I know there are items there because I’m subscribed on my laptop and iphone. This is a feed for our school calendar.
In the error logs, I see the following:
TypeError: Cannot read property 'length' of undefined
at eventDate (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:69:25)
at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:90:22
at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:5)
at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
at Request.emit (events.js:182:13)
at Request.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1157:10)
at Request.emit (events.js:182:13)
at Gunzip.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1079:12)
at Object.onceWrapper (events.js:273:13)
at Gunzip.emit (events.js:187:15)
My calendar config is as follows:
{
module: "calendar",
header: "School Calendar",
position: "top_left",
config: {
wrapEvents: true,
fade: false,
timeFormat: 'absolute',
dateFormat: 'ddd , MMM DD',
getRelative: 0,
urgency: 0,
maxTitleLength: 25,
maximumEntries: 10,
calendars: [
{
symbol: "calendar",
url: "https://www.ojrsd.com//site/handlers/icalfeed.ashx?MIID=11"
}
]
}
},
Anyone else come across this issue?