码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2015-06-01 18:48:23      阅读:622      评论:0      收藏:0      [点我收藏+]

标签:mac   icloud   nssqliteerrordomain   

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



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

标签:mac   icloud   nssqliteerrordomain   

原文地址:http://blog.csdn.net/wave_1102/article/details/46314555

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!