MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

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: - 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 ()
        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 ()
        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.:


    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


    and add two lines near line 1191

                case 'BYEASTER':
                    options.byeaster = Number(value);
    	    case '':                                                             // add this line
    		break;                                                         // add this line

  • @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.

Log in to reply