W3C home > Mailing lists > Public > www-rdf-calendar@w3.org > February 2005

fromIcal bug: unexpected rrule arg COUNT=2

From: Tim Berners-Lee <timbl@w3.org>
Date: Wed, 9 Feb 2005 23:21:20 -0500
Message-Id: <373B3F8C-7B1B-11D9-8A9C-000A9580D8C0@w3.org>
Cc: www-rdf-calendar@w3.org
To: Dan Connolly <connolly@w3.org>

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 04:21:25 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Friday, 25 March 2005 11:20:45 GMT