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.

    Error with Outlook Calendar

    Scheduled Pinned Locked Moved Troubleshooting
    23 Posts 3 Posters 7.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.
    • B Offline
      bokchok @Yunalescar
      last edited by

      @Yunalescar Worked! Thank you sir

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @bokchok
        last edited by

        @bokchok but. please, lets fix that… I updated both the node-ical libs and the ical.js libs with the same code to handle windows timezones…

        we ship node-ical with MM… (new in this release)

        and I checked the latest 0.12.1

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @bokchok @Yunalescar can u look at the package.json in

          ~/MagicMirror/node_modules/node-ical/package.json

          what is the version number? should be 0.12.1 (which has the fix for the error) 0.12.0 does not have the fix…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B Y 2 Replies Last reply Reply Quote 0
          • B Offline
            bokchok @sdetweil
            last edited by

            @sdetweil The version nmber is 0.12.0
            When was 0.12.1 released?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @bokchok
              last edited by

              @bokchok 10 days ago. mm was 2 days ago

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                bokchok @sdetweil
                last edited by

                @sdetweil Weird. I thought I updated after then. I’ll do another clean install and see what happens

                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil
                  last edited by

                  @bokchok the other thing is, the error means that some cal entry is using a timezone which is not registered in the authorized windows timezone names

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @bokchok
                    last edited by

                    @bokchok i just checked on an install I did thursday

                    grep version MagicMirror/node_modules/node-ical/package.json
                    “version”: “0.12.1”,

                    ls MagicMirror/node_modules/node-ical/package.json -laF
                    -rw-r–r-- 1 pi pi 2159 Oct 1 08:24 MagicMirror/node_modules/node-ical/package.json

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil @bokchok the develop version probably would have pulled in 0.12.0 sometime last week…

                      but your ics presented other timezone problems for another fix I am working on, so I fixed that too

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        bokchok @sdetweil
                        last edited by

                        @sdetweil Did a clean install, for some reason I have 0.12.0 again. I’m not getting the error, though…

                        1 Reply Last reply Reply Quote 0
                        • Y Offline
                          Yunalescar @sdetweil
                          last edited by

                          @sdetweil said in Error with Outlook Calendar:

                          ~/MagicMirror/node_modules/node-ical/package.json

                          its “node-ical@0.12.0”

                          so with the installcall i get an old version? did a fresh install just 12 hours ago and its still 0.12.0

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @Yunalescar
                            last edited by

                            @Yunalescar weird

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              ok, looks like it’s my fault. I forgot to update the line in package.json here,
                              so it only downloads 0.12.0

                              why I get 0.12.1 I don’t know…
                              I will fix my install and upgrade scripts, but
                              will have to write a troubleshooting post for this

                              thanks guys

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                I’ve added a troubleshooting topic

                                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
                                  sdetweil @bokchok
                                  last edited by

                                  @bokchok ok, looking thru your calendar, it has a custom timezone named ‘TZID:Eastern Standard Time 1’

                                  none of the calendar code knows how to handle this… we don’t lookup the time to find the real name.
                                  so you will get random results. the code I added looks up the windows timezone name in the
                                  unicode.org supported cross reference table to get the IANA tz name the code can handle…

                                  the bug u found was that I ‘assumed’ the name would always be found… but not true…

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  B 1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    bokchok @sdetweil
                                    last edited by

                                    @sdetweil Good to know! I’m glad this was helpful.

                                    1 Reply Last reply Reply Quote 0

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    • 1
                                    • 2
                                    • 2 / 2
                                    • 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