最近在Mac下Notes突然不能打开了,报如下错误:
NSSQLiteErrorDomain error 8
这时,如果到System Preferences里,iCloud也打不开的,报错:Could not load iCloud preference pane.
打开Applications-->Utilities-->Console,看到如下类型的错误:
6/1/15 3:38:37.339 PM com.apple.NotesMigratorService[475]: SQLite: unixReplaceDatabase() failed with error 8 for replacing '/Users/wave/Library/Containers/com.apple.Notes/Data/Library/Notes/Backups/2015-06-01--15:38:37--V3.storedata' with '/Users/wave/Library/Containers/com.apple.Notes/Data/Library/Notes/NotesV3.storedata'
百度:Notes NSSQLiteErrorDomain error 8, 基本都是不相关的内容;用Bing搜索了下,找到如下内容解决了我的问题:
/Users/(my user name)/Library/Containers/com.apple.Notes/Data/Library/Notes/ And delete the two files : NotesV2.storedata-shm NotesV2.storedata-wal Since notes uses SQLite to store the data, these two files were locking up the database and wasn't allowing Notes to open up and was for some reason causing all of iCloud to get messed up.
参考:https://discussions.apple.com/thread/5497285?start=0&tstart=0
时间: 2024-11-07 00:44:57