emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-capture exists with "Capture abort: (wrong type argument...)


From: Simao
Subject: Re: [O] org-capture exists with "Capture abort: (wrong type argument...)"
Date: Wed, 11 Jan 2017 12:03:59 +0100

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 <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]