Hello there, I've found that this has some issues with recurrent events. Sorry for not posting to the mailing-list, but I don't think that subscribing to a mailing-list to report _one_ issue is very optimal...
Here's a test case, from an event generated by Microsoft Exchange and that _looks_ like it ought to be RFC-compliant (at least from what I could gather from reading the RFC...)
>>> vr = vRecur.from_ical('FREQ=DAILY;COUNT=5;INTERVAL=1;BYDAY=MO, TU, WE, TH, FR;WKST=SU')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "./icalendar/prop.py", line 932, in from_ical
raise ValueError, 'Error in recurrence rule: %s' % ical
(Rui Carmo, from http://the.taoofmac.com)
Ok I will chekc it out.
Posted bymaxmat
2006-06-23 09:45 AM
Another time it's ok to just email me personally with bug reports too.
Any updates on this?
Posted byAnonymous Userat
2006-07-29 04:50 PM
Hello again,
I skimmed through the icalendar-checkins list archives, but saw no commits related to this... Do you have any idea if you'll get around to fix it? Otherwise I'm somewhat stuck.
Regards,
R.
icalendar error
Posted byAnonymous Userat
2007-10-08 11:02 PM
I got the same error
Error in recurrence rule: FREQ=WEEKLY;UNTIL=20070927T163000Z;INTERVAL=1;BYDAY=TU, TH;WKST=SU
Looks like it doesn't like the 'BYDAY=TU, TH'. Anything beyond a single day causes the error.
Here's a test case, from an event generated by Microsoft Exchange and that _looks_ like it ought to be RFC-compliant (at least from what I could gather from reading the RFC...)
>>> vr = vRecur.from_ical('FREQ=DAILY;COUNT=5;INTERVAL=1;BYDAY=MO, TU, WE, TH, FR;WKST=SU')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "./icalendar/prop.py", line 932, in from_ical
raise ValueError, 'Error in recurrence rule: %s' % ical
(Rui Carmo, from http://the.taoofmac.com)
I skimmed through the icalendar-checkins list archives, but saw no commits related to this... Do you have any idea if you'll get around to fix it? Otherwise I'm somewhat stuck.
Regards,
R.
Error in recurrence rule: FREQ=WEEKLY;UNTIL=20070927T163000Z;INTERVAL=1;BYDAY=TU, TH;WKST=SU
Looks like it doesn't like the 'BYDAY=TU, TH'. Anything beyond a single day causes the error.
Replies to this comment