MagicMirror Forum

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

    calendar stuck at loading

    Troubleshooting
    3
    11
    617
    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
      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
        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
          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

          Create a working config
          How to add modules

          V 1 Reply Last reply Reply Quote 0
          • V
            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
              VinGroot @Omeliel last edited by

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

              1 Reply Last reply Reply Quote 0
              • V
                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
                  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
                    sdetweil @VinGroot last edited by

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

                    Sam

                    Create a working config
                    How to add modules

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

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • V
                        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy