Calendar : Import .ics files : No event found #957
|
Hi, |
Replies: 1 comment 1 reply
|
The sample shown should be accepted by the current importer. UTF-8 text such as At When generating the file with Python from pathlib import Path
Path("event.ics").write_bytes(calendar.to_ical())Do not wrap the result in Could you attach the original anonymized file rather than copying its text, and include the Fossify Calendar version and source, Android version, selected destination calendar, and any additional toast? The relevant parser code is here, and its date parser accepts this UTC form here. |
The sample shown should be accepted by the current importer. UTF-8 text such as
Réunionis supported, a timestamp ending inZis parsed as UTC, and the importer does not validate the UID format.At
END:VEVENT, the importer rejects an event only when it lacks a usableSUMMARYor a parseableDTSTART: source. Your pasted event contains both. That suggests the original bytes differ from the normalized text in the post, or an exception occurs while reading or inserting the event.When generating the file with Python
icalendar, write the bytes returned byto_ical()directly:Do not wrap the result in
str(...); that can …