Cannot sync with iCal

B

Bruce Truax

About a month ago I posted a problem I was having with Entourage Sync
Services where Entourage would not sync with iCal. The console recorded the
following error:

1/8/08 4:38:51 PM Microsoft Sync Services[320] *** Terminating app due to
uncaught exception 'ISyncInvalidRecordException', reason: 'you referenced
the following records (in a relationship) but did not actually push them: (
"105575.Event"
)'

I deleted a bunch of stuff from my calendar and syncing started to work so I
thought I had deleted the offending event. Much to my dismay, the problem
as returned. At the time of the previous error Corentin recommended the
following Applescript to pinpoint the troublesome event.

tell application "Microsoft Entourage"
set thestart to start time of event id 105575 as string
display dialog thestart
end tell

I tried this and got a rather cryptic error message:

" Can¹t make «class stTm» of «class cEvt» id 105575 of application
"Microsoft Entourage" into type string."

I also tried a very simple script

tell application "Microsoft Entourage"
open event id 105575
end tell

And got the error " Microsoft Entourage got an error: Can¹t get event id
105575."

One more thing. The problematic event ID is the same as it was one month
ago. Apparently the same event is still causing a problem. How do I find
it and get rid of it?

Thanks.

Bruce
 
C

Corentin Cras-Méneur

Hi Bruce,

[...]> I also tried a very simple script
tell application "Microsoft Entourage"
open event id 105575
end tell
And got the error " Microsoft Entourage got an error: Can¹t get event
id105575."

So the even ID still shows up in the logs but you can't access it
through any sort of AppleScript?? That doesn't sound good.

One more thing. The problematic event ID is the same as it was one
month ago. Apparently the same event is still causing a problem.
How do I findit and get rid of it?

Did you try rebuilding your database and running the script again to
see whether the event becomes available?

Corentin
 
B

Bruce Truax

Corentin,

I just rebuilt the database and received the same error. There are actually
a number of errors in the log file, see below. If I had to guess I would
say that there is an event with a record number of 105575 but the actual
event is no longer in the database. I have rebuilt this database many many
times and this problem does not go away. Is there some way to force a more
thorough rebuild?

Bruce

Error Logs

These logs occur when I start Entourage

1/8/08 6:07:58 PM [0x0-0x44044].com.microsoft.Entourage[448] monitor:
task_for_pid failed (os/kern) failure
1/8/08 6:08:10 PM [0x0-0x46046].com.microsoft.entourage.syncservices[458]
monitor: task_for_pid failed (os/kern) failure
1/8/08 6:09:53 PM [0x0-0x47047].com.microsoft.Entourage[462] monitor:
task_for_pid failed (os/kern) failure
1/8/08 6:09:53 PM [0x0-0x3e03e].com.microsoft.DatabaseDaemon[437] monitor:
task_for_pid failed (os/kern) failure
1/8/08 6:14:23 PM [0x0-0x48048].com.microsoft.DatabaseUtility[464] monitor:
task_for_pid failed (os/kern) failure
1/8/08 6:14:34 PM [0x0-0x49049].com.microsoft.Entourage[467] monitor:
task_for_pid failed (os/kern) failure


These log entries occur when I turn on Sync Services for Calendar.


1/8/08 6:54:37 PM Microsoft Sync Services[498] An uncaught exception was
raised

1/8/08 6:54:37 PM Microsoft Sync Services[498] you referenced the following
records (in a relationship) but did not actually push them: (
"105575.Event"
)
1/8/08 6:54:37 PM Microsoft Sync Services[498] *** Terminating app due to
uncaught exception 'ISyncInvalidRecordException', reason: 'you referenced
the following records (in a relationship) but did not actually push them: (
"105575.Event"
)'
1/8/08 6:54:37 PM Microsoft Sync Services[498] Stack: (
2430742336,
2528147116,
2430741520,
2443276784,
2443226264,
2443276324,
2443276056,
113400,
134432,
65700,
35596,
35252
)


Hi Bruce,

[...]> I also tried a very simple script
tell application "Microsoft Entourage"
open event id 105575
end tell
And got the error " Microsoft Entourage got an error: Can¹t get event
id105575."

So the even ID still shows up in the logs but you can't access it
through any sort of AppleScript?? That doesn't sound good.

One more thing. The problematic event ID is the same as it was one
month ago. Apparently the same event is still causing a problem.
How do I findit and get rid of it?

Did you try rebuilding your database and running the script again to
see whether the event becomes available?

Corentin
 
B

Bruce Truax

Corentin,

How can I write an applescript to enumerate and list all of the calendar
events by name and ID number? Perhaps listing all of these to a text file
will help find the problematic entry.

Bruce




Hi Bruce,

[...]> I also tried a very simple script
tell application "Microsoft Entourage"
open event id 105575
end tell
And got the error " Microsoft Entourage got an error: Can¹t get event
id105575."

So the even ID still shows up in the logs but you can't access it
through any sort of AppleScript?? That doesn't sound good.

One more thing. The problematic event ID is the same as it was one
month ago. Apparently the same event is still causing a problem.
How do I findit and get rid of it?

Did you try rebuilding your database and running the script again to
see whether the event becomes available?

Corentin
 
C

Corentin Cras-Méneur

Corentin,
How can I write an applescript to enumerate and list all of the
calendar events by name and ID number? Perhaps listing all of these
to a text filewill help find the problematic entry.


You could take the previous script and write a loop, but I'm not sure
what good it would do to you if you still cannot delete the event.

I am starting to wonder whether the corruption could actually be in the
SyncServices cache instead of in Entourage itself...

In last resort, you could export all your e-mails, contacts, event...
in an archive, and re-create an accoutn from scratch (meaning: reset
all the rpefs, re-enter anll the account information, rules, mailing
list manager.... not fun at all at all at all)

Corentin
 
B

Bruce Truax

Corentin,

I archived all of my old events up through the end of 2007 and the problem
went away, at least for now.

I guess I could add a loop but I am not an applescript expert. I can write
code in about 10 different languages but applescript just never made sense
to me. I am not going to worry about it for now unless the problem occurs
again.

Thanks for the help.

Bruce
 
C

Corentin Cras-Méneur

Corentin,
I archived all of my old events up through the end of 2007 and the
problemwent away, at least for now.
GOOD!

I guess I could add a loop but I am not an applescript expert. I can
write code in about 10 different languages but applescript just never
made sense to me. I am not going to worry about it for now unless
the problem occurs again.



I couldn't agree more, and hopefully, the problem won;t ever come
back :)

Corentin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top