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.

    Default Calendar just shows loading

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 3 Posters 1.9k Views 3 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.
    • D Offline
      dazza120
      last edited by dazza120

      Hi,
      I have just upgraded to MM 2.6.0V and it seems to have broken my calendar as it just shows loading, the calendar has been working fine before the update, my config file hasn’t changed from this

      	{
      			module: "calendar",
      			header: "UK Holidays",
      			position: "top_left",
      			config: {
      			timeFormat:"absolute",
                              titleReplace: {"United Kingdom:" : ""},
      			urgency: 0,
                              getRelative: 6,
      			fullDayEventDateFormat: "D MMMM",
      			dateFormat: "D MMMM - H:mm:ss",
      			fetchInterval: 4000000,
      			colored: true,
      			coloredSymbolOnly: true,
      			maximumEntries: 9,
      			showEnd: false,
      				Calendars: [
      					{
      						symbol: "calendar-check-o ",
      						url: "https://www.officeholidays.com/ics/ics_country_code.php?iso=GB",
      					}
      				]
      			}
      		},
      
      lavolp3L 1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer @dazza120
        last edited by

        @dazza120 please go into the console, type in

        pm2 logs
        

        and post the error referring to the calendar module.

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dazza120 @lavolp3
          last edited by

          @lavolp3 hi this is the code im getting but it showing the weather as erroring but that is working

          /home/pi/.pm2/logs/mm-error.log last 15 lines:
          0|mm       |     at Class.getALERT (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:118:23)
          0|mm       |     at Timeout.self.updateInterval.setInterval [as _onTimeout] (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:60:9)
          0|mm       |     at ontimeout (timers.js:475:11)
          0|mm       |     at tryOnTimeout (timers.js:310:5)
          0|mm       |     at Timer.listOnTimeout (timers.js:270:5)
          0|mm       | [14623:0101/195244.802731:FATAL:bus.cc(1152)] D-Bus connection was disconnected. Aborting.
          0|mm       | ERROR! Could not find main module js file for updatenotification
          0|mm       | (node:813) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'refs' of undefined
          0|mm       | (node:813) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
          0|mm       | TypeError: self.provider.getALERT is not a function
          0|mm       |     at Class.getALERT (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:118:23)
          0|mm       |     at Timeout.self.updateInterval.setInterval [as _onTimeout] (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:60:9)
          0|mm       |     at ontimeout (timers.js:475:11)
          0|mm       |     at tryOnTimeout (timers.js:310:5)
          0|mm       |     at Timer.listOnTimeout (timers.js:270:5)
          
          
          1 Reply Last reply Reply Quote 0
          • D Offline
            dazza120
            last edited by

            Sorted! I had to download the Magic Mirror from github on the Pi, unzipped it and then copied the whole calendar folder to the module default location and over wrote the calendar folder, it was missing a lot of files for some reason. Anyway enough said it’s working like it should now.

            idoodlerI 1 Reply Last reply Reply Quote 0
            • idoodlerI Offline
              idoodler Module Developer @dazza120
              last edited by

              @dazza120 Nice to hear that your issue has already been resolved. How did you update your MagicMirror? Did you just download the files or did you use git?

              I recommend you to use git, as it makes the maintenance much easier and you don’t have to deal with manually copying the files.

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                dazza120 @idoodler
                last edited by

                @idoodler hi yeah done a git pull but it missed some of the contents of that folder.

                idoodlerI 1 Reply Last reply Reply Quote 0
                • idoodlerI Offline
                  idoodler Module Developer @dazza120
                  last edited by

                  @dazza120 Well, that is wired. Did you use git status to check the status of your directory?

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    dazza120 @idoodler
                    last edited by

                    @idoodler no just git pull, I had to change the config file in calendar ie where to pull my calendar file from that was the only thing that changed, but the pull wouldn’t happen so I had to rename the folder in order for the pull to happen so that could have been the issue, but it created a new folder so not sure what went on.

                    1 Reply Last reply Reply Quote 1
                    • 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