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.8k 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 @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
                    • S Offline
                      sdetweil @Jonsar
                      last edited by

                      @Jonsar said in Calendar has stopped working:

                      Sorry. I can with the html version

                      what does that mean? does it download the ics file or not?
                      not view the cal in the web,… that is the embedded version, we need the raw data…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @Jonsar ok, lets turn on debugging

                        change config.js

                        logLevel: ["INFO", "LOG", "WARN", "ERROR"],
                        

                        to

                        logLevel: ["INFO", "LOG", "WARN", "ERROR","DEBUG"],
                        

                        then start mm like this

                        cd ~/MagicMirror
                        npm  start >somefile.txt 2>&1
                        

                        wait til the error,
                        ctrl-q to stop MM
                        then edit the somefile.txt

                        error should be at the bottom

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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