Read the statement by Michael Teeuw here.
Calendar failed to load.
-
Hello guys.
The default calendar module won’t load a external ics file.
After running the command "npm start dev” I get this error:[15:35:03.300] [LOG] Create new calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/47/Greece_Holidays.ics - Interval: 300000 [15:35:04.015] [ERROR] (node:1652) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. [15:35:04.381] [LOG] Whoops! There was an uncaught exception... [15:35:04.384] [ERROR] Error: Unknown RRULE property '' at /home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1191:23 at Array.forEach (<anonymous>) at parseRrule (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1149:11) at parseLine (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1132:16) at Array.map (<anonymous>) at Function.parseString (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1110:41) at Function.RRule.fromString (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:2135:32) at Object.ical.objectHandlers.END (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:62:23) at Object.handleObject (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:400:41) at Object.parseICS (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:441:20)Any suggestions? :)
-
@panos said in Calendar failed to load.:
/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js
yeh, sadly the calendar has unexpected data… I have reported, and they said they would remove it (eventually)…I have asked them for a schedule… but don’t have that yet
in the short term
edit/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js
and add two lines near line 1191
case 'BYEASTER': options.byeaster = Number(value); break; case '': // add this line break; // add this line default: -
@sdetweil dude!! It worked! Thanks so much
-
@sdetweil This does work great with the default calendar but alas it doesn’t fix the problem with MMM-CalendarExt2. If I try to include this calendar, not only does none of the holidays show up in the monthly view, none of the events from a third calendar (my wife’s) fail to show. Only events from my calendar appear. Its only when I remove the holiday calendar (commented out) do the events from my wife’s calendar appear.
-
@EdO sorry, don’t know what the problem is with MMM-CalendarExt2
-
@sdetweil I suspect the module doesn’t filter out the repeated events properly and as a result it causes events not to show in the allotted space. I’ll probably just download the calendar file, edit it and put it on the local device until the published calendar is fixed. But at the end of the day, I don’t really need the MM calendar to tell me what holidays are coming up. My and my wife’s upcoming appointments are what I really need to see, so as long as those are working I don’t plan to spend a lot of time on it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login