Appointment issue

If BirdieSync 1.x constantly replaces your girlfriend's phone number with your mother's one, this forum is for you...
Post Reply
Leaskovski
Posts: 4
Joined: Wed Jan 02, 2008 9:38 pm

Appointment issue

Post by Leaskovski »

Hi people,

I am getting the following issue when syncing an appointment in the past on my device and i was wondering what the issue is. Here is the error log for it, plus i am syncing to a google calender....

Local 09/01/2008 22:20:33::0641 Beginning of synchronization
Local 09/01/2008 22:20:40::0279 ERROR: Error returned by CreateObjectResponse,
---------------------------------- Appointment ---------------------------------
Category = ''
Is recurring = False
-------------------------------- Main occurence --------------------------------
Original date = UTC 01/01/1601 00:00:00::0000 Local 01/01/1601 00:00:00::0000
Subject = 'Pick up Dry Cleaning'
Location = ''
Start date = UTC 01/11/2007 17:30:00::0000 Local 01/11/2007 17:30:00::0000
End date = UTC 01/11/2007 17:30:00::0000 Local 01/11/2007 17:30:00::0000
Is all day = False
Sensitivity = Private
Meeting status = Undefined
Is alarm set = True
Alarm offset = 10
Note = ''
-------------------------------------------------------------------------------- (GetLastError = 0)

I hope this helps and you can tell me what the issue is?

Thanks

Birdy
Site Admin
Posts: 3118
Joined: Tue Apr 18, 2006 11:43 am
Contact:

Re: Appointment issue

Post by Birdy »

Hello,

I think that the problem comes from the identical start date/time and end date/time. The Google calendar doesn't really like it.
You can reproduce it manually: if you create an event with the same start and end date/time, the event will not be created and an error will be logged in the error console.
Birdy

Leaskovski
Posts: 4
Joined: Wed Jan 02, 2008 9:38 pm

Re: Appointment issue

Post by Leaskovski »

Hmmm, I just logged onto my google calendar and it allows me to create events that have the same start and end time (0 minutes). So its not really googles fault but more the fault of the plugin for lightening that gives connectivity to the google calendar.

Birdy
Site Admin
Posts: 3118
Joined: Tue Apr 18, 2006 11:43 am
Contact:

Re: Appointment issue

Post by Birdy »

Yes you are right. It's possible to create an event with the same start and end date and time in Google, but not in Lightning. So the problem seems to come from the Google calendar provider itself.
Birdy

iandavo
Posts: 3
Joined: Tue Jan 15, 2008 3:19 am

Re: Appointment issue

Post by iandavo »

I have been getting the same issue ever since starting to sync *some* Google calendars - which I must add is a great feature! However I don't think it's anything to do with the item having the same start and end dates. See sample log below:

Code: Select all

Local 15/01/2008 13:00:15::0000 BirdieSync: version 1.6.3.0
Local 15/01/2008 13:00:15::0000 Operating system: PocketPC, version 4.21
Local 15/01/2008 13:00:22::0000 Number of Tasks on device = 22
Local 15/01/2008 13:00:22::0000 Number of Appointments on device = 97
Local 15/01/2008 13:00:22::0000 Number of Contacts on device = 312
Local 15/01/2008 13:00:30::0000 Beginning of synchronization
Local 15/01/2008 13:00:31::0000 ERROR: Error saving appointment (result = 0x80040068) (GetLastError = 0)
Local 15/01/2008 13:00:31::0000 ERROR: Impossible to save appointment (result = 0x80040068) (GetLastError = 0)
Local 15/01/2008 13:00:31::0000 ERROR: Impossible to set object, 
---------------------------------- Appointment ---------------------------------
Category = ''
Is recurring = False
-------------------------------- Main occurence --------------------------------
Original date = UTC 01/01/1601 00:00:00::0000  Local 01/01/1601 11:00:00::0000 
Subject = 'Summer holidays'
Location = ''
Start date = UTC 23/12/2007 13:00:00::0000  Local 24/12/2007 00:00:00::0000 
End date = UTC 28/01/2008 13:00:00::0000  Local 29/01/2008 00:00:00::0000 
Is all day = True
Sensitivity = Normal
Meeting status = Confirmed
Is alarm set = False
Alarm offset = 0
Note = ''
-------------------------------------------------------------------------------- (GetLastError = 0)
Local 15/01/2008 13:00:33::0000 End of synchronization
I wonder if it could be something to do with the "01/01/1601" date? This particular Google calendar is "NSW School Holidays" (Australia). I have tried several similar Calendars and all I have tried so far (4) have worked perfectly in both Google and Lightning, but in every case BirdieSync fails to sync the calendar to the PPC, with a different number of Unresolved Issues. Checking the log shows similar results to the sample above in every case - ie "Original date" is 01/01/1601 and the start and end dates for the event are different dates and look OK.

Also it seems the failure to sync stops all Calendar synchronizations, not just the errant one.

Any help would be appreciated!

iandavo
Posts: 3
Joined: Tue Jan 15, 2008 3:19 am

Re: Appointment issue

Post by iandavo »

By creating a new test calendar in Lightning and a process of trial & error I have found that if the start and end dates of an event are in different years, *and* the day of the month of the end date is the same or later than the day of the month of the start date the sync will fail with unresolved items.

For example:

20 Dec 2007 - 19 Jan 2008 --> OK
20 Dec 2007 - 20 Jan 2008 --> Fail
20 Dec 2007 - 21 Jan 2008 --> Fail
21 Dec 2007 - 20 Jan 2008 --> OK

As a workaround until this issue can be sorted out I'll create separate events on either side of 1st Jan, but I'd be interested to know if others can duplicate this problem and also Birdie's take on it...

Birdy
Site Admin
Posts: 3118
Joined: Tue Apr 18, 2006 11:43 am
Contact:

Re: Appointment issue

Post by Birdy »

Hello iandavo,

Your problem may be due to another reason. On Windows Mobile 2003 devices, it is not possible to create an appointment which lasts more than 31 days. You can check that it is not possible to manually create such events: an error message is then displayed.
That's why BirdieSync cannot synchronize such events.
This problem shouldn't exist with Windows Mobile 5.0 and 6.0.
From what I saw in your log, you have a Pocket PC under Windows Mobile 2003.
The workaround should be to split your event in Lightning so that each event doesn't last more than 31 days.
Birdy

iandavo
Posts: 3
Joined: Tue Jan 15, 2008 3:19 am

Re: Appointment issue

Post by iandavo »

Ahah! You are right - I didn't know this and it's only become an issue since starting to sync with Google &/or Lightning calendars that don't have this issue!

Many thanks for your quick and informative response...

Regards

Ian

Post Reply