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 not loading after update to 2.26

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    22 Posts 2 Posters 5.6k 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
      sdetweil @avano
      last edited by sdetweil

      @avano said in Calendar not loading after update to 2.26:

      Indeed, it says 241 events were found, but I meant that despite that the mirror shows “Loading…” in the calendar module.

      fun times…

      can you open the developers window, ctrl-shift-i on the MM screen (on pi or remote browser if you have that configured)

      select the console tab, and put calendar in the filter field to see if there are any errors shown on the browser side

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • A Offline
        avano
        last edited by

        @sdetweil I’ll give this a try in the morning, but thanks a lot for the help!

        1 Reply Last reply Reply Quote 0
        • A Offline
          avano
          last edited by

          @sdetweil, I checked the browser log. At first, I saw errors about not finding the custom.css.

          log.png

          So I created one from the sample css file. Now I only see the remaining issue.

          Screenshot 2024-01-04 at 21.25.53.png

          Any idea? Should I consider a fresh install instead?

          S 3 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @avano
            last edited by sdetweil

            @avano its a noise error… if the file doesn’t exist, then its an error when trying to load it, its hard coded in the MM shell web page…

            just create it and the error will go away

            touch ~/MagicMirror/css/custom.css
            

            if u had used my script to install, I would have done that for you

            also many people don’t know how to create a file, …

            so I tell them to add styles there and the file is missing and they don’t know what to do

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

              @avano ok, no crashes in the browser side…

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

                @avano can u show the cal config, just xxx out the url

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • A Offline
                  avano
                  last edited by

                  @sdetweil, do you mean from the config.js? If so, it is in the first post of this thread.

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

                    @avano said in Calendar not loading after update to 2.26:

                                                limitDays: 30,
                                                maximumEntries: 15,
                                                wrapEvents: true,
                                                hidePrivate: true
                    

                    can u comment these out , add // in front

                    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

                      @avano alomao try this

                      cd ~/MagicMirror
                      npm install electron@28.1.1
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil I tried both the above suggestions, but no change.

                        However, I enabled the DEBUG mode and saw that some events in my calendar took a lot longer to be processed. These events are open-ended events in my Google calendar. They look like the below extract. So I removed them temporarily.

                        I no longer get the Warning: vkCreateInstance: Found no drivers!

                        The calendar now loads.
                        But I’ll try to re-create them and see if they are formatted the same way.

                        [06.01.2024 17:35.14.090] [DEBUG] Event:
                        {"type":"VEVENT","params":[],"start":"2021-01-19T13:00:00.000Z","datetype":"date-time","end":"2021-01-19T14:00:00.000Z","rrule":{"_cache":{"all":false,"before":[],"after":[],"between":[]},"origOptions":{"tzid":"Europe/Paris","dtstart":"2021-01-19T13:00:00.000Z","freq":0,"wkst":{"weekday":1}},"options":{"freq":0,"dtstart":"2021-01-19T13:00:00.000Z","interval":1,"wkst":1,"count":null,"until":null,"tzid":"Europe/Paris","bysetpos":null,"bymonth":[1],"bymonthday":[19],"bynmonthday":[],"byyearday":null,"byweekno":null,"byweekday":null,"bynweekday":null,"byhour":[13],"byminute":[0],"bysecond":[0],"byeaster":null}},"dtstamp":"2024-01-06T16:34:29.000Z","uid":"clhj8p9p6gqmab9ncoq3ab9k68p3ab9pcgq6cb9kcgr3acpn70o62dpkcg@google.com","created":"2021-01-19T15:21:58.000Z","lastmodified":"2021-01-19T15:22:30.000Z","sequence":"1","status":"CONFIRMED","summary":"Event xyz","transparency":"OPAQUE","method":"PUBLISH"}
                        [06.01.2024 17:35.14.091] [DEBUG] start: Tue Jan 19 2021 14:00:00 GMT+0100 (Central European Standard Time)
                        [06.01.2024 17:35.14.091] [DEBUG] end:: Tue Jan 19 2021 15:00:00 GMT+0100 (Central European Standard Time)
                        [06.01.2024 17:35.14.091] [DEBUG] duration: 3600000
                        [06.01.2024 17:35.14.092] [DEBUG] title: Event xyz
                        [06.01.2024 17:35.14.092] [DEBUG] Search for recurring events between: Sat Jan 06 2024 17:35:14 GMT+0100 (Central European Standard Time) and Sat Jan 04 2025 23:59:59 GMT+0100 (Central European Standard Time)
                        [06.01.2024 17:35.40.211] [DEBUG] Title: Event xyz, with dates: [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,
                        ... I removed about 8000 "nulls" here...
                        null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]
                        [06.01.2024 17:35.40.243] [DEBUG] event.recurrences: undefined
                        [06.01.2024 17:35.40.243] [DEBUG] Processing entry... 
                        
                        S 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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