• 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.

Calendar not loading after update to 2.26

Scheduled Pinned Locked Moved Unsolved Troubleshooting
22 Posts 2 Posters 3.9k 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.
  • A Offline
    avano
    last edited by Jan 1, 2024, 10:36 PM

    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.

    S A 3 Replies Last reply Jan 1, 2024, 10:46 PM Reply Quote 1
    • S Offline
      sdetweil @avano
      last edited by Jan 1, 2024, 10:46 PM

      @avano can you show me output of

      uname -a
      lsb_release -a

      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 @avano
        last edited by Jan 2, 2024, 8:47 PM

        @sdetweil here they are:

        pi@raspberrypi:~ $ uname -a
        Linux raspberrypi 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
        pi@raspberrypi:~ $ lsb_release -a
        No LSB modules are available.
        Distributor ID: Debian
        Description: Debian GNU/Linux 11 (bullseye)
        Release: 11
        Codename: bullseye

        S 1 Reply Last reply Jan 2, 2024, 8:59 PM Reply Quote 0
        • S Offline
          sdetweil @avano
          last edited by Jan 2, 2024, 8:59 PM

          @avano cool, thx

          can u try the text fix I posted here

          https://github.com/MagicMirrorOrg/MagicMirror/issues/3329

          you DID get events once…

          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 Jan 2, 2024, 9:27 PM

            @sdetweil I replaced lines 58 to 84, but I can’t see any difference in the logs:

            pi@raspberrypi:~/MagicMirror $ npm start
            
            > magicmirror@2.26.0 start
            > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
            
            [02.01.2024 22:16.00.050] [LOG]   Starting MagicMirror: v2.26.0
            [02.01.2024 22:16.00.062] [LOG]   Loading config ...
            [02.01.2024 22:16.00.069] [DEBUG] config template file not exists, no envsubst
            [02.01.2024 22:16.00.078] [LOG]   Loading module helpers ...
            [02.01.2024 22:16.00.082] [LOG]   No helper found for module: alert.
            [02.01.2024 22:16.00.142] [LOG]   Initializing new module helper ...
            [02.01.2024 22:16.00.144] [LOG]   Module helper loaded: updatenotification
            [02.01.2024 22:16.00.146] [LOG]   No helper found for module: clock.
            [02.01.2024 22:16.00.475] [LOG]   Initializing new module helper ...
            [02.01.2024 22:16.00.478] [LOG]   Module helper loaded: calendar
            [02.01.2024 22:16.00.480] [LOG]   No helper found for module: compliments.
            [02.01.2024 22:16.00.482] [LOG]   No helper found for module: weather.
            [02.01.2024 22:16.00.724] [LOG]   Initializing new module helper ...
            [02.01.2024 22:16.00.725] [LOG]   Module helper loaded: newsfeed
            [02.01.2024 22:16.00.726] [LOG]   All module helpers loaded.
            [02.01.2024 22:16.00.745] [LOG]   Starting server on port 8080 ... 
            [02.01.2024 22:16.01.207] [LOG]   Server started ...
            [02.01.2024 22:16.01.210] [LOG]   Connecting socket for: updatenotification
            [02.01.2024 22:16.01.213] [LOG]   Starting module helper: updatenotification
            [02.01.2024 22:16.01.215] [LOG]   Connecting socket for: calendar
            [02.01.2024 22:16.01.218] [LOG]   Starting node helper for: calendar
            [02.01.2024 22:16.01.221] [LOG]   Connecting socket for: newsfeed
            [02.01.2024 22:16.01.224] [LOG]   Starting node helper for: newsfeed
            [02.01.2024 22:16.01.227] [LOG]   Sockets connected & modules started ...
            [02.01.2024 22:16.01.257] [LOG]   Launching application.
            [02.01.2024 22:16.05.686] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/*****/basic.ics - Interval: 3600000
            [02.01.2024 22:16.06.038] [LOG]   Create new newsfetcher for url: http://feeds.bbci.co.uk/news/world/rss.xml - Interval: 300000
            [02.01.2024 22:16.06.071] [LOG]   Create new newsfetcher for url: https://www.francetvinfo.fr/titres.rss - Interval: 300000
            [02.01.2024 22:16.06.081] [INFO]  updatenotification: Updater Class Loaded!
            [02.01.2024 22:16.06.082] [INFO]  updatenotification: Checking PM2 using...
            [02.01.2024 22:16.06.115] [INFO]  Checking git for module: MagicMirror
            [02.01.2024 22:16.07.782] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
            [02.01.2024 22:16.07.989] [INFO]  Newsfeed-Fetcher: reloadInterval set to ttl=900000 for url http://feeds.bbci.co.uk/news/world/rss.xml
            [02.01.2024 22:16.08.942] [INFO]  Newsfeed-Fetcher: Broadcasting 53 items.
            [02.01.2024 22:16.08.957] [INFO]  updatenotification: You are not using pm2
            [02.01.2024 22:20.00.092] [INFO]  Calendar-Fetcher: Broadcasting 241 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)
            
            [02.01.2024 22:21.08.585] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
            
            S 1 Reply Last reply Jan 2, 2024, 9:30 PM Reply Quote 0
            • S Offline
              sdetweil @avano
              last edited by sdetweil Jan 2, 2024, 9:32 PM Jan 2, 2024, 9:30 PM

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

              Calendar-Fetcher: Broadcasting 241 events

              well, it sent 241 entries to be put on the calendar

              update is 3600 000 milliseconds , or 1 hour

              did u wait that long?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 1 Reply Last reply Jan 2, 2024, 9:43 PM Reply Quote 0
              • S Offline
                sdetweil @sdetweil
                last edited by Jan 2, 2024, 9:43 PM

                @sdetweil and you redo

                cd ~/MagicMirror
                npm run install-mm
                

                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 Jan 2, 2024, 10:08 PM

                  @sdetweil

                  pi@raspberrypi:~/MagicMirror $ npm run install-mm
                  
                  > magicmirror@2.26.0 install-mm
                  > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
                  
                  npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.
                  
                  > magicmirror@2.26.0 postinstall
                  > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! 
                  > "
                  
                  
                  > magicmirror@2.26.0 install-vendor
                  > echo "Installing vendor files ...
                  > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
                  
                  Installing vendor files ...
                  
                  
                  up to date in 2s
                  
                  > magicmirror@2.26.0 install-fonts
                  > echo "Installing fonts ...
                  > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
                  
                  Installing fonts ...
                  
                  
                  up to date in 9s
                  MagicMirror² installation finished successfully! 
                  
                  
                  > magicmirror@2.26.0 prepare
                  > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
                  
                  no husky installed.
                  
                  up to date in 33s
                  

                  I changed to fetchInterval to 1 minute:

                  pi@raspberrypi:~/MagicMirror $ npm start
                  
                  > magicmirror@2.26.0 start
                  > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                  
                  [02.01.2024 22:52.55.268] [LOG]   Starting MagicMirror: v2.26.0
                  [02.01.2024 22:52.55.289] [LOG]   Loading config ...
                  [02.01.2024 22:52.55.296] [DEBUG] config template file not exists, no envsubst
                  [02.01.2024 22:52.55.305] [LOG]   Loading module helpers ...
                  [02.01.2024 22:52.55.308] [LOG]   No helper found for module: alert.
                  [02.01.2024 22:52.55.369] [LOG]   Initializing new module helper ...
                  [02.01.2024 22:52.55.370] [LOG]   Module helper loaded: updatenotification
                  [02.01.2024 22:52.55.373] [LOG]   No helper found for module: clock.
                  [02.01.2024 22:52.55.698] [LOG]   Initializing new module helper ...
                  [02.01.2024 22:52.55.700] [LOG]   Module helper loaded: calendar
                  [02.01.2024 22:52.55.703] [LOG]   No helper found for module: compliments.
                  [02.01.2024 22:52.55.705] [LOG]   No helper found for module: weather.
                  [02.01.2024 22:52.55.944] [LOG]   Initializing new module helper ...
                  [02.01.2024 22:52.55.945] [LOG]   Module helper loaded: newsfeed
                  [02.01.2024 22:52.55.946] [LOG]   All module helpers loaded.
                  [02.01.2024 22:52.55.965] [LOG]   Starting server on port 8080 ... 
                  [02.01.2024 22:52.56.423] [LOG]   Server started ...
                  [02.01.2024 22:52.56.426] [LOG]   Connecting socket for: updatenotification
                  [02.01.2024 22:52.56.429] [LOG]   Starting module helper: updatenotification
                  [02.01.2024 22:52.56.431] [LOG]   Connecting socket for: calendar
                  [02.01.2024 22:52.56.433] [LOG]   Starting node helper for: calendar
                  [02.01.2024 22:52.56.434] [LOG]   Connecting socket for: newsfeed
                  [02.01.2024 22:52.56.436] [LOG]   Starting node helper for: newsfeed
                  [02.01.2024 22:52.56.438] [LOG]   Sockets connected & modules started ...
                  [02.01.2024 22:52.56.466] [LOG]   Launching application.
                  [02.01.2024 22:53.00.880] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/*****/basic.ics - Interval: 60000
                  [02.01.2024 22:53.01.212] [LOG]   Create new newsfetcher for url: http://feeds.bbci.co.uk/news/world/rss.xml - Interval: 300000
                  [02.01.2024 22:53.01.230] [LOG]   Create new newsfetcher for url: https://www.francetvinfo.fr/titres.rss - Interval: 300000
                  [02.01.2024 22:53.01.240] [INFO]  updatenotification: Updater Class Loaded!
                  [02.01.2024 22:53.01.242] [INFO]  updatenotification: Checking PM2 using...
                  [02.01.2024 22:53.01.246] [INFO]  Checking git for module: MagicMirror
                  [02.01.2024 22:53.05.311] [INFO]  updatenotification: You are not using pm2
                  [02.01.2024 22:53.05.398] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
                  [02.01.2024 22:53.05.608] [INFO]  Newsfeed-Fetcher: reloadInterval set to ttl=900000 for url http://feeds.bbci.co.uk/news/world/rss.xml
                  [02.01.2024 22:53.06.250] [INFO]  Newsfeed-Fetcher: Broadcasting 50 items.
                  [02.01.2024 22:56.58.233] [INFO]  Calendar-Fetcher: Broadcasting 241 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)
                  
                  [02.01.2024 23:01.53.895] [INFO]  Calendar-Fetcher: Broadcasting 241 events from https://calendar.google.com/calendar/ical/*****/basic.ics.
                  [02.01.2024 23:01.54.614] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
                  

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

                  S 1 Reply Last reply Jan 2, 2024, 10:09 PM Reply Quote 0
                  • S Offline
                    sdetweil @avano
                    last edited by sdetweil Jan 2, 2024, 10:11 PM Jan 2, 2024, 10:09 PM

                    @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 Jan 2, 2024, 10:20 PM

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

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        3/22
                        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