I am unable to import a .ics file I just exported from Nextcloud. I am running version 31.0.6. I get these errors: “no valid files found” and “personal.ics could not be parsed”.
Import into what?
‘Could not be parsed’ could mean that one programme exports to a format that the other cannot read.
Can you re-import your export back into the same programme?
Nextcloud calendar.
That’s what I tried.
Please export a test and send it here.
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:-//SabreDAV//SabreDAV//EN
X-WR-CALNAME:test
X-APPLE-CALENDAR-COLOR:#499AA2
REFRESH-INTERVAL;VALUE=DURATION:PT4H
X-PUBLISHED-TTL:PT4H
END:VCALENDAR
Thanks, please include a test appointment, any optional any further test informations.
Sorry, here:
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:-//SabreDAV//SabreDAV//EN
X-WR-CALNAME:test
X-APPLE-CALENDAR-COLOR:#499AA2
REFRESH-INTERVAL;VALUE=DURATION:PT4H
X-PUBLISHED-TTL:PT4H
BEGIN:VEVENT
CREATED:20250618T124649Z
DTSTAMP:20250618T124701Z
LAST-MODIFIED:20250618T124701Z
SEQUENCE:2
UID:d71cf458-5c28-4e18-ac63-dd8bf303f2ca
DTSTART;VALUE=DATE:20250618
DTEND;VALUE=DATE:20250619
STATUS:CONFIRMED
SUMMARY:test
LOCATION:test
DESCRIPTION:test
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;RELATED=START:-PT1H
SUMMARY:test
DESCRIPTION:This is an event reminder.
END:VALARM
END:VEVENT
END:VCALENDAR
Ok, test your file here:
And if you get the error:
Lines not delimited by CRLF sequence near line # 1
Reference: RFC 5545 3.1. Content Lines
try to run in a terminal:
sed 's/$/\r/' your_old.ics >into_your_new.ics
And test:
into_your_new.ics
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.