Read the statement by Michael Teeuw here.
Default Calendar just shows loading
-
@dazza120 please go into the console, type in
pm2 logs
and post the error referring to the calendar module.
-
@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)
-
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.
-
@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. -
@idoodler hi yeah done a git pull but it missed some of the contents of that folder.
-
@dazza120 Well, that is wired. Did you use
git status
to check the status of your directory? -
@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.