• 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.
  • 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
            • A Offline
              avano
              last edited by Jan 4, 2024, 8:28 PM

              @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 Jan 4, 2024, 9:12 PM Reply Quote 0
              • S Offline
                sdetweil @avano
                last edited by sdetweil Jan 4, 2024, 11:20 PM Jan 4, 2024, 9:12 PM

                @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 Jan 4, 2024, 9:12 PM

                  @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 Jan 4, 2024, 11:20 PM

                    @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 Jan 5, 2024, 2:03 PM

                      @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
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        10/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