I just hit a nasty bug in Calendar.app and Reminders.app on Yosemite.
For some reason, calendars also appear in Reminders.app as empty reminder lists and reminder lists also appear in Calendar.app as empty Calendars. Even if I delete all of my calendars and reminder lists (I've got them all backed up), they get created back again.
I've noticed both calendars and reminders get stored under
~/Library/Calendars. I've been trying a lot of things to fix this up. As suggested in other articles I've tried deleting these files:
I've also tried deleting the whole
~/Library/Calendars directory and I've restarted my mac many times during this whole process.
Yet every time I go back to Calendar.app or Reminders.app, the buggy calendars and reminder lists keep creeping back again.
I don't know what to do anymore now… any suggestions would be welcome!
Edit: I seem to have reached a state of sanity out of this mess… at last!
Searching up the
~/Library/ directory, I found what appears to be the culprit causing me this problem. There is a file that's being generated by some sync services from Apple located at
~/Library/Application\ Support/SyncServices/Local/TFSM/com.apple.Calendars/data.syncdb. I'm not sure what process is updating this, but I'm using iTunes to sync local calendars to my iPhone and I suspect it probably has something to do with this. So perhaps the bug is not in Calendar/Reminders but really in iTunes or the SyncServices.
So I've deleted that file as well as all files under
~/Library/Containers/com.apple.CalendarAgent/Data/Library/Calendars/ and restarted OS X. When I opened Calendar.app, the calendars one should get by default on a new user account were there: Home and Work, and in my case Birthdays and Holidays too. Reminders.app also showed an empty Reminders list, which is fine too. So then I proceeded to restore my calendars and reminders from my backups.
Synchronization in iTunes is now OK, but the reminder lists still shows up as calendars for some reason (seems like a bug here too). If I manually select calendars from Calendar.app, everything seems to work just fine.
My last resort would have been to move all my stuff to a new user account (assuming the problem was due to a buggy state with my current user account – as suggested by bmike), but luckily I don't have to do that tedious task, at least for now.
Using OS X 10.10.5 and iTunes 126.96.36.199.