nextcloud / calendar

πŸ“† Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
979 stars 241 forks source link

Importing ICS file failed #2064

Closed XAMPPRocky closed 4 years ago

XAMPPRocky commented 4 years ago

Steps to reproduce

  1. Download ICS file https://calendar.google.com/calendar/ical/6u5rrtce6lrtv07pfi3damgjus%40group.calendar.google.com/public/basic.ics 2.Import ICS file into nextcloud calendar

Expected behaviour

All of the events are imported.

Actual behaviour

Some of the events fail to be imported.

Calendar app

Calendar app version: 2.0.2

Client configuration

Browser: Safari 13.0.5 (15608.5.11)

Operating system: macOS 10.15.3 (19D76)

Nextcloud configuration: Default install_nextcloud_production.sh installation

Logs

Web server error log (e.g. /var/log/apache)

example.org:443 89.249.73.34 - - [09/Mar/2020:16:14:32 +0000] "PUT /remote.php/dav/calendars/admin/compiler-team/F76345D9-D201-452C-BC40-943E127E531C.ics HTTP/2.0" 500 296 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15"

Log file (data/nextcloud.log)

{
  "reqId": "6riwMckSj6dcwcvHGi9y",
  "level": 4,
  "time": "2020-03-09T16:14:32+00:00",
  "remoteAddr": "89.249.73.34",
  "user": "admin",
  "app": "webdav",
  "method": "PUT",
  "url": "/remote.php/dav/calendars/admin/compiler-team/F76345D9-D201-452C-BC40-943E127E531C.ics",
  "message": {
    "Exception": "Sabre\\VObject\\Recur\\NoInstancesException",
    "Message": "This recurrence rule does not generate any valid instances",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php",
        "line": 2260,
        "function": "__construct",
        "class": "Sabre\\VObject\\Recur\\EventIterator",
        "type": "->",
        "args": [
          {
            "name": "VCALENDAR",
            "parent": null,
            "__class__": "Sabre\\VObject\\Component\\VCalendar"
          },
          "jirfsh5q49jp9nc7gq195tdcgp_R20191223T200000@google.com"
        ]
      },
      {
        "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php",
        "line": 1054,
        "function": "getDenormalizedData",
        "class": "OCA\\DAV\\CalDAV\\CalDavBackend",
        "type": "->",
        "args": [
          "BEGIN:VCALENDAR\r\nCALSCALE:GREGORIAN\r\nVERSION:2.0\r\nPRODID:-//Google Inc//Google Calendar 70.9054//EN\r\nBEGIN:VTIMEZONE\r\nTZID:America/New_York\r\nBEGIN:DAYLIGHT\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nTZNAME:EDT\r\nDTSTART:19700308T020000\r\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nTZNAME:EST\r\nDTSTART:19701101T020000\r\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r\nEND:STANDARD\r\nEND:VTIMEZONE\r\nBEGIN:VEVENT\r\nDTSTART;TZID=America/New_York:20191223T150000\r\nDTEND;TZID=America/New_York:20191223T160000\r\nRRULE:FREQ=WEEKLY;BYDAY=MO;UNTIL=20200106T045959Z\r\nEXDATE;TZID=America/New_York:20191230T150000\r\nEXDATE;TZID=America/New_York:20191223T150000\r\nDTSTAMP:20200309T161339Z\r\nUID:jirfsh5q49jp9nc7gq195tdcgp_R20191223T200000@google.com\r\nCREATED:20190927T175545Z\r\nDESCRIPTION:<br>WG Parallel Planning: https://hackmd.io/_1S8_ChMSa2N8mRw6Es\r\n GPA<br><br><br>──────────Nicholas Matsakis is inviting you to a scheduled Z\r\n oom meeting.<br><br>Join Zoom Meeting<br><br>Meeting ID: 462 096 851<br><a \r\n href=\"https://mozilla.zoom.us/j/462096851\">https://mozilla.zoom.us/j/462096\r\n 851</a><br><br>One tap mobile<br>+16465588656\\,\\,462096851# US (New York)<b\r\n r>+17207072699\\,\\,462096851# US (Denver)<br><br>Dial by your location<br>&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 646 558 8656 US (N\r\n ew York)<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 720 \r\n 707 2699 US (Denver)<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;877 853 5257 US Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\\r\n ;&nbsp\\;&nbsp\\;+61 8 7150 1149 Australia<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nb\r\n sp\\;&nbsp\\;&nbsp\\;&nbsp\\;+61 2 8015 6011 Australia<br>&nbsp\\;&nbsp\\;&nbsp\\;\r\n &nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;1800 893 423 Australia Toll-free<br>&nbs\r\n p\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 647 558 0588 Canada<\r\n br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;855 703 8985 Can\r\n ada Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+3\r\n 3 7 5678 4048 France<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;+33 1 7037 9729 France<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;&nbsp\\;0 805 082 588 France Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&\r\n nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 30 5679 5800 Germany<br>&nbsp\\;&nbsp\\;&nbsp\\\r\n ;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 69 7104 9922 Germany<br>&nbsp\\;&nbs\r\n p\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 30 3080 6188 Germany<br>&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;0 800 724 3138 German\r\n y Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+852\r\n  5808 6088 Hong Kong\\, China<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&\r\n nbsp\\;&nbsp\\;800 906 780 Hong Kong\\, China Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\r\n \\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 203 051 2874 United Kingdom<br>&nb\r\n sp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 203 481 5237 Unite\r\n d Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 20\r\n 3 966 3809 United Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbs\r\n p\\;&nbsp\\;+44 131 460 1196 United Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;0 800 031 5717 United Kingdom Toll-free<br>Find y\r\n our local number: <a href=\"https://zoom.us/u/abZGsYWUqA\">https://zoom.us/u/\r\n abZGsYWUqA</a><br><br>──────────\r\nLAST-MODIFIED:20191219T200359Z\r\nLOCATION:https://mozilla.zoom.us/j/462096851\r\nSEQUENCE:3\r\nSTATUS:CONFIRMED\r\nSUMMARY:Parallel WG planning meeting\r\nTRANSP:OPAQUE\r\nEND:VEVENT\r\nEND:VCALENDAR"
        ]
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Calendar.php",
        "line": 201,
        "function": "createCalendarObject",
        "class": "OCA\\DAV\\CalDAV\\CalDavBackend",
        "type": "->",
        "args": [
          4,
          "F76345D9-D201-452C-BC40-943E127E531C.ics",
          "BEGIN:VCALENDAR\r\nCALSCALE:GREGORIAN\r\nVERSION:2.0\r\nPRODID:-//Google Inc//Google Calendar 70.9054//EN\r\nBEGIN:VTIMEZONE\r\nTZID:America/New_York\r\nBEGIN:DAYLIGHT\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nTZNAME:EDT\r\nDTSTART:19700308T020000\r\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nTZNAME:EST\r\nDTSTART:19701101T020000\r\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r\nEND:STANDARD\r\nEND:VTIMEZONE\r\nBEGIN:VEVENT\r\nDTSTART;TZID=America/New_York:20191223T150000\r\nDTEND;TZID=America/New_York:20191223T160000\r\nRRULE:FREQ=WEEKLY;BYDAY=MO;UNTIL=20200106T045959Z\r\nEXDATE;TZID=America/New_York:20191230T150000\r\nEXDATE;TZID=America/New_York:20191223T150000\r\nDTSTAMP:20200309T161339Z\r\nUID:jirfsh5q49jp9nc7gq195tdcgp_R20191223T200000@google.com\r\nCREATED:20190927T175545Z\r\nDESCRIPTION:<br>WG Parallel Planning: https://hackmd.io/_1S8_ChMSa2N8mRw6Es\r\n GPA<br><br><br>──────────Nicholas Matsakis is inviting you to a scheduled Z\r\n oom meeting.<br><br>Join Zoom Meeting<br><br>Meeting ID: 462 096 851<br><a \r\n href=\"https://mozilla.zoom.us/j/462096851\">https://mozilla.zoom.us/j/462096\r\n 851</a><br><br>One tap mobile<br>+16465588656\\,\\,462096851# US (New York)<b\r\n r>+17207072699\\,\\,462096851# US (Denver)<br><br>Dial by your location<br>&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 646 558 8656 US (N\r\n ew York)<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 720 \r\n 707 2699 US (Denver)<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;877 853 5257 US Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\\r\n ;&nbsp\\;&nbsp\\;+61 8 7150 1149 Australia<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nb\r\n sp\\;&nbsp\\;&nbsp\\;&nbsp\\;+61 2 8015 6011 Australia<br>&nbsp\\;&nbsp\\;&nbsp\\;\r\n &nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;1800 893 423 Australia Toll-free<br>&nbs\r\n p\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 647 558 0588 Canada<\r\n br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;855 703 8985 Can\r\n ada Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+3\r\n 3 7 5678 4048 France<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;+33 1 7037 9729 France<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;&nbsp\\;0 805 082 588 France Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&\r\n nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 30 5679 5800 Germany<br>&nbsp\\;&nbsp\\;&nbsp\\\r\n ;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 69 7104 9922 Germany<br>&nbsp\\;&nbs\r\n p\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 30 3080 6188 Germany<br>&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;0 800 724 3138 German\r\n y Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+852\r\n  5808 6088 Hong Kong\\, China<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&\r\n nbsp\\;&nbsp\\;800 906 780 Hong Kong\\, China Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\r\n \\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 203 051 2874 United Kingdom<br>&nb\r\n sp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 203 481 5237 Unite\r\n d Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 20\r\n 3 966 3809 United Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbs\r\n p\\;&nbsp\\;+44 131 460 1196 United Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;0 800 031 5717 United Kingdom Toll-free<br>Find y\r\n our local number: <a href=\"https://zoom.us/u/abZGsYWUqA\">https://zoom.us/u/\r\n abZGsYWUqA</a><br><br>──────────\r\nLAST-MODIFIED:20191219T200359Z\r\nLOCATION:https://mozilla.zoom.us/j/462096851\r\nSEQUENCE:3\r\nSTATUS:CONFIRMED\r\nSUMMARY:Parallel WG planning meeting\r\nTRANSP:OPAQUE\r\nEND:VEVENT\r\nEND:VCALENDAR"
        ]
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 1096,
        "function": "createFile",
        "class": "Sabre\\CalDAV\\Calendar",
        "type": "->",
        "args": [
          "F76345D9-D201-452C-BC40-943E127E531C.ics",
          "BEGIN:VCALENDAR\r\nCALSCALE:GREGORIAN\r\nVERSION:2.0\r\nPRODID:-//Google Inc//Google Calendar 70.9054//EN\r\nBEGIN:VTIMEZONE\r\nTZID:America/New_York\r\nBEGIN:DAYLIGHT\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nTZNAME:EDT\r\nDTSTART:19700308T020000\r\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nTZNAME:EST\r\nDTSTART:19701101T020000\r\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r\nEND:STANDARD\r\nEND:VTIMEZONE\r\nBEGIN:VEVENT\r\nDTSTART;TZID=America/New_York:20191223T150000\r\nDTEND;TZID=America/New_York:20191223T160000\r\nRRULE:FREQ=WEEKLY;BYDAY=MO;UNTIL=20200106T045959Z\r\nEXDATE;TZID=America/New_York:20191230T150000\r\nEXDATE;TZID=America/New_York:20191223T150000\r\nDTSTAMP:20200309T161339Z\r\nUID:jirfsh5q49jp9nc7gq195tdcgp_R20191223T200000@google.com\r\nCREATED:20190927T175545Z\r\nDESCRIPTION:<br>WG Parallel Planning: https://hackmd.io/_1S8_ChMSa2N8mRw6Es\r\n GPA<br><br><br>──────────Nicholas Matsakis is inviting you to a scheduled Z\r\n oom meeting.<br><br>Join Zoom Meeting<br><br>Meeting ID: 462 096 851<br><a \r\n href=\"https://mozilla.zoom.us/j/462096851\">https://mozilla.zoom.us/j/462096\r\n 851</a><br><br>One tap mobile<br>+16465588656\\,\\,462096851# US (New York)<b\r\n r>+17207072699\\,\\,462096851# US (Denver)<br><br>Dial by your location<br>&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 646 558 8656 US (N\r\n ew York)<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 720 \r\n 707 2699 US (Denver)<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;877 853 5257 US Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\\r\n ;&nbsp\\;&nbsp\\;+61 8 7150 1149 Australia<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nb\r\n sp\\;&nbsp\\;&nbsp\\;&nbsp\\;+61 2 8015 6011 Australia<br>&nbsp\\;&nbsp\\;&nbsp\\;\r\n &nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;1800 893 423 Australia Toll-free<br>&nbs\r\n p\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 647 558 0588 Canada<\r\n br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;855 703 8985 Can\r\n ada Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+3\r\n 3 7 5678 4048 France<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;+33 1 7037 9729 France<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;&nbsp\\;0 805 082 588 France Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&\r\n nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 30 5679 5800 Germany<br>&nbsp\\;&nbsp\\;&nbsp\\\r\n ;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 69 7104 9922 Germany<br>&nbsp\\;&nbs\r\n p\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 30 3080 6188 Germany<br>&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;0 800 724 3138 German\r\n y Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+852\r\n  5808 6088 Hong Kong\\, China<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&\r\n nbsp\\;&nbsp\\;800 906 780 Hong Kong\\, China Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\r\n \\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 203 051 2874 United Kingdom<br>&nb\r\n sp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 203 481 5237 Unite\r\n d Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 20\r\n 3 966 3809 United Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbs\r\n p\\;&nbsp\\;+44 131 460 1196 United Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;0 800 031 5717 United Kingdom Toll-free<br>Find y\r\n our local number: <a href=\"https://zoom.us/u/abZGsYWUqA\">https://zoom.us/u/\r\n abZGsYWUqA</a><br><br>──────────\r\nLAST-MODIFIED:20191219T200359Z\r\nLOCATION:https://mozilla.zoom.us/j/462096851\r\nSEQUENCE:3\r\nSTATUS:CONFIRMED\r\nSUMMARY:Parallel WG planning meeting\r\nTRANSP:OPAQUE\r\nEND:VEVENT\r\nEND:VCALENDAR"
        ]
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
        "line": 525,
        "function": "createFile",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": [
          "calendars/admin/compiler-team/F76345D9-D201-452C-BC40-943E127E531C.ics",
          "BEGIN:VCALENDAR\r\nCALSCALE:GREGORIAN\r\nVERSION:2.0\r\nPRODID:-//Google Inc//Google Calendar 70.9054//EN\r\nBEGIN:VTIMEZONE\r\nTZID:America/New_York\r\nBEGIN:DAYLIGHT\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nTZNAME:EDT\r\nDTSTART:19700308T020000\r\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nTZNAME:EST\r\nDTSTART:19701101T020000\r\nRRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r\nEND:STANDARD\r\nEND:VTIMEZONE\r\nBEGIN:VEVENT\r\nDTSTART;TZID=America/New_York:20191223T150000\r\nDTEND;TZID=America/New_York:20191223T160000\r\nRRULE:FREQ=WEEKLY;BYDAY=MO;UNTIL=20200106T045959Z\r\nEXDATE;TZID=America/New_York:20191230T150000\r\nEXDATE;TZID=America/New_York:20191223T150000\r\nDTSTAMP:20200309T161339Z\r\nUID:jirfsh5q49jp9nc7gq195tdcgp_R20191223T200000@google.com\r\nCREATED:20190927T175545Z\r\nDESCRIPTION:<br>WG Parallel Planning: https://hackmd.io/_1S8_ChMSa2N8mRw6Es\r\n GPA<br><br><br>──────────Nicholas Matsakis is inviting you to a scheduled Z\r\n oom meeting.<br><br>Join Zoom Meeting<br><br>Meeting ID: 462 096 851<br><a \r\n href=\"https://mozilla.zoom.us/j/462096851\">https://mozilla.zoom.us/j/462096\r\n 851</a><br><br>One tap mobile<br>+16465588656\\,\\,462096851# US (New York)<b\r\n r>+17207072699\\,\\,462096851# US (Denver)<br><br>Dial by your location<br>&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 646 558 8656 US (N\r\n ew York)<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 720 \r\n 707 2699 US (Denver)<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;877 853 5257 US Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\\r\n ;&nbsp\\;&nbsp\\;+61 8 7150 1149 Australia<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nb\r\n sp\\;&nbsp\\;&nbsp\\;&nbsp\\;+61 2 8015 6011 Australia<br>&nbsp\\;&nbsp\\;&nbsp\\;\r\n &nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;1800 893 423 Australia Toll-free<br>&nbs\r\n p\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+1 647 558 0588 Canada<\r\n br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;855 703 8985 Can\r\n ada Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+3\r\n 3 7 5678 4048 France<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;+33 1 7037 9729 France<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;&nbsp\\;0 805 082 588 France Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&\r\n nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 30 5679 5800 Germany<br>&nbsp\\;&nbsp\\;&nbsp\\\r\n ;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 69 7104 9922 Germany<br>&nbsp\\;&nbs\r\n p\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+49 30 3080 6188 Germany<br>&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;0 800 724 3138 German\r\n y Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+852\r\n  5808 6088 Hong Kong\\, China<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&\r\n nbsp\\;&nbsp\\;800 906 780 Hong Kong\\, China Toll-free<br>&nbsp\\;&nbsp\\;&nbsp\r\n \\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 203 051 2874 United Kingdom<br>&nb\r\n sp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 203 481 5237 Unite\r\n d Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;+44 20\r\n 3 966 3809 United Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&nbs\r\n p\\;&nbsp\\;+44 131 460 1196 United Kingdom<br>&nbsp\\;&nbsp\\;&nbsp\\;&nbsp\\;&n\r\n bsp\\;&nbsp\\;&nbsp\\;&nbsp\\;0 800 031 5717 United Kingdom Toll-free<br>Find y\r\n our local number: <a href=\"https://zoom.us/u/abZGsYWUqA\">https://zoom.us/u/\r\n abZGsYWUqA</a><br><br>──────────\r\nLAST-MODIFIED:20191219T200359Z\r\nLOCATION:https://mozilla.zoom.us/j/462096851\r\nSEQUENCE:3\r\nSTATUS:CONFIRMED\r\nSUMMARY:Parallel WG planning meeting\r\nTRANSP:OPAQUE\r\nEND:VEVENT\r\nEND:VCALENDAR",
          null
        ]
      },
      {
        "function": "httpPut",
        "class": "Sabre\\DAV\\CorePlugin",
        "type": "->",
        "args": [
          {
            "absoluteUrl": "https://example.org/remote.php/dav/calendars/admin/compiler-team/F76345D9-D201-452C-BC40-943E127E531C.ics",
            "__class__": "Sabre\\HTTP\\Request"
          },
          {
            "__class__": "Sabre\\HTTP\\Response"
          }
        ]
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php",
        "line": 105,
        "function": "call_user_func_array",
        "args": [
          [
            {
              "__class__": "Sabre\\DAV\\CorePlugin"
            },
            "httpPut"
          ],
          [
            {
              "absoluteUrl": "https://example.org/remote.php/dav/calendars/admin/compiler-team/F76345D9-D201-452C-BC40-943E127E531C.ics",
              "__class__": "Sabre\\HTTP\\Request"
            },
            {
              "__class__": "Sabre\\HTTP\\Response"
            }
          ]
        ]
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 479,
        "function": "emit",
        "class": "Sabre\\Event\\EventEmitter",
        "type": "->",
        "args": [
          "method:PUT",
          [
            {
              "absoluteUrl": "https://example.org/remote.php/dav/calendars/admin/compiler-team/F76345D9-D201-452C-BC40-943E127E531C.ics",
              "__class__": "Sabre\\HTTP\\Request"
            },
            {
              "__class__": "Sabre\\HTTP\\Response"
            }
          ]
        ]
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 254,
        "function": "invokeMethod",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": [
          {
            "absoluteUrl": "https://example.org/remote.php/dav/calendars/admin/compiler-team/F76345D9-D201-452C-BC40-943E127E531C.ics",
            "__class__": "Sabre\\HTTP\\Request"
          },
          {
            "__class__": "Sabre\\HTTP\\Response"
          }
        ]
      },
      {
        "file": "/var/www/nextcloud/apps/dav/lib/Server.php",
        "line": 319,
        "function": "exec",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php",
        "line": 35,
        "function": "exec",
        "class": "OCA\\DAV\\Server",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/nextcloud/remote.php",
        "line": 165,
        "args": [
          "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/EventIterator.php",
    "Line": 203,
    "CustomMessage": "--"
  },
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15",
  "version": "18.0.1.3"
}

