Can't find advice on how to save iCal entries
Posted April 22nd, 2008 by OCR
I am using the new beta. I imported a bunch of events from iCal, and then realized that if I purged them, they would disappear when I synch next. Then I remembered that I had seen a note addressing this very issue, I think an apple script which renames some Calendars. But I cannot for the life of me find that information anywhere now.
So I undid the synch pairing of the events I did not want to lose. Doing that, I got an error message: "Life Balance Asssertion Failure Control.cpp line 1633". But then everything seemed to work ok.
I would appreciate a pointer to the solution to the disappearing iCal events. Thanks.
OCR
Comments
Script is on the home page...
Hi there OCR,
The Applescript you are looking for is on the home page. Scroll down and you'll see it.
That assertion you got in the beta is reporting a minor screen layout problem. If you didn't notice any major visual glitches also happening at the time, you are right that it isn't of much consequence.
We're going to move that set of assertions to not appear in these "test" builds, because they are typically things we need to look at pixel by pixel.
Best wishes,
--Catherine--*
About your ticket...
Hi there OCR,
Because you didn't give a valid email address, we were unable to reply to your ticket about what happened with the script.
However, the message you got in the script would indicate that there is a particular kind of problem with your iCal data.
For the benefit of others who may run across that problem. The message you got was:
"NSReceiverEvaluationScriptError: 4"
This line was highlighted:
"set theID to uid of theEvent"
The problem is that some of the records in your iCal are missing their unique IDs.
Take a look at this page from macinTouch with the entry from June 26, 2006 for details:
http://www.macintouch.com/readerreports/isync/topic2454.html#jun27
This is the critical bit for reassigning unique IDs:
"Kevin McCormick
For Shirley Sanderson
I had the same problem as you with .Mac reporting there were problems with syncing with iCal. I would "reset sync data" with .Mac with my calendar - it would seem to work but when I went to sync my laptop I would get the same error message: That there was some corruption on the file at .Mac. What I discovered was that one of my calendars was corrupted.
I fixed the problem using the following steps:
Make a backup of your iCal database (from the file menu).
Try deleting your calendars one by one (start with the calendar with the most entries) and force syncing onto .Mac after each try. When you find the calendar that is corrupted, revert back to your saved iCal database.
Export the corrupted calendar file. Back up the iCal database. Close iCal, open it, and revert to the database you just saved. You should have an iCal window with all of your calendar files except for the one you exported.
Import the corrupted calendar. Quit iCal. Force sync to .Mac. Your problem should be solved."