Read the statement by Michael Teeuw here.
Default Calendar Troubleshooting - "No Upcoming Events"
-
Hello,
I am having some trouble with the default calendar module. I have the config set up I believe correctly and the secret iCal link downloads a file so I know that is working.
Config:
{ module: "calendar", header: "Skaggs Family Calendar", position: "bottom_right", // This can be any of the regions. Best results in left or right regions. config: { maximumEntries: 365, // Total Maximum Entries maximumNumberOfDays: 365, fetchInterval: 5 * 60 * 1000, // Update every 5 minutes. getRelative: 6, fadePoint: 0.25, // Start on 1/4th of the list. colored: true, coloredSymbolOnly: false, customEvents: [], // Array of {keyword: "", symbol: "", color: ""} where Keyword is a regexp and symbol/color are to be applied for matched tableClass: "small", calendars: [ { symbol: "calendar-alt", url: "https://calendar.google.com/calendar/ical/curlyq12391%40gmail.com/private-**xxxxxxxxx**/basic.ics", } ], broadcastEvents: true, sliceMultiDayEvents: false, broadcastPastEvents: true, nextDaysRelative: false, selfSignedCert: false } },
I am able to see that the calendar IS broadcasting events through the log, so I assume that is functioning correctly…
Logs:
0|mm | > magicmirror@2.20.0 start 0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|mm | [28.09.2022 07:29.56.841] [LOG] 0|mm | Starting MagicMirror: v2.20.0 0|mm | [28.09.2022 07:29.56.850] [LOG] 0|mm | Loading config ... 0|mm | [28.09.2022 07:29.56.858] [LOG] 0|mm | Loading module helpers ... 0|mm | [28.09.2022 07:29.56.863] [LOG] 0|mm | No helper found for module: MMM-pages. 0|mm | [28.09.2022 07:29.56.867] [LOG] 0|mm | No helper found for module: MMM-page-indicator. 0|mm | [28.09.2022 07:29.56.871] [LOG] 0|mm | No helper found for module: alert. 0|mm | [28.09.2022 07:29.56.891] [LOG] 0|mm | Initializing new module helper ... 0|mm | [28.09.2022 07:29.56.894] [LOG] 0|mm | Module helper loaded: updatenotification 0|mm | [28.09.2022 07:29.56.898] [LOG] 0|mm | No helper found for module: clock. 0|mm | [28.09.2022 07:29.57.195] [LOG] Initializing new module helper ... 0|mm | [28.09.2022 07:29.57.197] [LOG] Module helper loaded: calendar 0|mm | [28.09.2022 07:29.57.198] [LOG] 0|mm | No helper found for module: MMM-CalendarExt3. 0|mm | [28.09.2022 07:29.57.232] [LOG] 0|mm | Initializing new module helper ... 0|mm | [28.09.2022 07:29.57.234] [LOG] 0|mm | Module helper loaded: newsfeed 0|mm | [28.09.2022 07:29.57.334] [LOG] 0|mm | Initializing new module helper ... 0|mm | [28.09.2022 07:29.57.335] [LOG] 0|mm | Module helper loaded: MMM-OpenWeatherForecast 0|mm | [28.09.2022 07:29.59.336] [LOG] 0|mm | Initializing new module helper ... 0|mm | [28.09.2022 07:29.59.337] [LOG] Module helper loaded: MMM-RemoteCompliments 0|mm | [28.09.2022 07:29.59.339] [LOG] 0|mm | No helper found for module: MMM-Cursor. 0|mm | [28.09.2022 07:29.59.342] [LOG] 0|mm | Initializing new module helper ... 0|mm | [28.09.2022 07:29.59.342] [LOG] Module helper loaded: MMM-Touch 0|mm | [28.09.2022 07:29.59.343] [LOG] All module helpers loaded. 0|mm | [28.09.2022 07:29.59.468] [LOG] 0|mm | Starting server on port 8080 ... 0|mm | [28.09.2022 07:29.59.483] [LOG] 0|mm | Server started ... 0|mm | [28.09.2022 07:29.59.485] [LOG] Connecting socket for: updatenotification 0|mm | [28.09.2022 07:29.59.486] [LOG] 0|mm | Starting module helper: updatenotification 0|mm | [28.09.2022 07:29.59.487] [LOG] Connecting socket for: calendar 0|mm | [28.09.2022 07:29.59.488] [LOG] Starting node helper for: calendar 0|mm | [28.09.2022 07:29.59.489] [LOG] Connecting socket for: newsfeed 0|mm | [28.09.2022 07:29.59.490] [LOG] Starting node helper for: newsfeed 0|mm | [28.09.2022 07:29.59.491] [LOG] Connecting socket for: MMM-OpenWeatherForecast 0|mm | [28.09.2022 07:29.59.493] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast] 0|mm | [28.09.2022 07:29.59.494] [LOG] Connecting socket for: MMM-RemoteCompliments 0|mm | [28.09.2022 07:29.59.497] [LOG] Starting node helper for: MMM-RemoteCompliments 0|mm | [28.09.2022 07:29.59.497] [LOG] Connecting socket for: MMM-Touch 0|mm | [28.09.2022 07:29.59.498] [LOG] Starting module helper: MMM-Touch 0|mm | [28.09.2022 07:29.59.498] [LOG] Sockets connected & modules started ... 0|mm | [28.09.2022 07:29.59.855] [LOG] 0|mm | Launching application. 0|mm | MESA-LOADER: failed to retrieve device information 0|mm | MESA-LOADER: failed to retrieve device information 0|mm | MESA-LOADER: failed to retrieve device information 0|mm | MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri) 0|mm | failed to load driver: kms_swrast 0|mm | MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri) 0|mm | failed to load swrast driver 0|mm | [28.09.2022 07:30.03.015] [LOG] 0|mm | Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/curlyq12391%40gmail.com/private-**xxxxxxxxx**/basic.ics - Interval: 300000 0|mm | [28.09.2022 07:30.03.112] [LOG] 0|mm | Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|mm | [28.09.2022 07:30.03.147] [INFO] 0|mm | Checking git for module: MMM-pages 0|mm | [28.09.2022 07:30.03.210] [INFO] 0|mm | Checking git for module: MMM-page-indicator 0|mm | [28.09.2022 07:30.03.243] [INFO] 0|mm | Checking git for module: MMM-CalendarExt3 0|mm | [28.09.2022 07:30.03.301] [INFO] 0|mm | Checking git for module: MMM-OpenWeatherForecast 0|mm | [28.09.2022 07:30.03.331] [INFO] 0|mm | Checking git for module: MMM-RemoteCompliments 0|mm | [28.09.2022 07:30.03.362] [INFO] 0|mm | Checking git for module: MMM-Cursor 0|mm | [28.09.2022 07:30.03.400] [INFO] 0|mm | Checking git for module: MMM-Touch 0|mm | [28.09.2022 07:30.03.432] [INFO] 0|mm | Checking git for module: default 0|mm | [28.09.2022 07:30.03.760] [INFO] 0|mm | Newsfeed-Fetcher: Broadcasting 38 items. 0|mm | [28.09.2022 07:30.08.243] [INFO] 0|mm | Calendar-Fetcher: Broadcasting 365 events.
However, when MM renders the module just says “No Upcoming Events”.
is there anything that I seem to be missing or something I can try? I can get the calendar to load with MMM-GoogleCalendar, but that module doesn’t broadcast past events so it makes MMM-CalendarExt3 pointless…which is why I was trying to use the default calendar module instead.
-
@CurlyQ12391 this is probably due to the bug i introduced in 2.20. it chops off the collection of old+new events at maxEntries
looks like u have lots of old events ( I see crap from 2017 in my list of old)
anyhow. fix coming in 2.21 (on Saturday), or make maxEntries bigger in the short term
365 events broadcast and none showing means there are all old. we don’t display old.
-
@sdetweil omg you are amazing!
I increassed the maximumEntries value to “1000000” and viola everything populated into MMM-CalendarExt3. I had previously increased it to “10000”, but apparently I just had too many old events.
After the fix is rolled out should I decrease the maximumEntries value to a smaller number or can I leave it as is? I dont want to break mine after you fix it (haha).
-
@CurlyQ12391 you should decrease it. let me look at the fix to see what it does
-
@CurlyQ12391 maxEntries applies only to today forward. past are broadcast too
only today forward are used in cal module