Browser log

[Error] Failed to load resource: the server responded with a status of 500 () (0E4423E3-DA88-4410-B839-61B181CAF323.ics, line 0)
[Error] Error
construct
t β€” attachError.js:36
t β€” calendar.js:2:1381064
t β€” calendar.js:2:1382116
(anonymous function) β€” request.js:361

    (anonymous function) (calendar.js:2:2725483)
    c (calendar.js:2:1020392)
    (anonymous function) (calendar.js:2:1020142)
    Um (calendar.js:2:2709751)
    s (calendar.js:2:2709994)
    promiseReactionJob
> Selected Element
< <ul id="calendars-list" data-v-104b2b10>…</ul>
georgehrke commented 4 years ago

please use the entire issue template.

Unless you fill out the issue template completely including all logs, we can't go ahead and help you.

All three logs requested are very crucial here.

XAMPPRocky commented 4 years ago

@georgehrke Thank you, I've now included them. I didn't initially as most of it is garbage, however I believe I've traced the event that is causing the issue and posted the logs for that event above.

georgehrke commented 4 years ago

Okay, so the server is complaining that you are trying to import an event without occurrences.

This is the event in question:

BEGIN:VCALENDAR
CALSCALE:GREGORIAN
VERSION:2.0
PRODID:-//Google Inc//Google Calendar 70.9054//EN
BEGIN:VTIMEZONE
TZID:America/New_York
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/New_York:20191223T150000
DTEND;TZID=America/New_York:20191223T160000
RRULE:FREQ=WEEKLY;BYDAY=MO;UNTIL=20200106T045959Z
EXDATE;TZID=America/New_York:20191230T150000
EXDATE;TZID=America/New_York:20191223T150000
DTSTAMP:20200309T161339Z
UID:jirfsh5q49jp9nc7gq195tdcgp_R20191223T200000@google.com
CREATED:20190927T175545Z
DESCRIPTION:...
LAST-MODIFIED:20191219T200359Z
LOCATION:https://mozilla.zoom.us/j/462096851
SEQUENCE:3
STATUS:CONFIRMED
SUMMARY:Parallel WG planning meeting
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

(I truncated the description).

The event starts on 2019-12-23 3pm New York time. It's recurring weekly on Mondays until 2020-01-06 4:59 UTC (equals 2020-01-05 11:59pm in New York).

So if we expand this recurrence rule manually, we end up with the following occurrences:

  1. 2019-12-23 3pm New York time
  2. 2019-12-30 3pm New York time.

Now let's look at the EXDATEs, which cancel recurrence instances: The event contains two, which match the recurrence-rules above:

EXDATE;TZID=America/New_York:20191230T150000
EXDATE;TZID=America/New_York:20191223T150000

Hence this ics is resulting in exactly zero events when expanding.

georgehrke commented 4 years ago

For the ICS data discussed in the previous comment, it's the expected behavior that the server rejects an import, because you don't want to store calendar data that doesn't generate any valid events.

What we could probably improve here is the error reporting. Depending on the error, the server will return different messages:

georgehrke commented 4 years ago

Closing in favour of https://github.com/nextcloud/calendar/issues/2065