Hi, Thanks for your reply.
I only changed the location of the journal file. org-mode actually creates the file and the right heading: * 2017 ** 2017-01 January *** 2017-01-11 Wednesday But then this error is thrown. What do you mean the file is not in org mode? How do I add it to org mode? Thanks On Wed, Jan 11, 2017, at 09:58, Nicolas Goaziou wrote: > Hello, > > Simao <s...@imap.cc> writes: > > > I am trying to run `org-capture` to capture a journal entry but > > `org-capture` always aborts with the following trace: > > > > Debugger entered--Lisp error: (error "Capture abort: > > (wrong-type-argument stringp nil)") > > signal(error ("Capture abort: (wrong-type-argument stringp nil)")) > > error("Capture abort: %s" (wrong-type-argument stringp nil)) > > org-capture(nil) > > funcall-interactively(org-capture nil) > > call-interactively(org-capture nil nil) > > command-execute(org-capture) > > > > Is there a problem with my settings? I am using the template suggested > > in the manual. > > You are not using the template suggested in the manual. Your capture > location is "~/Sync/journal.org.txt", which is not in Org mode. You > cannot create a tree there if it is not the case. > > I improved the error message returned by Org capture under those > circumstances. Thank you. > > Regards, > > -- > Nicolas Goaziou