[Vobject] bugs in handling of "Description"?
janssen at parc.com
Thu Apr 30 13:28:46 CDT 2009
I've tried some of the vcalendar forms defined in the RFC, and here's
an odd one. This is the vcalendar:
PRODID:-//ABC Corporation//NONSGML My Product//EN
UID:uid5 at host1.com
ORGANIZER:MAILTO:jsmith at host.com
CATEGORY:Project Report, XYZ, Weekly Meeting
DESCRIPTION:Project xyz Review Meeting Minutes\n
Agenda\n1. Review of project version 1.0 requirements.\n2.
of project processes.\n3. Review of project schedule.\n
Participants: John Smith, Jane Doe, Jim Dandy\n-It was
decided that the requirements need to be signed off by
product marketing.\n-Project processes were accepted.\n
-Project schedule needs to account for scheduled holidays
and employee vacation time. Check with HR for specific
dates.\n-New schedule will be distributed by Friday.\n-
Next weeks meeting is cancelled. No meeting until 3/23.
I run the following program on it:
import vobject, sys, os, re
vcard = vobject.readOne(open(sys.argv)).components().next()
and it produces
% python /tmp/foo.py /tmp/foo.ics
Project xyz Review Meeting Minutes
1. Review of project version 1.0 requirements.
2.Definitionof project processes.
3. Review of project schedule.
Participants: John Smith
In other words, it cuts off after the first comma in the example.
Is this a bug?
Notice that it also doesn't put a space between "Definition" and "of".
Finally, could vobject grow a __version__ attribute?
More information about the VObject