Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Calendary Won't load

    Troubleshooting
    calendar
    2
    2
    1323
    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.
    • F
      fuzzylogic725 last edited by

      I have three calendars modules running on the MM interface.
      The first one is a personal calendar from ical, this works perfectly, the second is a publicly available holiday calendar, and the third is a second personal calendar concerning something different.

      The first two calendars work flawlessly, however, the third when using the same coding as the first two remains as “Loading”

      When i query pm2 for logs i get this

      0|mm | (node:1055) DeprecationWarning: sys is deprecated. Use util instead.
      0|mm | Error: dates lower than Thu Jan 01 1970 00:00:00 GMT-0500 (EST) are not supported
      0|mm | at Object.toOrdinal (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:105:15)
      0|mm | at Iterinfo.rebuild (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:1409:35)
      0|mm | at RRule._iter (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:978:10)
      0|mm | at RRule.between (/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js:794:21)
      0|mm | at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:122:24
      0|mm | at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:5)
      0|mm | at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:188:22)
      0|mm | at emitTwo (events.js:106:13)
      0|mm | at Request.emit (events.js:191:7)
      0|mm | at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1171:10)

      Additionally, this is the calendar code

      {		
      	module: 'calendar',
      	header: 'Personal',
      	position: 'top_right',
      	config: {
      		calendars: [					
      			{
      		url:'https://p33-calendars.icloud.com/published/2/private'
      			},
      				],
      		},
      },
      tgeimer 1 Reply Last reply Reply Quote 0
      • tgeimer
        tgeimer @fuzzylogic725 last edited by

        @fuzzylogic725
        I had the same issue and fixed it:
        https://forum.magicmirror.builders/post/19902

        The hint is in line two of the logs: dates before 1970 are not permitted.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy