My iCal just totally went on the fritz.  Please help me restore it.

After years of use, all of a sudden my iCal went on the fritz today. Tools would appear and disappear and could not be selected (eg. Month, Week, Day); the to-do list disappeared; calendars in the list of calendars at the top left would appear and disappear and could not be selected; I could not add a new event. The monthly calendar at the bottom left would appear and disappear but fortunately I would allow me to move to a different week so that I could view the events in my calendar, but not move, change, delete, or add events. I could not export.
Apparently the problem is in my user files. I created a new computer account, logged into that account, and iCal worked fine there.
I am using iCal 3.0.8 and OS X 10.5.8.
I tried trashing Home/Library/Caches, and also all the caches in Home/Library/Calendars/ , and also Home/Library/Preferences/com.apple.ical (all of them). Upon restart, the problems are still there.
I do not have a backup of iCal files per se. I do have a Time Machine backup of my computer files. I tried bringing back a previous version of all the files in Home/Library/Calendars, but that did not work.
I guess I need somehow to clean up the base iCal file. Frankly, I don't know where that is. I thought that the Home/Library/Calendars/ folder was the place that iCal used, since it has a folder for each calendar with an info.plist file on the particular calendar's name, color, etc., and then an enclosed folder with a file for each event and to-do item for that particular calendar. However, it appears that this is not true and there must be some other master file location, which just populates the Home/Library/Calendars folder for convenience. For example, when I created a new account on my computer and ran iCal, if I created calendars and events in the program, and then quit the program and deleted a calendar from the Home/Library/Calendars folder or deleted a particular event from the Events folder inside the Home/Library/Calendars calendar folder, I found that when I restarted iCal, it still had the calendar and event, and recreated them inside the Home/Library/Calendars folder. Similarly, if I added to the Home/Library/Calendars folder on the new computer account one of the folders for a calendar and events I have from my existing account, they do not appear when running iCal. Thus, there must be some other place where the data for the iCal program resides.
I would desperately like to get the program working again, with all my data intact. Is there some way that I can "clean" the base file, and bring in the data again. If not, what files do I need to bring back from TimeMachine to restore iCal to its condition from an earlier time when it was working? I know that it is not enough to just bring in the files from Home/Library/Calendars.
Any help would be greatly appreciated.

