Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Calendar failed to load.

    Troubleshooting
    3
    6
    327
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      panos last edited by

      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? 🙂

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @panos last edited by

        @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:
        
        P E 2 Replies Last reply Reply Quote 0
        • P
          panos @sdetweil last edited by

          @sdetweil dude!! It worked! Thanks so much

          1 Reply Last reply Reply Quote 0
          • E
            EdO @sdetweil last edited by

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

            S 1 Reply Last reply Reply Quote 0
            • S
              sdetweil @EdO last edited by

              @EdO sorry, don’t know what the problem is with MMM-CalendarExt2

              E 1 Reply Last reply Reply Quote 0
              • E
                EdO @sdetweil last edited by

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

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy