GNOME Bugzilla – Bug 548814
[On The Web] Cannot read multiple VCALENDAR objects in single file
Last modified: 2017-08-28 15:57:23 UTC
Please describe the problem: When creating a new calendar of type "on the web" and pointing it to an online ics file containing multiple VCALENDAR objects, Evolution complains that the file is not valid ics file and fails to import any data. Steps to reproduce: 1. Get a calendar file with at least two VCALENDAR sections 2. Copy this file on a web server www.xxxxxx.ch/~uuuuuu/temp.ics 3. New -> Calendar 4. Type: on the web, address: webcal://www.xxxxxx.ch/~uuuuuu/temp.ics 5. Click on OK Actual results: I get an error message "Error on webcal://www.xxxxxx.ch/~uuuuuu/it.ics: Not a calendar." and nothing is imported. Expected results: The calendar should be read without error. Does this happen every time? yes Other information:
Created attachment 117124 [details] An example ICS file that Evolution cannot read If one separate the two VCALENDAR contained in that file into two separate .ics files, both are read by Evolution without errors.
Same problem here under Debian with evolution 2.28.2-3. Perhaps someone could confirm the bug and update the version number? Calendar files generated on the Nokia N900 (Maemo 5) are affected by this bug.
I also see this bug on Ubuntu 9.10, Evolution 2.28.1 .
If i check validity of attached file in comment#1 at http://severinghaus.org/projects/icv/ it yields "Your calendar is using an invalid newline format. Make sure to use \r\n to end lines rather than just \n (RFC 2445 §4.1)"
(In reply to comment #1) > Created an attachment (id=117124) [details] > An example ICS file that Evolution cannot read Sorry, your calendar could not be parsed. Error: Error was: Error at line 8: [DTSTART] Unparseable date: "20080723T160000" Cause: Caused by: [DTSTART] Unparseable date: "20080723T160000" => Not a valid bug (as it's an invalid file) but an enhancement request to be more grateful when parsing.
Hi, I have also a bug in evulution with ics files: After open the ics file via file manager -->> open with evolution the import mask opens. After ok and click at the calendar and ok again no data imported. I must repeat the same procedure some times (3 - 7) before the data are imported. My last ics file is attached.
Created attachment 298298 [details] ics file
(In reply to Joerg C. Frings-Fuerst from comment #6) > I must repeat the same procedure some times (3 - 7) before the data are > imported. I'm unsure whether you mean to just call Import several times on the same file or just once on multiple files. > My last ics file is attached. That file shows one VCALENDAR component with two VEVENT components. That's a valid and expected content of the .ics file, understood by Evolution without any issue (I just tested it and both events are properly imported into an On This Computer calendar). The original issue is about files containing multiple VCALENDAR components.
I see that the On The Web backend doesn't behave properly, it is valid to have multiple VCALENDAR components an an iCalendar stream, according to the RFC [1], thus I made it do it. Created commit 323b3b1 in eds master (3.25.92+) [1] https://tools.ietf.org/html/rfc5545#section-3.4