Dear John,
Thank you again for your thoughts and help.
I tried restoring from the backup created earlier, but that did not work. Apparently, the backup is also corrupted. When I did a restore, iCal just hung. It appears that the data was imported, but then something prevented it from finishing. When I restarted iCal, I now had double entries for each event, and the same problems with the program not working.
However, after many troubleshooting attempts, I have finally got the program working and restored data from TimeMachine from a week ago. Here is what I learned. (Please give me the benefit of your thoughts on all of this):
There apparently is some file (probably associated with iSync) that stores all of the data in iCal. It may be the case that there is one file which stores the calendars, and a separate one which stores the events for those calendars. The data is also found in the Home/Library/Calendars folder. It appears that on system startup (without even starting iCal), if the system does not detect the Calendars folder, it creates a new one, and populates it with default "Home" and "Work" calendars with no items in them. However, the system then goes on to check the background database (iSync?) and if there is calendar data there, it adds those calendars and the events in those calendars to the Calendars folder. (Therefore, the data in the database is in some location other than the Calendars folder, because even when everything is deleted from the Calendars folder, trashed and emptied, the system recreates all of the data, repopulates the Calendars folder with the data, and it appears in iCal.) Thus, it appears that if there is no Calendars folder initially, the system does two things on startup (or other sync event): (1) create "Home" and "Work" calendars, and (2) import all other calendars and their associated events from the sync database into the Calendars folder and make it available to iCal.
If changes are made in iCal to add events, etc., but the info in the Calendars folder is deleted before a system restart (or other sync event), on a restart with a blank Calendars folder, the new Calendars folder is repopulated with the calendars and events from the database, but does not include the new events. On the other hand, if changes are made in iCal to add events, etc., and the Calendars folder is then left alone through a restart, it appears that on the shut down there is another syncing that takes place--this time the new data added by iCal to the Calendars folder is now added to the database. Thus, after the restart, if you delete the Calendars folder, and restart again, the system recreates the Calendars folder, and the added events are now there.
If I create a new user account, and replace the Calendars folder with a copy of the Calendars folder from my existing account, and then restart, the system again compares the Calendars folder with the database (blank). Since the database started with no information, it creates a "Home" and "Work" calendar in the Calendars folder. However, it also adds the calendars and entries that are in the Calendars folder to the database. I know it is now there because if I delete, trash, and empty the Calendars folder, and restart the computer, the Calendars folder is now repopulated with all of the data from the database.
So, as best I can tell, on system startup (or other sync event?), the system compares the database and the Calendars folder. If there is nothing in the Calendars folder, the system creates "Home" and "Work" calendars. If there are other calendars in the database, and they are not in the Calendars folder, the system creates the calendars and their events in the Calendars folder from the database and they are now available to iCal. When using iCal, changes that are made, such as adding or deleting events or calendars, are reflected by immediate changes to the files and folders in the Calendars folder. However, it appears that the database is not changed immediately, at least with regard to added or deleted events. (I am not sure whether adding or deleting a calendar affects the database immediately or not.) On system shutdown (or other sync event), the system again compares the database and the Calendars folder, and updates the database with the changes made to the Calendars folder.
What I think happened in my case is that somehow the database lost the identity of my calendars. It had the events (in their proper colors), but did not have the calendars themselves. This caused iCal to freak out. When I removed the Calendars folder and started over, the system created "Home" and "Work" calendars (and "Birthdays" subscription calendar), and then brought back in all the old events again from the database. On running iCal, there were "Home", "Work" and "Birthdays" calendars in the calendar list, but none of the names of the other calendars. However, all the events were still there. This again caused iCal to freak out.
When I tried restoring the iCal backup file, apparently the same corruption problem existed in the backup file. So it added all the events in again without a calendar reference (although in the correct colors), but never cleaned up -- since the restore never finished--it just hung. The result was that iCal now had two copies of each event, but still was not working because all of those events were somehow not properly associated to a calendar.
I then tried deleting the Calendars folder and resetting iSync. That worked wonders. Resetting iSync apparently cleaned out all of the events from the database. However, it did not clean out the seven calendars I had before. Rather, it now made them able to be recognized by iCal. When I then ran iCal, all of the calendars I had before showed up in iCal, but there were no events in them. (That is why I think there is one database file which identifies the calendars that the user is currently using, and a separate database file which stores the events. Resetting iSync cleans out the events database, but does not change the list of calendars that the user is currently using.)
Having apparently cleared the database of its problems, I then tried restoring with the backup file again. Unfortunately, that did not work. It really appears that the backup file is corrupted. The restore only brought back the same problem-- the events were brought back without any associated calendars, and iCal did not work.
So, I reset iSync again to clean out the database, trashed the Calendars folder, used TimeMachine to bring back a former copy of my Calendars folder, and restarted. I ran iCal and it recognizes all of the calendars and the events that were in them. I restarted again. (That apparently updated the database.) I deleted the Calendars folder. I restarted again. The system now recreated the Calendars folder from the database--adding a "Home" and "Work" calendar.
So, I think there is a two-way synchronization between the database and the Calendars folder.
Ultimately, the resolution to my problem would be:
(1) reset iSync to clear the database
(2) delete the Calendars folder
(3) restore a previous version of the Calendars folder from TimeMachine
(4) restart
(5) iCal runs fine, using the data brought back from TimeMachine
(6) restart again to sync the data to the database.

