Mac下Notes报错NSSQLiteErrorDomain error 8解决方法

最近在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



郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。