MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. avano
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 10
    • Groups 0

    Posts

    Recent Best Controversial
    • Calendar not loading after update to 2.26

      Hi there

      I have potentially the same issue as https://forum.magicmirror.builders/topic/18325/calendar-not-updating?page=1 except that my calendar does not load at all. It’s stuck on “Loading…”
      The issue started after updating to 2.26.0 from a very old version from April 2022.
      Using a RPI 3 B on Bullseye.
      node version v21.5.0
      All other default modules work fine.
      Thanks for the support.

      ~/MagicMirror $ npm start
      
      > magicmirror@2.26.0 start
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [01.01.2024 22:30.20.942] [LOG]   Starting MagicMirror: v2.26.0
      [01.01.2024 22:30.20.954] [LOG]   Loading config ...
      [01.01.2024 22:30.20.961] [DEBUG] config template file not exists, no envsubst
      [01.01.2024 22:30.20.977] [LOG]   Loading module helpers ...
      [01.01.2024 22:30.20.980] [LOG]   No helper found for module: alert.
      [01.01.2024 22:30.21.042] [LOG]   Initializing new module helper ...
      [01.01.2024 22:30.21.044] [LOG]   Module helper loaded: updatenotification
      [01.01.2024 22:30.21.046] [LOG]   No helper found for module: clock.
      [01.01.2024 22:30.21.371] [LOG]   Initializing new module helper ...
      [01.01.2024 22:30.21.373] [LOG]   Module helper loaded: calendar
      [01.01.2024 22:30.21.375] [LOG]   No helper found for module: compliments.
      [01.01.2024 22:30.21.377] [LOG]   No helper found for module: weather.
      [01.01.2024 22:30.21.617] [LOG]   Initializing new module helper ...
      [01.01.2024 22:30.21.618] [LOG]   Module helper loaded: newsfeed
      [01.01.2024 22:30.21.619] [LOG]   All module helpers loaded.
      [01.01.2024 22:30.21.638] [LOG]   Starting server on port 8080 ... 
      [01.01.2024 22:30.22.091] [LOG]   Server started ...
      [01.01.2024 22:30.22.093] [LOG]   Connecting socket for: updatenotification
      [01.01.2024 22:30.22.095] [LOG]   Starting module helper: updatenotification
      [01.01.2024 22:30.22.097] [LOG]   Connecting socket for: calendar
      [01.01.2024 22:30.22.099] [LOG]   Starting node helper for: calendar
      [01.01.2024 22:30.22.100] [LOG]   Connecting socket for: newsfeed
      [01.01.2024 22:30.22.102] [LOG]   Starting node helper for: newsfeed
      [01.01.2024 22:30.22.103] [LOG]   Sockets connected & modules started ...
      [01.01.2024 22:30.22.128] [LOG]   Launching application.
      [01.01.2024 22:30.26.448] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/*****/basic.ics - Interval: 60000
      [01.01.2024 22:30.26.786] [LOG]   Create new newsfetcher for url: http://feeds.bbci.co.uk/news/world/rss.xml - Interval: 300000
      [01.01.2024 22:30.26.805] [LOG]   Create new newsfetcher for url: https://www.francetvinfo.fr/titres.rss - Interval: 300000
      [01.01.2024 22:30.26.834] [INFO]  updatenotification: Updater Class Loaded!
      [01.01.2024 22:30.26.838] [INFO]  updatenotification: Checking PM2 using...
      [01.01.2024 22:30.26.846] [INFO]  Checking git for module: MagicMirror
      [01.01.2024 22:30.28.718] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
      [01.01.2024 22:30.28.829] [INFO]  Newsfeed-Fetcher: reloadInterval set to ttl=900000 for url http://feeds.bbci.co.uk/news/world/rss.xml
      [01.01.2024 22:30.29.764] [INFO]  Newsfeed-Fetcher: Broadcasting 55 items.
      [01.01.2024 22:30.29.889] [INFO]  updatenotification: You are not using pm2
      [01.01.2024 22:34.21.451] [INFO]  Calendar-Fetcher: Broadcasting 196 events from https://calendar.google.com/calendar/ical/*****/basic.ics.
      Warning: vkCreateInstance: Found no drivers!
      Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
          at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
          at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
          at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
          at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
          at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
      
                      {
                              module: "calendar",
                              header: "What's next",
                              position: "top_left",
                              config: {
                                      calendars: [
                                              {
                                                      symbol: "calendar-check",
                                                      url: "https://calendar.google.com/calendar/ical/***/basic.ics"
                                              }
                                      ],
                                      limitDays: 30,
                                      maximumEntries: 15,
                                      wrapEvents: true,
                                      hidePrivate: true
                              }
                      },
      

      I tried with the sample calendar too (www.calendarlabs.com), it shows “no future events” but I assume it loaded the calendar just fine. I get the same warnings though.

      posted in Troubleshooting
      A
      avano
    • RE: Calendar not loading after update to 2.26

      @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... 
      
      posted in Troubleshooting
      A
      avano
    • 1 / 1