Similar Messages

  • HT204411 you have rentals that have not expired. what does that meen?i just want to change the country please help

    you have rentals that have not expired. what does that meen?i just want to change the country please help

    I have the same problem

  • TS3212 hi my iphone was updated to IOS6 and now it wont play my music it just scroles through all the titles please help

    my iphone was updated with IOS6 and now it wont play any of my music it just svroles through every song and wont stop i turned it off using the twin keys start and turn off but still no help please can some one halp me this apple softwear is crap

    Hi alicia243,
    Thanks for visiting Apple Support Communities.
    If your iPhone wont power on, I recommend going through these steps first:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Best,
    Jeremy

  • I have iTunes 11.1.3 and when I click on iTunes Store in the top right corner I just get a blank screen. Please help me! I want to buy music!

    I have iTunes 11.1.3 and when I click on iTunes Store in the top right corner I just get a blank screen. Please help me! I want to buy music!

    Hi, iTunes Store Help 12. 
    Thank you for visiting Apple Support Communities. 
    Here is an article I would recommend going through when experiencing issues with the iTunes Store. 
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    Jason H. 

  • I keep getting the "Something went wrong" message on my Droid Razr HD also. I looked in my Settings, and I don't have a Cloud app - I have a Cloud Print app with nothing cached.  This is making it nearly impossible to use the phone - please help!  So far,

    I keep getting the "Something went wrong" message on my Droid Razr HD also. I looked in my Settings, and I don't have a Cloud app - I have a Cloud Print app with nothing cached.  This is making it nearly impossible to use the phone - please help!  So far, this website has only made things more difficult.

    The details you're providing are very helpful, Maj_Dad. With airplane mode enabled,
    there would be no message because that disables celluar data. I would recommend
    tying that mode with WiFi to see if it still happens. It sounds like this issue
    has something to do with one of the applications on the device.
    JoeL_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • I have just bought a MacBook Air OS X,10,7.2 from a friend but she has forgotten her password. any clues how to reset the password, please help

    I have just bought a MacBook Air OS X,10,7.2 from a friend but she has forgotten her password. any clues how to reset the password, please help. I can't personalise my MacBook until I reset it.

    http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/

  • After backing up my iPod my applications will not reload and just shows waiting underneath the application any help?

    After backing up my iPod my applications will not reload and just shows waiting underneath the application, any help?

    http://lifehacker.com/5948155/fix-iphone-apps-stuck-waiting-during-installation
    http://alvinalexander.com/apple/iphone-waiting-apps-update-install-reinstall-del ete-ipod

  • My phone has changed from the numbered keypad to the large lettered keyboard.  When I enter my 6 digit passcode it tells me I'm wrong.  I've tried about 6 times and don't want to get locked out.  It just started today??? Please help.

    My phone has changed from the numbered keypad to the large lettered keyboard.  When I enter my 6 digit passcode it tells me I'm wrong.  I've tried about 6 times and don't want to get locked out.  It just started today??? Please help.

    carolinechx wrote:
    i know the description may be a little bit too confusing
    Mostly because you are not using any capital letters or paragraph returns and your post is difficult to read.

  • Hi as iam changing the ical message allert date to daybefore automatically it is changing to on the date please help me, hi as iam changing the ical message allert date to daybefore automatically it is changing to on the date please help me

    hi,
    As iam changing the ical message allert date to "daybefore" automatically it is changing to "on the date"   
    please help me,

    You could simplify the decode(... into to_char(sysdate + 1,'d')
    select sysdate + level input_date,
           TRIM(TO_CHAR(SYSDATE + level,'DAY')) the_day,
           DECODE(TRIM(TO_CHAR(SYSDATE + level,'DAY')),
                  'SATURDAY',1,
                  'SUNDAY',2,
                  'MONDAY',3,
                  'TUESDAY',4,
                  'WEDNESDAY',5,
                  'THURSDAY',6,
                  'FRIDAY',7
                 ) daynumber,
           to_char(sysdate + level + 1,'d') alternative
      from dual
    INPUT_DATE
    THE_DAY
    DAYNUMBER
    ALTERNATIVE
    10/14/2013
    MONDAY
    3
    3
    10/15/2013
    TUESDAY
    4
    4
    10/16/2013
    WEDNESDAY
    5
    5
    10/17/2013
    THURSDAY
    6
    6
    10/18/2013
    FRIDAY
    7
    7
    10/19/2013
    SATURDAY
    1
    1
    10/20/2013
    SUNDAY
    2
    2
    10/21/2013
    MONDAY
    3
    3
    10/22/2013
    TUESDAY
    4
    4
    10/23/2013
    WEDNESDAY
    5
    5
    10/24/2013
    THURSDAY
    6
    6
    10/25/2013
    FRIDAY
    7
    7
    10/26/2013
    SATURDAY
    1
    1
    10/27/2013
    SUNDAY
    2
    2
    10/28/2013
    MONDAY
    3
    3
    Regards
    Etbin

  • I lost my iPhone device, how can I get my data back on another one without using an iCloud backup just back up on i Tunes, Please Help.

    I lost my iPhone device, how can I get my data back on another one without using an iCloud backup just back up on i Tunes, Please Help.??

    You can find the backup files and then copy them to a safe place if you are worrying about this.
    iTunes places the backup files in these places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
    Windows Vista, Windows 7, and Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    To quickly access the AppData folder, click Start. In the search bar, type %appdata%, then press Return.
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    To quickly access the Application Data folder, click Start, then choose Run. In the search bar, type %appdata%, then click OK.

  • I need answers about the iCloud - Please help

    Hi guys, well I have a few iOS devices, 2 ipads, and an iphone. Well, I got a few questions to ask.
    1. Ok, on my iphone on settings on the icloud bit, I have my iphone back up aswell as the 2 ipads. What will happen if I delete the back up for 1 of the ipads. Like, I don't know whats on the back up. And If I want a new back up for the ipad, how to I create 1?
    2. On the icloud section with all 3 ios devices, my 5gb of storage is full, and each device has a bit of storage used up by it. The iphone - 1.7gb, ipad 1 - 600 mb... And it all adds up to around 5gb. But what I don't understand is, on 1 of the ipads it says I've used up 17gb of storage (not icloud), so why has the icloud only stored 600 mb of it? Shouldn't it store like the whole 5gb? I really don't know... I need all the info about the icloud. And yes I've read all of it on this website but none of it helps.
    3. Since it say the icloud storage is full, how do i get more storage, should I just buy more, or is there another way?
    All I know is, if I have icloud set up on all 3 of my devices, what ever i buy on 1 devices it goes on the other 3.
    And that, i have a back up with all my music n stuff in, just incase something goes wrong. Please help! Thanks!

    iCloud Support
    http://www.apple.com/support/icloud/
    iCloud Help
    http://help.apple.com/icloud/?lang=en

  • TS3694 PlEASE HELP ME RESTORE MY IPAD 2. JUST SHOWING USB AND ITUNES SYMBOL TO CONNECT. iPad 2, iOS 7.0.2, fix it

    PlEASE HELP ME RESTORE MY IPAD 2. JUST SHOWING USB AND ITUNES SYMBOL TO CONNECT.
    iPad 2, iOS 7.0.2, fix it

    1: Connect the device to Your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    Restoring  >  http://support.apple.com/kb/HT1414
    3: If the device doesn't appear in iTunes, try using the Steps in this article to force the device into Recovery Mode.
    Make sure you have the Latest Version of iTunes (v11.1.5) Installed on your computer
    iTunes free download from www.itunes.com/download
    Note on Recovery Mode.
    You may need to try this More than Once... Be sure to Follow ALL the Steps...
    Once you have Recovered your Device...
    Re-Sync your Content or Restore from the most Recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • HT1338 i qualified for free mac os upgradation program but i lost the password. please help me out...

    i qualified for free mac os upgradation program but i lost the password. please help me out...
    my apple id is: [email protected]

    What password, you don't need a password... Just go here...
    https://uptodate.apple.com/UtdPrepareAction?program=Mountain%20Lion&locale=en_us

  • Hello I have purchased a iphone 5s from a customer and forgot to give me the email and password and if placed in the phone sim card does not open because he wanted to email and password, what do I do in order to open the iPhone please help me :(

    how to remove activation lock  :Hello I have purchased a iphone 5s from a customer and forgot to give me the email and password and if placed in the phone sim card does not open because he wanted to email and password, what do I do in order to open the iPhone please help me

    You just made a very expensive mistake, especially if you can't return the phone.

  • I have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    i have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    First we need to know which one of the 9 different models of MacBook you have. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info (and then System Report if you’re running 10.7 Lion). When System Profiler comes up check the Model Identifier and post it back here.
    The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports. Each would take a different adapter to connect with the TV.

Maybe you are looking for

  • 6251 Counter input signal

    Hello, I am acquiring pulses which are 0-5V with the counter of the PXI 6251. However, I would like to know if it is possible to acquire pulses that are, for example 0-12V or 0-24V without damage the device. In other words, which is the voltage range

  • List of sap companies in hyderabad

    hi all, Can somebody send me the list of companies of sap in hyderabad to my mail id, i will be very thankful. my mail id is [email protected] thanx mallik

  • LDAP server on Windows2000

    Hi, I am trying to bind objects to LDAP server running on Windows 2000 locally.I found LDAP server for other OS s and Windows NT,but not for Win 2000.Can anybody suggest where we can download LDAP server for Win 2000.Or, how can we create an account

  • Best way to clone my drive to an EHD

    I want ot clone my ibooks drive to an EHD.  The ibooks 40gb is just to small so I want to use the firewire EHD as the main drive to keep all my files etc.  Whats the best way to clone my drive?  Should I use disc utility or other software?

  • Finder langue localization

    Hi, Is there an easy way to revert the Finder that was localized to traditional chinese back to US English? Thank you for any tip.