• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Exchange calendar not showing up

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 2 Posters 2.9k Views 2 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
    pieterbeulens
    last edited by May 18, 2017, 7:43 PM

    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?

    B 1 Reply Last reply May 19, 2017, 3:00 AM Reply Quote 0
    • B Offline
      bhepler Module Developer @pieterbeulens
      last edited by May 19, 2017, 3:00 AM

      @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 May 25, 2017, 10:56 AM Reply Quote 0
      • P Offline
        pieterbeulens
        last edited by May 19, 2017, 3:23 PM

        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 Offline
          pieterbeulens @bhepler
          last edited by May 25, 2017, 10:56 AM

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

          B 1 Reply Last reply May 25, 2017, 3:24 PM Reply Quote 0
          • B Offline
            bhepler Module Developer @pieterbeulens
            last edited by May 25, 2017, 3:24 PM

            @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 Offline
              pieterbeulens
              last edited by Jul 2, 2017, 8:54 PM

              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy