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.

    Default calendar shows no items when a series is in the calendar

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 482 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.
    • I Offline
      iceythegreatest
      last edited by

      Dear,

      i am using MM version 2.8.0 with the default calendar. Because the module is not able to get my caldav directly i download it via curl into a locally file and in the config of the calendar i am just pointing to the local caldav like this:

      		{
      			module: "calendar",
      			header: "Chaoskalender",
      			position: "top_left",
      				config: {
      					colored: false,
      					coloredSymbolOnly: false,
      				calendars: [
      						{
      					url: "http://127.0.0.1:8080/modules/calendars/chaos.ics",
      					symbol: "calendar",
      					
      					}
      			]
      		}
      
      	},
      
      

      Works good so far BUT as soon as i create a series of events i get following error messages:

      No toISOString function in curr.start 00)":20190909T164500
      Whoops! There was an uncaught exception...
      TypeError: event.start.getFullYear is not a function
          at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:270:33
          at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:18:4)
          at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
          at Request.emit (events.js:189:13)
          at Request.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:189:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:277:13)
          at IncomingMessage.emit (events.js:194:15)
          at endReadableNT (_stream_readable.js:1103:12)
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      

      In outlook, on the iphone or even in the groupware it is displayed perfectly without any issues.
      So if anyone has an idea or solution to fix this issue i would be very glad in getting help here because i don´t have any ideas anymore.

      Thanks in advance
      icey

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @iceythegreatest
        last edited by

        @iceythegreatest

        looks like the caldav to ics doesn’t produce the info in the format the latest code expects. (ISOStrings)

        i think this is another bug. I suggest you open an issue on github for MagicMirror so someone can look at it eventually. (This is all volunteer, and anyone can propose a fix)

        comment in calendarfetcher.js is

        // ical.js started returning recurrences and exdates as ISOStrings without time information.
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          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