Skip to content
Search
mxm, IT's mad science
Sections
Welcome
News
Search
Replies
Personal tools
You are not logged in
Log in
You are here:
Home
»
Products
»
Open Source
»
iCalendar package
»
icalendar error
Navigation
Home
Papers
Products
Open Source
mxmContacts
iCalendar package
Downloads
You can download mxm products
here
.
Due to it's technical and international nature, this section is in english.
Max M Has a blog too.
og er glad for mad
Comment
Above in this comment thread:
iCalendar package for Python
»
Recurrencies...
icalendar error
Posted by
Anonymous User
at
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.
Found fix
Posted by
Anonymous User
at
2007-10-08 11:18 PM
The fix is in prop.py line 920:
def parse_type(key, values):
# integers
parser = vRecur.types.get(key, vText)
return [parser.from_ical(v) for v in values.split(', ')]
parse_type = staticmethod(parse_type)
Should be a ', ' instead of a ',' I'll submit a patch as well
Replies to this comment
Thanks for fix (
Posted by
Anonymous User
at
2007-12-18 06:14 AM)
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.
def parse_type(key, values):
# integers
parser = vRecur.types.get(key, vText)
return [parser.from_ical(v) for v in values.split(', ')]
parse_type = staticmethod(parse_type)
Should be a ', ' instead of a ',' I'll submit a patch as well
Replies to this comment