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 stuck at loading

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 3 Posters 2.6k Views 1 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.
    • V Offline
      VinGroot
      last edited by

      I recently updated my MagicMirror. Since then my calendar isn’t working anymore.
      I don’t see any errors when I try pm2 logs mm.
      When I try node debug.js it stops after showing some appointments and a line.

      Create fetcher ...
      Create fetcher done!
      [ { title: '******',
          startDate: '1586880000000',
          endDate: '1586883600000',
          fullDayEvent: false,
          class: undefined,
          firstYear: 2020,
          location: false,
          geo: false,
          description: false },
        { title: '******',
          startDate: '1598590800000',
          endDate: '1598594400000',
          fullDayEvent: false,
          class: undefined,
          firstYear: 2020,
          location: false,
          geo: false,
          description: false } ]
      ------------------------------------------------------------
      

      I also tried a complete a reinstall, same effect.

      I’m using a Raspberry Pi 3 A+.

      S 1 Reply Last reply Reply Quote 0
      • O Offline
        Omeliel
        last edited by

        Hi . In the comand promp try to go in modules and there run again npm install . See if is workin. I dont have a clue but worth a try :) . Cheers

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

          @VinGroot those are the only two events it finds in the calendar, i think they are in the past.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          V 1 Reply Last reply Reply Quote 0
          • V Offline
            VinGroot @sdetweil
            last edited by VinGroot

            @sdetweil These are not the only two appointments in the calendar. I only showed two appointments, so you get an idea what it looks like. And even if they were the only two and in the past, then I would get something like: “no future appointments” on my main screen.

            I forgot to mention that “node debug.js” gets stuck as well. I don’t get a prompt after the line.

            1 Reply Last reply Reply Quote 0
            • V Offline
              VinGroot @Omeliel
              last edited by

              @Omeliel I gave it a try. Didn’t work.

              1 Reply Last reply Reply Quote 0
              • V Offline
                VinGroot
                last edited by

                I cleared my entire calendar to be certain there were no appointments that would cause the problem, problem still occurs.
                I can download basic.ics without a problem.

                1 Reply Last reply Reply Quote 0
                • V Offline
                  VinGroot
                  last edited by VinGroot

                  I’ve done some more testing and I figured out that must be some option in my config.js that causes my problem.
                  My calendar works when I load the config.js.sample and paste the url of my calendar in it.

                  Guess I’ll have to do troubleshooting to do…

                  (no worries about the calender link, I will change it after I’m done testing. It has some bogus appointments in it.)

                  {
                  module: "calendar",
                  header: "Agenda",
                  position: "top_left",
                  config: {
                  	broadcastEvents: false,
                  	calendars: [{
                  		url: "https://calendar.google.com/calendar/ical/gjv.de.groot%40gmail.com/private-5652f141b7d1dbb385f50a786a34827a/basic.ics"
                  	}],
                  	dateFormat: "D MMMM YYYY",
                  	fade: false,
                  	getRelative: 0,
                  	hidePrivate: true,
                  	maximumEntries: 8,
                  	maximumNumberOfDays: 7,
                  	maxTitleLength: 50,
                  	showEnd: true,
                  	showLocation: true,
                  	timeFormat: "absolute",
                  	urgency: 1,
                  	useRelativeDates: false
                  }
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @VinGroot
                    last edited by

                    @VinGroot it looks forward only maximumNumberOfDays: 7, and only for urgency: 1, type one entries

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      VinGroot
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • V Offline
                        VinGroot
                        last edited by

                        I’ve copied all options and the calendar still works. Problem solved, but no clue what the problem was…

                        I’d like to thank everyone eho helped me figuring this out.

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