CLI not working (NSCocoaErrorDomain Code=256)
-
Below is the terminal output. All paths are existing:
- /Users/bp/Library/Group Containers/5U8NS4GX82.dayoneapp2/Data/Documents/DayOne.sqlite
- /usr/local/bin/dayone2
Terminal:
dayone2 -h
CoreData: error: addPersistentStoreWithType:configuration:URL:options:error: returned error NSCocoaErrorDomain (256)
CoreData: error: userInfo:
CoreData: error: NSFilePath : /Users/bp/Library/Group Containers/5U8NS4GX82.dayoneapp2/Data/Documents/DayOne.sqlite
CoreData: error: NSSQLiteErrorDomain : 23
CoreData: error: storeType: SQLite
CoreData: error: configuration: (null)
CoreData: error: URL: file:///Users/bp/Library/Group%20Containers/5U8NS4GX82.dayoneapp2/Data/Documents/DayOne.sqlite
CoreData: annotation: options:
CoreData: annotation: NSPersistentStoreRemoteChangeNotificationOptionKey : 1
CoreData: annotation: NSPersistentHistoryTrackingKey : 1Error: Error Domain=NSCocoaErrorDomain Code=256 “The file “DayOne.sqlite” couldn’t be opened.” UserInfo={NSFilePath=/Users/bp/Library/Group Containers/5U8NS4GX82.dayoneapp2/Data/Documents/DayOne.sqlite, NSSQLiteErrorDomain=23}
Use help command for more information on how use use the dayone CLI.
-
I wasn’t able to recreate the issue on our end. Could you tell us a bit more about your setup? What version of macOS are you using and what version of the Day One app do you have installed?
-