From mboxrd@z Thu Jan 1 00:00:00 1970 From: yagnesh raghava Subject: Re: archive problem [7.7 (release_7.7.167.gfceb)] Date: Mon, 22 Aug 2011 19:06:42 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvRP7-0006e1-6o for emacs-orgmode@gnu.org; Mon, 22 Aug 2011 06:06:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvRP5-0003wr-Ss for emacs-orgmode@gnu.org; Mon, 22 Aug 2011 06:06:49 -0400 Received: from blu0-omc1-s28.blu0.hotmail.com ([65.55.116.39]:42256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvRP5-0003wd-Qv for emacs-orgmode@gnu.org; Mon, 22 Aug 2011 06:06:47 -0400 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I just sent this mail to Suvavu only.. apologies to Suvavu for duplicate mail Hi Suvayu., On 08/22/2011 04:17 PM, suvayu ali wrote: > Hi Yagnesh, > > On Mon, Aug 22, 2011 at 8:47 AM, yagnesh raghava wrote: >> when I do C-c C-x C-a to archive a entry in the agenda view i get the >> following back trace >> >> >> Debugger entered--Lisp error: (wrong-type-argument stringp nil) >> string-match("^/tmp_mnt/" nil) >> abbreviate-file-name(nil) >> org-archive-subtree() >> org-agenda-archive-with(org-archive-subtree) >> org-agenda-archive-default() >> call-interactively(org-agenda-archive-default nil nil) >> > Can you replicate this with a minimal setup as described in the > following link? > > > > For a minimal setup of your agenda files you can take hints from this: > > > >> Yagnesh > GL > Thanks for the reply., I found the reason which is causing the problem. ARCHIVE property of a heading is set incorrectly. like the following., #+begin_src org * plotting :plot: :PROPERTIES: :ARCHIVE: * plotting :END: ** DONE make a cross sectional plot - State "DONE" from "NEXT" #+end_src I must have configured :ARCHIVE: property wrong using =C-c C-x p= . If I set it to " :ARCHIVE: %s_archive::* plotting " as the manual suggested, everything working fine as expected. Thanks for your time. -- YYR