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 shows "no entries" after MM Update

    Scheduled Pinned Locked Moved Troubleshooting
    37 Posts 12 Posters 32.8k Views 16 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.
    • P Offline
      Peter_van_Evert
      last edited by

      Hello everybody. I come with very good News ! I find a solution without the people from MagicMirror.

      1. My old google calendar was too big (850k) and I search earlier for a solution to delete my old calendar entries in the google calendar, e.g. everything before 2017, but there were no function or button at google.
      2. I export my old and heavy ics File from google to my Computer.
      3. I wrote a short python script, which takes the ics header from my ics file, delete everything that is older than 2017 and ended with the original ending from my ics file. The new file is 85k :)
      4. I create an test calender to import the ics file - everything is ok.
      5. I delete every !! entrie in my Maincalender (my heart goes up) and import the new light ics file - everything goes fine and the new calendar is shown in the MM calendar.
      6. Delete the test calender
        Another nice thing is, that there are now no old datas in the google calender. For further information, just contact me.
        Yours
        Peter
      1 Reply Last reply Reply Quote 1
      • S Offline
        sacha81
        last edited by

        Thank you Peter for this idea, it will help to mitigate the issue. But this is only a workaround and not a solution, I want to keep my old entires …

        P 1 Reply Last reply Reply Quote 0
        • J Offline
          jasondreher
          last edited by jasondreher

          Is no one else having this issue? Besides the couple of us on this thread.

          1 Reply Last reply Reply Quote 0
          • P Offline
            Peter_van_Evert @sacha81
            last edited by

            @sacha81 thats no problem. Export your large an old calender on your PC. Create a new calender an import the data. Delete all the data in your main calender and import the small calender, sort by my Python Skript. So you got one calender with your old data and one small with your 2017 datas.

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

              I made a copy of my google calendar and cleaned out with https://chrome.google.com/webstore/detail/bulk-action-tool-for-goog/lkpgfdjgbcmeblffjfefgkhkneilhfnf now my ICS is 400kb but it still not load :(

              1 Reply Last reply Reply Quote 0
              • Mitch1138M Offline
                Mitch1138
                last edited by

                I am still having this problem, but it might not be total related to size. I have a 2.43MB calendar that works fine and a 1.38MB calendar that will not display, both worked before the update. Has anyone found anything that works?

                Thanks.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Chadeus
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sacha81
                    last edited by

                    I removed all items until today, now my calendar (Google private ICS) has just events in the future and still does not load items on the mirror. Wondering whats changed in this version with the calendar :-(

                    1 Reply Last reply Reply Quote 0
                    • tgeimerT Offline
                      tgeimer
                      last edited by tgeimer

                      Hi,
                      I am experiencing the same issue since the update to the current MM version 2.1.1 . I should have checked for issues beforehand :-/
                      EDIT: I have all my calendars on my owncloud on the same LAN. All of them work fine except a calendar with all birthdays.
                      Since I have no time to troubleshoot myself for the next month, I will have to wait for an official fix…
                      Let’s make MM great again ;-)

                      tgeimerT 1 Reply Last reply Reply Quote 0
                      • tgeimerT Offline
                        tgeimer @tgeimer
                        last edited by tgeimer

                        I fixed my issue. Some searching led me to this:
                        https://github.com/MichMich/MagicMirror/issues/791#issuecomment-289306407
                        No dates before 1970 are accepted - but in my birthday calendar I have created birthdays e.g. in 1946…
                        Thank you @amcolash

                        This is how you can check if this is why your calendar is not working:
                        ssh to your pi

                        cd /home/pi/MagicMirror
                        DIAPLAY=:0 npm start dev
                        

                        If you see this in the output, you have dates in your calendar before 1970:

                        Whoops! There was an uncaught exception...
                        Error: dates lower than Thu Jan 01 1970 00:00:00 GMT+0100 (CET) are not supported
                            at Object.toOrdinal (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:105:15) 
                            at Iterinfo.rebuild (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:1409:35)
                            at RRule._iter (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:978:10)
                            at RRule.between (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:794:21)
                            at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:122:24
                            at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:5)
                            at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:188:22)
                            at emitTwo (events.js:106:13)
                            at Request.emit (events.js:191:7)
                            at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1171:10)
                        MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        

                        What I did to fix my birthday calendar: Edit this file

                        /home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js
                        

                        Go to line 56 or search for the first occurance of “ORDINAL_BASE” and change this line:

                        ORDINAL_BASE: new Date(1970, 0, 1),
                        

                        set it to a lower year like 1900.
                        Then restart your magic mirror (pm2 restart mm)

                        And it’s (hopefully) GREAT AGAIN :-D :clap:

                        S 1 Reply Last reply Reply Quote 1
                        • S Offline
                          sacha81 @tgeimer
                          last edited by

                          @tgeimer for me thats working THANK YOU !!!

                          1 Reply Last reply Reply Quote 0
                          • Mitch1138M Offline
                            Mitch1138
                            last edited by

                            I tried tgeimer’s fix (many thanks by the way), but without success. Of two calendars, only one displays. Here is the terminal output:

                            Whoops! There was an uncaught exception…
                            Error: dates lower than Mon Jan 01 1900 00:00:00 GMT-0500 (EST) are not supported
                            at Object.toOrdinal (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:105:15)
                            at Iterinfo.rebuild (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:1409:35)
                            at RRule._iter (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:978:10)
                            at RRule.between (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:794:21)
                            at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:122:24
                            at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:5)
                            at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
                            at emitTwo (events.js:106:13)
                            at Request.emit (events.js:191:7)
                            at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1081:10)
                            MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                            If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

                            Dave

                            tgeimerT 1 Reply Last reply Reply Quote 0
                            • tgeimerT Offline
                              tgeimer @Mitch1138
                              last edited by

                              @Mitch1138
                              You have changed your ORDINAL_BASE to 1900, but it seems as if you have dates even before 1900 in your calendar as it tells you in line 2 of the exception:

                              Error: dates lower than Mon Jan 01 1900 00:00:00 GMT-0500 (EST) are not supported

                              What kind of calendar is it? Try to change the year to something even lower or even 0. Otherwise you can perhaps guess based on your calendar which entry might cause this error and change that recurring date…

                              1 Reply Last reply Reply Quote 0
                              • Mitch1138M Offline
                                Mitch1138
                                last edited by

                                Excellent, changing the date to 1000 fixed it. It is a google calendar, but I have synced with outlook, iphone, etc. so are probably some odd dates and trash squirreled away.

                                Thanks very much

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jasondreher
                                  last edited by

                                  @Mitch1138 said in Calendar shows “no entries” after MM Update:

                                  tgeimer’s

                                  tgeimer’s fix worked for me too!! Thank you!

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DazDavid
                                    last edited by

                                    @tgeimer
                                    You are awesome!
                                    I was looking for a solution since I´ve updated MM but only now when I got the error message with the date 1970 I was able to find that thread and your solution. Now is working again. Thank you very much.

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      Befkef
                                      last edited by

                                      So I’ve set the date to 1000… And even the beautiful year 0, but the only entry it shows is 1 entry which isn’t due in over 5 months… The calendar is very important for me so can anyone please help me!! Thnx in advance!!

                                      Mykle1M 1 Reply Last reply Reply Quote 0
                                      • Mykle1M Offline
                                        Mykle1 Project Sponsor Module Developer @Befkef
                                        last edited by

                                        @Befkef

                                        See the 28th and 29th post in this topic

                                        Create a working config
                                        How to add modules

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

                                          @tgeimer
                                          Thanks for your solution! Saved my day ;)

                                          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