Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iCal cache is corrupted

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)

Posted on Sep 7, 2012 7:48 AM

Reply
Question marked as Best reply

Posted on Sep 7, 2012 1:40 PM

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

13 replies

Apr 28, 2014 10:50 PM in response to John Maisey

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?

May 27, 2014 2:10 AM in response to Amystone

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.🙂

Jan 6, 2016 4:58 AM in response to John Maisey

Hi John,


over the last few day I experienced that my iCal would not synchronize with my iCals on iPhone and other Mac. The error used to be that my calendar accounts would not sync properly. Last night after checking why my iMac iCal would only show this problem whereas all other iCals on my Mac products are OK, the message now became: NSCocoaErrorDomain ; Fehler: 259

Checking google I found this helpboard. I did take all 3 cache folders out of ~/Library/Calendars/ but this only ended in having a local calendar with just 2 - job and private. Everything else is gone. Could you help me with this to help make iCal work OK properly or what should I do?


Appreciate your help.


Thanks in advance.


Brit

iCal cache is corrupted

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.