fromIcal bug: unexpected rrule arg COUNT=2

python2.3   ../../../2002/12/cal/fromIcal.py --noalarm --noprotocol \
--notimezone  TimWorkExtra.ics > TimWorkExtra.icsx
Traceback (most recent call last):
   File "../../../2002/12/cal/fromIcal.py", line 913, in ?
     main()
   File "../../../2002/12/cal/fromIcal.py", line 97, in main
     interpret(sx, codecs.open(sys.argv[1], 'r', 'utf-8'), base, 
suppressed)
   File "../../../2002/12/cal/fromIcal.py", line 140, in interpret
     doComponents(sx, calendars, iCalendarDefs, suppressed = suppressed)
   File "../../../2002/12/cal/fromIcal.py", line 345, in doComponents
     doComponents(sx, subs, subDecls, 'component', suppressed = 
suppressed)
   File "../../../2002/12/cal/fromIcal.py", line 340, in doComponents
     doProperties(sx, '', props, propDecls, suppressed = suppressed)
   File "../../../2002/12/cal/fromIcal.py", line 454, in doProperties
     doRecur(sx, elt, params, val)
   File "../../../2002/12/cal/fromIcal.py", line 675, in doRecur
     raise ValueError, "unexpected rrule arg %s=%s" % (n, v)
ValueError: unexpected rrule arg COUNT=2
make: *** [TimWorkExtra.icsx] Error 1
rm TimWorkExtra.icsx
$ grep COUNT=2 TimWorkExtra.ics
RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=2;BYDAY=FR



File contained this event:

BEGIN:VEVENT
DTSTART;TZID=US/Eastern:20030214T153000
SUMMARY:LCS Dertouzos lecture
UID:7C7316CC-3490-11D7-A8B9-000393914268-RID
DTSTAMP:20030130T202329Z
RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=2;BYDAY=FR
DURATION:PT1H15M
END:VEVENT

Received on Thursday, 10 February 2005 20:48:35 UTC