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

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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
2 Posts 2 Posters 422 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 Aug 3, 2019, 10:30 AM

    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 Aug 3, 2019, 11:29 AM Reply Quote 0
    • S Away
      sdetweil @iceythegreatest
      last edited by Aug 3, 2019, 11:29 AM

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