From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-capture exists with "Capture abort: (wrong type argument...)" Date: Wed, 11 Jan 2017 09:58:38 +0100 Message-ID: <87eg0aug5d.fsf@nicolasgoaziou.fr> References: <1484058449.3606814.843112001.3FF9BB31@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRGcc-0001hP-Sj for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 05:59:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRGcZ-0007ds-Rw for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 05:59:14 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:52814) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRGcZ-0007dU-Lw for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 05:59:11 -0500 In-Reply-To: <1484058449.3606814.843112001.3FF9BB31@webmail.messagingengine.com> (Simao's message of "Tue, 10 Jan 2017 15:27:29 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Simao Cc: emacs-orgmode@gnu.org Hello, Simao 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