MagicMirror Forum

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

    SOLVED Exchange calendar not showing up

    Troubleshooting
    2
    6
    2231
    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
      pieterbeulens last edited by

      Hi guys. I’ve looked through all the other posts saying te calendar is not showing up, but I seem to be having a different problem. I use two different Exchange calendars from the same Exchange server. One is working, the other one isn’t. When I use npm start dev, I see the following error:

      Whoops! There was an uncaught exception...
      TypeError: curr.exdates[i].toISOString is not a function
          at Object.ical.objectHandlers.END (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:44:44)
          at Object.handleObject (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:267:41)
          at Object.parseICS (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:308: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:188:22)
          at emitTwo (events.js:106:13)
          at Request.emit (events.js:191:7)
          at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1171:10)
          at emitOne (events.js:96:13)
          at Request.emit (events.js:188:7)
      

      What could be going wrong here?

      bhepler 1 Reply Last reply Reply Quote 0
      • bhepler
        bhepler Project Sponsor @pieterbeulens last edited by

        @pieterbeulens Can you check each calendar to see if they have different types of events in them? There may be an issue between all day events and normal start/end events. Or possibly events that span multiple days.

        My initial guess is that an event that spans multiple days does not have time associated with it. That may be throwing the module off.

        P 1 Reply Last reply Reply Quote 0
        • P
          pieterbeulens last edited by

          I think that might just be the case! This calendar used to work though on the previous mm version. Is there something I could do to fix this?

          1 Reply Last reply Reply Quote 0
          • P
            pieterbeulens @bhepler last edited by

            @bhepler I’m afraid I don’t know much about coding, so still hoping there might be something that can be done about this problem.

            bhepler 1 Reply Last reply Reply Quote 0
            • bhepler
              bhepler Project Sponsor @pieterbeulens last edited by

              @pieterbeulens I’m kind of swamped at the moment, so I can’t look at it for a couple weeks. My suggestion for right now is to create a test calendar and populate it with discreet events. Nothing that overlaps days, nothing that is an all-day event. See if you can’t connect and display it normally.

              Once you’ve confirmed that it works, add a multi-day event and see if it breaks. Let’s isolate the exact problem and then we have a test case we can use for fixes.

              1 Reply Last reply Reply Quote 0
              • P
                pieterbeulens last edited by

                So sorry for the very late reply. I didn’t have time to work on my project. But today I picked it up again and also found https://github.com/MichMich/MagicMirror/issues/839. When I updated the ical.js and node-ical.js in this thread, my calendar started showing up. So I’m happy and almost finished my MM. Version 0.1, that is…

                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