Closed Bug 395490 Opened 18 years ago Closed 17 years ago

iCal fails to load if file contains copyright sign (c)

Categories

(Calendar :: Import and Export, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: brian, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 Build Identifier: Lightning 0.5 from http://www.mozilla.org/projects/calendar/releases/lightning0.5.html The Apple iCal file here loads http://www.kershaw.org.uk/palm/l2007/ The 2008 Apple iCal file does not Here http://www.kershaw.org.uk/palm/l2008/ The file author says: Hmm. I've downloaded Lightning (for the Mac) and I get exactly the same error. If you edit the cw_lectionary_2008.ics file in a plain text editor, and examine line 9, then you will see that it starts like this: DESCRIPTION:Common Worship Almanac and Lectionary\nfor the year beginning Advent Sunday 2007\n\ncompiled by Simon Kershaw May 2007\nfrom the Common Worship Calendar and Lectionaries\n\ncompilation etc etc Dunno how it looks in your editor, but in mine the next symbol is a copyright symbol © followed by more text. But if I paste it into this email it turns into Chinese glyphs or similar! Anyway if you replace the © symbols with say (c) or just delete the rest of the line otherwise remove the 3 copyright symbols, save the file and try loading it, then it should work -- well it did for me. Strange. simon -- Simon Kershaw simon@kershaw.org.uk Saint Ives, Cambridgeshire I tried on a PC, and as he says, deleting the copyright symbols allows the 2008 file to load, the 2007 file has no offending characters. Second problem: > Look in the event editor by clicking on any entry. Many (most) of the > calendar events display in red > > "Your start time is after your end time" > > The end time is the day before the start time. > > Is this your file, or a matter for Bugzilla? Simon says: Definitely not my file, so this one should be reported to Bugzilla. The file contains lines like this: > BEGIN:VEVENT > DTSTART;VALUE=DATE:20080109 > DTEND;VALUE=DATE:20080109 > SUMMARY:CW > DESCRIPTION:Holy Communion\n1 John 4.11-18\nPsalm 72.1, 10-13\nMark 6.45-52\n\nMorning Prayer\nPsalms 2, 148 or 77\nBaruch 3.1-8 or\nJeremiah 30.18-31.9\nMatthew 20.29-end\n\nEvening Prayer\nPsalms 67, 72 or 119.81-104\nIsaiah 65.1-16\n1 John 5.1-12 > END:VEVENT Which is 9 Jan 2008 -- you will see that he start date and end date are equal, but when you examine that event in Lightning then the end date has become 8 Jan 2008. These calendars are all very idiosyncratic -- that's why the web page has different versions for different bits of software. For the calendars I have tried I have worked out the idiosyncrasies and format the output (from a common source format) to work with that software. I could I guess add another output format to work with Lightning, regardless of whether they fix the bugs or not. But obviously it's a bit of a pain to write and maintain another 'driver'. simon -- Simon Kershaw simon@kershaw.org.uk Saint Ives, Cambridgeshire Reproducible: Always Steps to Reproduce: 1. 2. 3.
Thanks for the report but I don't think this is a Lightning issue. Subscribing to <http://almanac1.oremus.org/lectionary/cw_lectionary_2008.ics> results in the following error: Error: CAL_UTF8_DECODING_FAILED. An error occured while decoding an iCalendar (ics) file as UTF-8. Check that the file, including symbols and accented letters, is encoded using the UTF-8 character encoding. -> .ics file is incorrect, needs to be stored in UTF-8 encoding. > DTSTART;VALUE=DATE:20080109 > DTEND;VALUE=DATE:20080109 -> If this is an all-day event on 09-Jan-2008 DTEND must be VALUE=DATE:20080110
Whiteboard: [qa discussion needed]
This is an invalid iCalendar file as described in comment#1. Resolving as INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Whiteboard: [qa discussion needed]
You need to log in before you can comment on or make changes to this bug.