Read the statement by Michael Teeuw here.
Calendar iCAL not working since 2.13 update
-
Hi,
Everything worked fine regarding my O365 caledar items via iCal, but since the update to version 2.13 it stopped working. It is not an internet connection issues as suggested and when following the link in my config file as HTTPS it downloads the .ical file… don’t really understand it as it has always worked… below the error log where it does states some issues regading ‘iana’;
[2020-10-04 14:47:48.881] [ERROR] (node:800) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. [2020-10-04 14:47:48.882] [ERROR] (node:800) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. [2020-10-04 14:47:50.611] [ERROR] Whoops! There was an uncaught exception... [2020-10-04 14:47:50.613] [ERROR] TypeError: Cannot read property 'iana' of undefined at getIanaTZFromMS (/home/pi/MagicMirror/node_modules/node-ical/ical.js:108:30) at /home/pi/MagicMirror/node_modules/node-ical/ical.js:175:23 at Object.DTSTART (/home/pi/MagicMirror/node_modules/node-ical/ical.js:457:32) at Object.handleObject (/home/pi/MagicMirror/node_modules/node-ical/ical.js:483:39) at Object.parseLines (/home/pi/MagicMirror/node_modules/node-ical/ical.js:534:18) at Object.parseICS (/home/pi/MagicMirror/node_modules/node-ical/ical.js:590:18) at Object.sync.parseICS (/home/pi/MagicMirror/node_modules/node-ical/node-ical.js:190:15) at Object.autodetect.parseICS (/home/pi/MagicMirror/node_modules/node-ical/node-ical.js:221:17) at Request._callback (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:79:22) at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22) [2020-10-04 14:47:50.617] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-10-04 14:47:50.618] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [2020-10-04 14:53:24.284] [ERROR] Whoops! There was an uncaught exception... [2020-10-04 14:53:24.284] [ERROR] TypeError: Cannot read property 'iana' of undefined at getIanaTZFromMS (/home/pi/MagicMirror/node_modules/node-ical/ical.js:108:30) at /home/pi/MagicMirror/node_modules/node-ical/ical.js:175:23 at Object.DTSTART (/home/pi/MagicMirror/node_modules/node-ical/ical.js:457:32) at Object.handleObject (/home/pi/MagicMirror/node_modules/node-ical/ical.js:483:39) at Object.parseLines (/home/pi/MagicMirror/node_modules/node-ical/ical.js:534:18) at Object.parseICS (/home/pi/MagicMirror/node_modules/node-ical/ical.js:590:18) at Object.sync.parseICS (/home/pi/MagicMirror/node_modules/node-ical/node-ical.js:190:15) at Object.autodetect.parseICS (/home/pi/MagicMirror/node_modules/node-ical/node-ical.js:221:17) at Request._callback (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:79:22) at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22) [2020-10-04 14:53:24.285] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-10-04 14:53:24.285] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
@SdR weird. I made the changes, which included changing over to node-ical
but somehow a bunch of you are getting a downlevel version during install.
0.12.1 is the current version. 0.12.0 has the bug u are reporting…
so a workaround
cd ~/MagicMirror/modules mv node-ical old-node-ical git clone https://github.com/jens-maus/node-ical.git cd node-ical npm install
then restart MagicMirror
I’d love to see your ics file, as the error indicates an unregistered windows timezone name
-
looks likes its my fault, i’ve opened a topic in the troubleshooting section
https://forum.magicmirror.builders/topic/13770/2-13-calendar-fix-for-office-365-users
-
This did not solve the issue… mv command did not work as there was nothing to rename.
so cloned it and ran install and it created a folder under ‘modules’ which was not there before.rebooted and still the same result
-
-
I was just mentioning that :D but you already noticed…
I have done accordingly, and now it works fine again…after a reboot…Tnx!
-