• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Moment Timezone / Invalid time value

Scheduled Pinned Locked Moved Unsolved Troubleshooting
18 Posts 4 Posters 3.2k Views 4 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
    sdetweil @spitzlbergerj
    last edited by May 2, 2022, 1:49 PM

    @spitzlbergerj you of course enabled SSH on the pi, right??

    so you can do this from the ssh session

    you can also download the ics on your PC to examine, search for TZID

    is the TZID for you local tz?? I may be able to create a fix for this

    but I don’t want to drag in looking up the broken TZID… already do this for all the MS created non-standard
    junk.

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply May 2, 2022, 2:00 PM Reply Quote 0
    • S Offline
      spitzlbergerj Project Sponsor Module Developer @sdetweil
      last edited by May 2, 2022, 2:00 PM

      @sdetweil yes, of course I did. I work exclusively via ssh. But the command above seems to try to open a window. Unfortunately, this then breaks off with

      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
      

      i found these tzid

      "tzid":"W. Europe Standard Time"
      "tzid":"undefined"
      "tzid":"Customized Time Zone"
      

      The first one is my time zone.
      I try to identify the outlook calender entries, so that i can probably fix this there. I’m just wondering why this suddenly occurs. So it must be a newly added appointment that is causing the problem. I just can’t remember which appointments I have recently added :worried_face:

      Regards
      Josef

      http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

      S S 2 Replies Last reply May 2, 2022, 2:18 PM Reply Quote 0
      • S Offline
        spitzlbergerj Project Sponsor Module Developer @spitzlbergerj
        last edited by May 2, 2022, 2:18 PM

        … solved for me now …

        I have just deleted one of my oldest serial appointments. It had one of the above tzid (unfortunately I don’t know which one) and the error messages have disappeared …

        Regards
        Josef

        http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @spitzlbergerj
          last edited by May 2, 2022, 2:32 PM

          @spitzlbergerj if u looked at the error messages, the UUID is a unique value, set in the ICS file… so you canget that and search for it…

          my question is

          do you think the ‘bad’ timezone was YOUR timezone?

          I could create a fix to do the if undefined, set it to local system tz…

          i think the latest luxon library barfs now , where it used to return something…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply May 2, 2022, 3:12 PM Reply Quote 0
          • T Offline
            thger1312 @sdetweil
            last edited by May 2, 2022, 3:06 PM

            @sdetweil I just use Putty to connect via ssh. It won’t open a new window. You can check on your mirror or in browser, whether the mirror is loading the modules. When the error message appeared, I canceled the script via crtl + c. Then you have to search a bit in your logfile e.g.

            cat /pathtoyourfile/somefile.txt
            

            in order to figure out where the wrong appointments are. In my case it was more or less easy because the RangeError and the null-values in the array were very noisy.

            1 Reply Last reply Reply Quote 0
            • T Offline
              thger1312
              last edited by May 2, 2022, 3:12 PM

              @sdetweil sorry for the wrong reply, it refers to @spitzlbergerj …

              My local TZ seems to be right, but it don’t know, why there are these null values in the array. I subscribed my outlook calendar in another google calendar and it worked. These appointments are also rightly displayed in my iPhone, just by subcribing the outlook cal.

              S 1 Reply Last reply May 2, 2022, 7:00 PM Reply Quote 0
              • S Offline
                spitzlbergerj Project Sponsor Module Developer @sdetweil
                last edited by May 2, 2022, 3:12 PM

                @sdetweil I am sorry, I don’t know anymore what the bad tz was.i believe it was undefined, but I don’t know… Sorry

                Regards
                Josef

                http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @thger1312
                  last edited by May 2, 2022, 7:00 PM

                  @thger1312 said in Moment Timezone / Invalid time value:

                  why there are these null values in the array

                  the luxon library (which handles repeating events) had a problem and returned trash(all nulls)

                  doesn’t matter what other cal systems do… ours is hand written by volunteers over many years…
                  I spent a year getting it to handle timezone and std/dst time shifts…

                  and then added on the MS crasy special TZ…(custom tz… what do you need THAT for)

                  here is another crappy bug that every system has to handle…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  T 1 Reply Last reply May 4, 2022, 12:19 PM Reply Quote 0
                  • T Offline
                    thger1312 @sdetweil
                    last edited by May 4, 2022, 12:19 PM

                    @sdetweil ok, sounds nasty… I recognized in my debug-logfile that those custom time zones were converted correctly. Just the null values were the problem. Fixed for me now…

                    S 1 Reply Last reply May 4, 2022, 12:22 PM Reply Quote 0
                    • S Offline
                      sdetweil @thger1312
                      last edited by May 4, 2022, 12:22 PM

                      @thger1312 what did u do to fix it? so that we might help others

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      T 1 Reply Last reply May 4, 2022, 1:07 PM Reply Quote 0
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        11/18
                        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