|
| Lightning 0.8 vs Lightning 0.7 |
 |
Mon, 7 Apr 2008 08:19:47 -0700 |
This event, (http://search.theleafchronicle.com/sp?
skin=&aff=1002&eventId=1814&startDate=04/12/2008&endDate=),
from The
Leaf-Chronicle gives to following error when I import it into
Lightning 0.8:
Unable to read from file:C:\Documents and Settings\Thosp\My Documents
\Tennessee_Trails_Hike_04-12-2008.ics
[Exception... "Component returned failure code: 0x8000ffff
(NS_ERROR_UNEXPECTED) [calIRecurrenceItem.icalProperty]" nsresult:
"0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame ::
file:///C:/Documents%20and%20Settings/Thosp/Application%20Data/Thunderbird/Profi
les/sgbdalrp.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/ca
lItemBase.js
:: anonymous :: line 604" data: no]
However, this event worked with Lightning 0.7.
Event test code follows:
BEGIN:VCALENDAR
PRODID:-//Planet Discover//iCal4j 1.0//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
RDATE;VALUE=PERIOD:20080412T080000/20080412T080000
DTSTART:20080412T080000
DTEND:20080412T080000
UID:-610c0c9:118e249ce48:-7fc7
DTSTAMP:20071029T194941Z
CREATED:20071029T194941Z
LAST-MODIFIED:20080324T215717Z
SUMMARY:Tennessee Trails Hike
DESCRIPTION:Rails to trails - Ashland City. Four to eight-mile easy
hike.
Meet at the first shelter on the left. S. Janus\, 551-8523.
CONTACT:
LOCATION:Rotary Park
GEO:36.5006;-87.2731
URL:
END:VEVENT
END:VCALENDAR
|
| Post Reply
|
| Re: Lightning 0.8 vs Lightning 0.7 |
 |
Mon, 07 Apr 2008 18:45:06 +020 |
On 07.04.2008 17:19 » ThosP« wrote:
>
Just checked that posted file with http://severinghaus.org/projects/icv/
Sorry, your calendar could not be parsed.
Error: Error was: Error at line 16: Illegal property [HIKE. MEET AT THE
FIRST SHELTER ON THE LEFT. S. JANUS\, 551-8523.]
Cause: Caused by: Illegal property [HIKE. MEET AT THE FIRST SHELTER ON
THE LEFT. S. JANUS\, 551-8523.]
Context for line 16:
13: SUMMARY:Tennessee Trails Hike
14: DESCRIPTION:Rails to trails - Ashland City. Four to eight-mile easy
15: hike.
16: Meet at the first shelter on the left. S. Janus\, 551-8523.
Maybe vers.0.7 was more tolerant that 0.8.
BUT that invitation DOESN'T comply to RFC!
|
| Post Reply
|
| Re: Lightning 0.8 vs Lightning 0.7 |
 |
Mon, 07 Apr 2008 19:05:30 +020 |
ThosP schrieb:
> This event,
>
<http://search.theleafchronicle.com/sp?skin=&aff=1002&eventId=1814&am
p;startDate=04/12/2008&endDate=>,
> from The Leaf-Chronicle gives to following error when I
> import it into Lightning 0.8: [...]
> However, this event worked with Lightning 0.7.
> Is the error in the .ics file or Lightning?
At least it's worth investigation if it used to work and now fails.
I suggest that you file a new bug report for this. Please attach the
|
| Post Reply
|
| Re: Lightning 0.8 vs Lightning 0.7 |
 |
Mon, 07 Apr 2008 19:34:15 +020 |
ThosP wrote:
> RDATE;VALUE=PERIOD:20080412T080000/20080412T080000
I didn't know that a PERIOD was allowed in an RDATE, but after reading
rfc2445, it indeed is allowed. I can't find what it means, though. I
_think_ it's a reccurence with a possibly different duration.
Anyway, this might be the cause of the problem you see. I don't think
the calendar code can deal with the period. Maybe in 0.7, it was ignored
completely, but 0.8 tries to interpret it, and fails.
> DESCRIPTION:Rails to trails - Ashland City. Four to eight-mile easy
> hike.
> Meet at the first shelter on the left. S. Janus\, 551-8523.
That's an error to, if the original is as you quote it. But I checked
it, and it's actually correct ('hike.' is on the line of DESCRIPTION)
|
| Post Reply
|
|
|
|
|
|
|
|
|
|