9 Replies Latest reply: May 27, 2014 2:10 AM by Denniknak
LMM50 Level 1 Level 1 (0 points)

I'm getting the following errors from iCal:

 

9/7/12 10:37:13.629 AM iCal: CoreData: error: (11) Fatal error.  The database at /Users/lisamaco/Library/Calendars/Calendar Cache is corrupted.  SQLite error code:11, 'database disk image is malformed'

9/7/12 10:37:13.629 AM iCal: WARNING: CalDAVAccountRefreshQueueableOperation :: refresh :: save failed
9/7/12 10:37:13.630 AM iCal: Error: Error Domain=NSCocoaErrorDomain Code=259 "The file “Calendar Cache” couldn’t be opened because it isn’t in the correct format." {
    NSFilePath = "/Users/lisamaco/Library/Calendars/Calendar Cache";
    NSSQLiteErrorDomain = 11;
    NSUnderlyingException = "Fatal error.  The database at /Users/lisamaco/Library/Calendars/Calendar Cache is corrupted.  SQLite error code:11, 'database disk image is malformed'";
}
9/7/12 10:37:14.110 AM iCal: Account refresh failed with error: Error Domain=NSCocoaErrorDomain Code=259 "The file “Calendar Cache” couldn’t be opened because it isn’t in the correct format." UserInfo=0x7f8e0fd39c10 {NSSQLiteErrorDomain=11, NSFilePath=/Users/lisamaco/Library/Calendars/Calendar Cache, NSUnderlyingException=Fatal error.  The database at /Users/lisamaco/Library/Calendars/Calendar Cache is corrupted.  SQLite error code:11, 'database disk image is malformed', AccountName=lisa.maco@me.com, CalDAVErrFromRefresh=YES}
Ok, so I get it.  But what do I do about it?  My iCal entries *should* be in the cloud (they are showing up on my iPhone).  How do I clear or delete and recreate the cache?


iMac, Mac OS X (10.7.4)
  • 1. Re: iCal cache is corrupted
    John Maisey Level 5 Level 5 (6,880 points)

    Hi,

     

    Quit iCal. In Finder, from the Go menu select 'Go to Folder...'. Enter the path ~/Library/Calendars/ . A new Finder window should open. From that window move the file Calendar Cache to your Desktop. Re-open iCal.

     

    Let me know how it goes.

     

    Best wishes

    John M

  • 2. Re: iCal cache is corrupted
    LMM50 Level 1 Level 1 (0 points)

    Shazamm!  Worked like a champ.  Thanks

  • 3. Re: iCal cache is corrupted
    JGP_77 Level 1 Level 1 (0 points)

    Just had the same issue and this solved it for me, too--thanks!

     

    Stupid question - do I need to leave that cache file on my desktop now?  Or can I delete it?

  • 4. Re: iCal cache is corrupted
    John Maisey Level 5 Level 5 (6,880 points)

    Hi,

     

    Once you are happy it has fixed your issue you can delete it.

     

    Best wishes

    John M

  • 5. Re: iCal cache is corrupted
    Roy Pembroke Level 1 Level 1 (5 points)

    Many thanks John. You have solved my problem with iCal too.

     

    Best regards

     

    Roy

  • 6. Re: iCal cache is corrupted
    TheSalesWhisperer Level 1 Level 1 (0 points)

    Thank you for this info. It worked!

  • 7. Re: iCal cache is corrupted
    Amystone Level 1 Level 1 (0 points)

    I am having a similar problem with error message from icalendar: when I try to enter an event on my Mac from an  airline website.

     

    Access to “Bestillingsreferanse:5AG62F, Fra:Bodø  Til:Bergen (WF615)” in “SCHOOL” in account “iCloud” is not permitted.

     

    The server responded:

    “403”

    to operation CalDAVWriteEntityQueueableOperation.

     

     

    But on my Mac there is no calendar folder in the library, no calendar cache to be found... ??? How can that be? I see on several forums the same advice: library/calendar/calendar cache. But in my library there is no folder for calendar, and no icalendar item listed in the "caches" folder.

     

     

    Otherwise I have no trouble synching calendars between my Macs and icloud... just this message everytime I try to open an .ics file from downloads.... but more disconcerting is the lack of a calendar folder in the library! Are these two problems related?

  • 8. Re: iCal cache is corrupted
    Denniknak Level 1 Level 1 (0 points)

    Thank you John - this has been a worry for a while - now it is sorted!

  • 9. Re: iCal cache is corrupted
    Denniknak Level 1 Level 1 (0 points)

    Amystone - look at John Maisey's post above and you will find it.....

     

    you need to copy and paste the directory name from his post first  and then follow the instructions

    (the folder didn't show up on mine either if I went and manually searched for it, but by copying and pasting - it was there as a hidden folder).

     

    Hope it helps.