MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Calendar failed to load.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 3 Posters 1.1k Views 3 Watching
    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 Offline
      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 Away
        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:
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        P E 2 Replies Last reply Reply Quote 0
        • P Offline
          panos @sdetweil
          last edited by

          @sdetweil dude!! It worked! Thanks so much

          1 Reply Last reply Reply Quote 0
          • E Offline
            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 Away
              sdetweil @EdO
              last edited by

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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                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 Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy