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 iCAL not working since 2.13 update

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 931 Views 2 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.
    • S Offline
      SdR
      last edited by sdetweil

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

        @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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil
          last edited by

          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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            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

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @SdR
              last edited by sdetweil

              @SdR

              wrong folder

              sorry, my instruction in the linked topic were wrong. I have corrected them

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil

                I was just mentioning that :D but you already noticed…
                I have done accordingly, and now it works fine again…after a reboot…

                Tnx!

                S 1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @SdR
                  last edited by

                  @SdR shouldn’t have needed the reboot.

                  if using pm2 to start mm

                  just use the command

                  pm2 restart 0

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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