Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can anyone see what's wrong with this vCalendar?

5 views
Skip to first unread message

keith_is_here_2004

unread,
Oct 10, 2006, 11:11:53 AM10/10/06
to
I am using Sunbird v0.2 on WinXP and v0.3a2 on Linux and I'm having a
problem remotely connecting to a particular calendar (link below)
created in Outlook2vCal. I believe there is probably something wrong
with the calendar itself, as I'm able to (more or less) import the same
data created using Outpod.

http://rapidshare.de/files/36213010/Problem_Calendar_vcs.txt.html

Steps to recreate:
1. Download calendar from above location (DO NOT try to directly
connect to it)
2. Using Sunbird, remotely connect to the calendar using WebDav and
file:///

What happens:
* Sunbird displays its final wizard message indicating success, but
freezes with 50-100% cpu usage and does not redraw the screen. No
error message is printed to the console. If left for 2 hours, the
situation is unchanged. When Sunbird is terminated then restarted, the
same error occurs unless the file is first removed/renamed.

I thought at first this was an instance of #343792, but the string
"INTERVAL=0" does not occur in it at all. I don't think it is just
slow, as it shouldn't take over 2 hours to import 288 events. It is
more likely a fault with the calendar, but I can't see anything wrong
with it.

The (modified) version of Outlook2vCal I'm using applies the following
escape characters to the DESCRIPTION field:
* Backspaces are replaced by \\
* New lines are replaced by \n
* Commas are replaced by \,

The original version only replaced colons with \: and it it had the
same problems. I modified it in order to solve these problems,
bringing the output file more inline with that created by Outpod, which
does work. Unfortunately my modified version hasn't solved the
problem.

If anyone can identify what's wrong I'll be eternally grateful.

My WinXP system runs Sunbird 0.2

My Linux system is as follows:
* Kubuntu Linux (kernal 2.6.15-23-386) using KDE 3.5.2
* My LibGTK comes from "libgtk2.0-0_2.8.17-1ubuntu5_i386.deb"
installed using "apt-get install gimp"
* Sunbird 0.3a2
* Mozilla reports my system as Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9a1) Gecko/20060507 Mozilla Sunbird/0.3a2

Simon Paquet

unread,
Oct 10, 2006, 3:36:05 PM10/10/06
to
keith_is_here_2004 wrote on 10. Oct 2006:

> I am using Sunbird v0.2 on WinXP and v0.3a2 on Linux and I'm having
> a problem remotely connecting to a particular calendar (link below)
> created in Outlook2vCal. I believe there is probably something wrong
> with the calendar itself, as I'm able to (more or less) import the
> same data created using Outpod.
>
> http://rapidshare.de/files/36213010/Problem_Calendar_vcs.txt.html
>
> Steps to recreate:
> 1. Download calendar from above location (DO NOT try to directly
> connect to it)
> 2. Using Sunbird, remotely connect to the calendar using WebDav and
> file:///

This is at least one event in that file (there are more probably more),
which causes Sunbird to hang:

BEGIN:VCALENDAR
PRODID:-//Randy L Pearson//NONSGML Outlook2vCal V1.1//EN
VERSION:2.0
BEGIN:VEVENT
CREATED:20040829T163323
UID:00000000EBFAC68C9B92BF119D643623FBD17E1424312000
SEQUENCE:1
LAST-MODIFIED:20060615T231158
DTSTAMP:20040829T163323
ORGANIZER:Unknown
DTSTART:20040901T141500
DESCRIPTION:Contact Mary Tindall for more details.
CLASS:PUBLIC
LOCATION:Church
CATEGORIES:Church Events
SUMMARY:Friendship Circle
PRIORITY:1
DTEND:20040901T141500
RRULE:FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=1;BYDAY=WE
END:VEVENT
END:VCALENDAR

Tested on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1)
Gecko/20061004 Sunbird/0.3

--
Simon Paquet
Sunbird/Lightning website maintainer
Project website: http://www.mozilla.org/projects/calendar
Developer blog: http://weblogs.mozillazine.org/calendar

Stefan Sitter

unread,
Oct 10, 2006, 4:59:38 PM10/10/06
to

> RRULE:FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=1;BYDAY=WE

Bug 356207 [1] was filed about the issue that Sunbird 0.3 hangs when
displaying such a event.

One question: What does the recurrence rule mean? If I read [2]
correct the BYDAY rule limits the BYMONTHDAY rule. Does that means:
Repeat every first day of month but only if first day of month is
Wednesday? Or I'm wrong and that means 'Repeat on first day of month
and on every Wednesday'?

I think if you just want to express 'Repeats every first Wednesday
in month' the rule should look like:

RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=1WE

Regards,
Stefan

[1]
https://bugzilla.mozilla.org/show_bug.cgi?id=356207
[2]
http://www.calconnect.org/publications/icalendarrecurrenceproblemsandrecommendationsv1.0.pdf

keith_is_here_2004

unread,
Oct 11, 2006, 8:10:00 AM10/11/06
to
Okay thanks for your help guys!

> One question: What does the recurrence rule mean? If I read [2]
> correct the BYDAY rule limits the BYMONTHDAY rule. Does that means:
> Repeat every first day of month but only if first day of month is
> Wednesday? Or I'm wrong and that means 'Repeat on first day of month
> and on every Wednesday'?

The event is supposed to recur on the 1st Wednesday of every 1 months,
so your second guess was right. I'll test the changes you suggested
tonight and let you know if it worked.

I haven't had a chance to read your [2] yet, but I guess that
BYMONTHDAY=1;BYDAY=WE is supposed to be equivilent to BYDAY=1WE. If
so, then Sunbird should handle them in the same way. I'll add that as
a comment to Bug #356207.

Thanks again.

-Keith.

keith_is_here_2004

unread,
Oct 11, 2006, 8:14:59 AM10/11/06
to
Okay thanks for your help guys!

> One question: What does the recurrence rule mean? If I read [2]


> correct the BYDAY rule limits the BYMONTHDAY rule. Does that means:
> Repeat every first day of month but only if first day of month is
> Wednesday? Or I'm wrong and that means 'Repeat on first day of month
> and on every Wednesday'?

The event is supposed to recur on the 1st Wednesday of every 1 months,

Andrew N Dowden

unread,
Oct 11, 2006, 3:56:28 PM10/11/06
to dev-apps...@lists.mozilla.org
keith_is_here_2004 wrote:
> .. but I guess that

> BYMONTHDAY=1;BYDAY=WE is supposed to be equivilent to BYDAY=1WE. If
> so, then Sunbird should handle them in the same way. I'll add that as
> a comment to Bug #356207.
>
To my understanding:
BYMONTHDAY=1;BYDAY=WE means NEXT occurrence of 1st-of-month being a
Wednesday

whereas:
BYDAY=1WE means FIRST occurrence of Wednesday within the month.

These are NOT even close to the same in meaning..

--
_______________________________________________

SoftDesign Group
Dowden Software Associates
P O Box 31 132, Lower Hutt 5040, NEW ZEALAND


0 new messages