Hi, I’m having trouble getting my Calendar to load in the default calendar module.
i have checked the link the and curl/wget downloads it just fine however when MM starts it just shows “Loading…” forever.
I have two calendars, a google calendar and a office365 calendar. The google calendar loads fine but the office365 displays the issue above.
Here is my obfuscated config file.
{
module: 'calendar',
header: 'Calendar',
position: 'top_left',
config: {
maximumNumberOfDays: 14,
calendars: [
//{
// symbol: 'home',
// url: 'https://calendar.google.com/calendar/ical/username%40gmail.com/private-4342c3561aea50c145ab3ab8320a/basic.ics'
//},
{
symbol: 'home',
url: 'https://outlook.office365.com/owa/calendar/cd2245088f5b4dbfa64ef416b080@company.com.au/cf65756c71a8465e97bb5470c536cce55697333579349617917$
}
]
}
},
When i start it with the google one uncommented it loads google fine, but no office365.
When i start it with the google one commented out, I get:
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
> magicmirror@2.0.0 start /home/pi/MagicMirror
> electron js/electron.js
Loading config ...
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
Initializing new module helper ...
No helper found for module: compliments.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper ...
All module helpers loaded.
Starting server op port 8080 ...
Server started ...
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started ...
Launching application.
Create new calendar fetcher for url: https://outlook.office365.com/owa/calendar/cd2245088f5b4dbfa64ef28e2416@company.com.au/cf65756c71a8465e97bb5470c536cce55697333579349617917/calendar.ics - Interval: 300000
Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
Create new news fetcher for url: http://feeds.smh.com.au/rssheadlines/top.xml - Interval: 300000
Whoops! There was an uncaught exception...
TypeError: curr.start.toISOString is not a function
at Object.ical.objectHandlers.END (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:39:40)
at Object.handleObject (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:257:41)
at Object.parseICS (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:298:20)
at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:24)
at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1060:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Thanks in advance.