I have been trying to track down a problem that occurs when syncing my Exchange calendar with local files. I am ending up with a few events with missing DTSTART (which is invalid, of course).
It looks as though activesyncd is providing a valid VEVENT to syncevolution: [I have removed ATTENDEE and PARTICIPANT lines and modified my email address] BEGIN:VCALENDAR PRODID:-//Meego//ActiveSyncD 1.0//EN VERSION:2.0 METHOD:PUBLISH BEGIN:VTIMEZONE TZID:(UTC) Dublin\, Edinburgh\, Lisbon\, BEGIN:STANDARD DTSTART:19701025T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZOFFSETFROM:+0100 TZOFFSETTO:+0000 TZNAME:(UTC) Dublin\, Edinburgh\, Lisbon\, END:STANDARD BEGIN:DAYLIGHT DTSTART:19700329T010000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3 TZOFFSETFROM:+0000 TZOFFSETTO:+0100 TZNAME:(UTC) Dublin\, Edinburgh\, Lisbon\, END:DAYLIGHT END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20140926T083807Z DTSTART;TZID="(UTC) Dublin, Edinburgh, Lisbon,":20141007T140000 UID: 040000008200E00074C5B7101A82E00800000000B029262875D2CF01000000000000000010 000000DD0ECC59F4B59A4AA0DDF2797B886E40 LOCATION:Online Meeting DTEND;TZID="(UTC) Dublin, Edinburgh, Lisbon,":20141007T170000 X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for DESCRIPTION property. Removing entire property: CLASS:PUBLIC TRANSP:OPAQUE X-MEEGO-ACTIVESYNCD-MeetingStatus:1 X-MEEGO-ACTIVESYNCD-NativeBodyType:3 ORGANIZER;CN=Graham Cobb:[email protected] BEGIN:VALARM ACTION:DISPLAY DESCRIPTION:Reminder TRIGGER;VALUE=DURATION:-PT15M END:VALARM END:VEVENT END:VCALENDAR I believe that is a valid VEVENT, although note that it has neither a SUMMARY: nor DESCRIPTION: line. [The UID has wrapped in the email but is really formatted correctly] When the event is saved as a file it has become: BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.47//EN BEGIN:VEVENT LAST-MODIFIED:20150618T220636Z DTSTAMP:20150618T220636Z UID:040000008200E00074C5B7101A82E00800000000B029262875D2CF01000000000000000 010000000DD0ECC59F4B59A4AA0DDF2797B886E40 CLASS:PUBLIC TRANSP:OPAQUE SUMMARY:unnamed LOCATION:Online Meeting ORGANIZER;CN="Graham Cobb":mailto:[email protected] BEGIN:VALARM TRIGGER;VALUE=DURATION:-PT15M ACTION:DISPLAY DESCRIPTION:Reminder END:VALARM END:VEVENT END:VCALENDAR Note that there is no DTSTART! (And the DTSTAMP has been set to the current time, and a fake SUMMARY has been created). The missing DTSTART makes the VEVENT invalid. Looking through the logs, I found this section during the parsing of the event: [...lots of timezone parsing...] <li><i>[2015-06-18 23:06:36.192]</i> <span class="exotic">parseMimeDir: VTIMEZONE with ID='(UTC) Dublin, Edinburgh, Lisbon,' parsed to internal time zone 'GMT'</span></li> <li><i>[2015-06-18 23:06:36.192]</i> <span class="exotic">parseMimeDir: property DTSTART parsing delayed, rank=1</span></li> <li><i>[2015-06-18 23:06:36.192]</i> <span class="exotic">parseMimeDir: property DTEND parsing delayed, rank=1</span></li> <li><i>[2015-06-18 23:06:36.192]</i> <span class="incoming">parseMimeDir: property not parsed (unknown or not storable): X-LIC-ERROR;X-LIC-ERRORTYPE=VA</span></li> <li><i>[2015-06-18 23:06:36.192]</i> <span class="incoming">parseMimeDir: property not parsed (unknown or not storable): X-MEEGO-ACTIVESYNCD-MeetingSta</span></li> <li><i>[2015-06-18 23:06:36.192]</i> <span class="incoming">parseMimeDir: property not parsed (unknown or not storable): X-MEEGO-ACTIVESYNCD-NativeBody</span></li> <li><i>[2015-06-18 23:06:36.192]</i> <span class="error">parseMimeDir: missing 1 of 1 mandatory properies</span></li> <li><i>[2015-06-18 23:06:36.192]</i> <span class="error">Failed parsing item</span></li> <li><i>[2015-06-18 23:06:36.192]</i> <span class="script">- PARSETEXTWITHPROFILE() function result = <span class="value">0</span> (integer)</span></li> <li><i>[2015-06-18 23:06:36.192]</i> <span class="exotic">- Evaluated unstored expression</span></li> The two lines with class="error" don't look good! I think this is a syncevolution bug, not an activesyncd bug. Do you agree, or am I missing something? Graham _______________________________________________ SyncEvolution mailing list [email protected] https://lists.syncevolution.org/mailman/listinfo/syncevolution
