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 has stopped working

    Scheduled Pinned Locked Moved Solved Troubleshooting
    23 Posts 2 Posters 5.2k 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.
    • J Offline
      Jonsar
      last edited by

      Calendar has stopped working. Updated to latest version. Have been using Outlook Calendar for a few years with no issues. Calendar is stuck on “Loading…”

      Error messages:

      [2022-09-18 17:35:15.966] [ERROR] No toISOString function in curr.start //Microsoft/Utc:20220930T133000
      [2022-09-18 17:35:15.967] [ERROR] No toISOString function in curr.recurrenceid //Microsoft/Utc:20220930T133000
      [2022-09-18 17:35:15.972] [ERROR] No toISOString function in curr.recurrenceid //Microsoft/Utc:20221001T133000
      [2022-09-18 17:35:17.277] [ERROR] Whoops! There was an uncaught exception…
      [2022-09-18 17:35:17.278] [ERROR] TypeError: event.start.getFullYear is not a function
      at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:285:33
      at Array.forEach (:null:null)
      at Request._callback (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:91:25)
      at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
      at Request.emit (events.js:210:5)
      at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1154:10)
      at Request.emit (events.js:210:5)
      at Gunzip. (/home/pi/MagicMirror/node_modules/request/request.js:1076:12)
      at Object.onceWrapper (events.js:299:28)
      at Gunzip.emit (events.js:215:7)
      at endReadableNT (_stream_readable.js:1183:12)
      at processTicksAndRejections (internal/process/task_queues.js:80:21)

      Thoughts?

      S 1 Reply Last reply Reply Quote 1
      • S Offline
        sdetweil @Jonsar
        last edited by

        @Jonsar how did u update to the latest release?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          Jonsar @sdetweil
          last edited by

          @sdetweil I followed the posted instructions

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jonsar
            last edited by

            I followed the posted instructions

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              sdetweil @Jonsar
              last edited by

              @Jonsar so, did the git pull succeed?

              do a
              git status
              in the MagicMirror folder
              and

              grep version package.json

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                Jonsar @sdetweil
                last edited by

                @sdetweil I reinstalled and I am up to date. The error I get now is could not fetch calendar Error: forbidden. at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:121:9)
                at processTicksAndRejections (node:internal/process/task_queues:96:5)

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

                  @Jonsar if u put the url in a browser, does it download the ics file?

                  there was a forced change to the Google urls for calendars a while back

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jonsar @sdetweil
                    last edited by Jonsar

                    @sdetweil No, it doesn’t. It gets stuck on Preparing to download. Is there a workaround?

                    Found this somewhere. Does it help?

                    Bottom line was that the following lines needed to be added into the request.

                    myHttpWebRequestOutlook.UserAgent = “SmileCRM”;
                    myHttpWebRequestOutlook.AuthenticationLevel =System.Net.Security.AuthenticationLevel.None;

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

                      @Jonsar if u can’t download in a normal browser we can’t get it either.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        Jonsar @sdetweil
                        last edited by

                        @sdetweil Sorry. I can with the html version. The error I get now is this:

                        RangeError: Invalid time value
                        at Date.toISOString (:null:null)
                        at /home/pi/MagicMirror/modules/default/calendar/calendarutils.js:314:28
                        at Array.forEach (:null:null)
                        at Object.filterEvents (/home/pi/MagicMirror/modules/default/calendar/calendarutils.js:142:24)
                        at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:74:29
                        at processTicksAndRejections (node:internal/process/task_queues:96:5)

                        S 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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