View Single Post
Posts: 33 | Thanked: 10 times | Joined on Jan 2010
#37
Originally Posted by scudderfish View Post
I switched on debug in iSync (launch it whilst holding down Shift and Option).
Great tip Scud, I had been trying to find out how to view the actual transmission!

I set up an event on the N900 without an alarm then synced, then repeated it with an event that had an alarm. There is as you say a lot of info in that log file but the following snippets I think is where the issue is.

Event without alarm log

Code:
vCal to parse:
BEGIN:VCALENDAR
VERSION:1.0
TZ:+00
DAYLIGHT:TRUE;+01;20100328T020000;20101024T010000;GMT;BST
BEGIN:VEVENT
SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
Test=20event
UID:511
DTSTART:20100129T125000Z
DTEND:20100129T135000Z
ATTACH:
SEQUENCE:0
LAST-MODIFIED:20100117T123018Z
DCREATED:20100117T123006Z
END:VEVENT
END:VCALENDAR
and then a few lines below that we get a success message and the event has been parsed successfully

Code:
vCal parsed:
{
    RawProperties =     (
                {
            Name = UID;
            Value = <353131>;
        },
                {
            Name = SEQUENCE;
            Value = <30>;
        },
                {
            Name = "LAST-MODIFIED";
            Value = <32303130 30313137 54313233 3031385a>;
        },
                {
            Name = DCREATED;
            Value = <32303130 30313137 54313233 3030365a>;
        }
    );
    "all day" = 0;
    "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.Event";
    "end date" = "2010-01-29 13:50:00 +0000";
    "start date" = "2010-01-29 12:50:00 +0000";
    summary = "Test event";
}
whereas with the event that does have an alarm we have the following

Code:
vCal to parse:
BEGIN:VCALENDAR
VERSION:1.0
TZ:+00
DAYLIGHT:TRUE;+01;20100328T020000;20101024T010000;GMT;BST
BEGIN:VEVENT
SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
Testing=20alarms=20w/log
UID:513
DTSTART:20100129T132000Z
DTEND:20100129T142000Z
ATTACH:
SEQUENCE:0
LAST-MODIFIED:20100117T130040Z
DCREATED:20100117T130040Z
AALARM:20100129T130500
;PT3M
;
END:VEVENT
END:VCALENDAR
and just below we get an error instead of a "vcal parsed" result

Code:
Failed to parse vCal (1) near index 97: BEGIN:VEVENT
SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
Testing=20alarms=20w/log
UID:513
DTSTART:20100129T132000Z
DTEND:20100129T142000Z
ATTACH:
SEQUENCE:0
LAST-MODIFIED:20100117T130040Z
DCREATED:20100117T130040Z
AALARM:20100129T130500
;PT3M
;
END:VEVENT
END:VCALENDAR

So... I guess we have to work out exactly what "Failed to parse vCal (1) near index 97" means? Well.. I know what it means, it failed! but where that problem is coming from.. iCal or N900? The formatting of the AALARM property? on different lines like that? Any ideas?

Last edited by 3quid; 2010-01-17 at 13:32.