From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [Worg] [New Exporter] invalid time specification Date: Sun, 28 Apr 2013 22:11:46 +0200 Message-ID: <8738uact4t.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWXxB-0005SM-8e for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 16:12:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWXx5-0006Sd-LO for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 16:12:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:50887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWXx5-0006Qu-F1 for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 16:12:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UWXx3-0004tL-P1 for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 22:12:01 +0200 Received: from pd9eb3b55.dip0.t-ipconnect.de ([217.235.59.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Apr 2013 22:12:01 +0200 Received: from Stromeko by pd9eb3b55.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Apr 2013 22:12:01 +0200 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 Jay Kerns writes: > Doing `toggle-debug-on-error' yields (I'm deleting most of it) > > ,---- > | Debugger entered--Lisp error: (error "Invalid time specification") > | format-time-string("%Y-%m-%d" "<2010-04-24 Sat>") > | org-publish-format-file-entry("%t" Uh-oh. That function should never get an uninterpreted value from #+DATE, it really wants a proper time value (a list, not a string). The question is how it gets there, since emacs -batch -Q -l worgtest-local-init.el -l worgtest-init.el worgmap.org -l org-publish \ --eval '(message (format-time-string "%Y-%m-%d" (org-publish-find-date (buffer-file-name))))' 2013-04-22 yields the correct value. Also, the calling function doesn't appear to be asking for a date value at all. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada