Skip to content

Instantly share code, notes, and snippets.

@h0ysala
Created February 5, 2016 20:41
Show Gist options
  • Save h0ysala/3468cd10fb9da9cb1d65 to your computer and use it in GitHub Desktop.
Save h0ysala/3468cd10fb9da9cb1d65 to your computer and use it in GitHub Desktop.
dayone - /DO-Mac/Source/DOJournalPackageFile+OSXAdditions.m:20
ms $ echo "Hello World" | dayone new
2016-02-05 21:20:59.269 dayone[41672:986078] *** Assertion failure in +[DOJournalPackageFile(OSXAdditions) defaultPackage](), /Users/ben/Developer/DO-Mac/Source/DOJournalPackageFile+OSXAdditions.m:20
2016-02-05 21:20:59.270 dayone[41672:986078] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Default location is not set - Error Domain=DOErrorDomain Code=4 "(null) not found" UserInfo={NSLocalizedDescription=(null) not found}'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff9ba10c72 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff980e973c objc_exception_throw + 48
2 CoreFoundation 0x00007fff9ba1594a +[NSException raise:format:arguments:] + 106
3 Foundation 0x00007fff9115c16e -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 169
4 dayone 0x000000010687b9d8 +[DOJournalPackageFile(OSXAdditions) defaultPackage] + 376
5 dayone 0x000000010687da15 main + 1717
6 dayone 0x000000010687a924 start + 52
7 ??? 0x0000000000000002 0x0 + 2
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
ms $
@robrecord
Copy link

Did you find out the cause of this error?

@amrmjd
Copy link

amrmjd commented Mar 28, 2016

I'm getting the same error..did you resolve? how so?

@joshuarudd
Copy link

@robrecord @borderless @qkms I ran into the same problem yesterday. Day One support sent me these instructions to get the CLI to work with Day One 2.

https://gist.github.com/bjhomer/cca5ab5c346cb21480e4e19695aa5c8b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment