From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Kerns Subject: [Worg] [New Exporter] invalid time specification Date: Sun, 28 Apr 2013 13:10:16 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWV7W-0004LK-1U for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 13:10:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWV7U-0002yI-HK for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 13:10:37 -0400 Received: from mail-qc0-x22b.google.com ([2607:f8b0:400d:c01::22b]:39632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWV7U-0002yA-DG for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 13:10:36 -0400 Received: by mail-qc0-f171.google.com with SMTP id q2so2854238qch.30 for ; Sun, 28 Apr 2013 10:10:36 -0700 (PDT) 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: Org Mode List Hello there, I've noticed people mentioning on the list that there is a problem with Worg not publishing, something about an invalid time specification. Having been publishing Worg locally myself, I noticed that I was getting a similar error when it came time to construct the sitemap.org. My workaround at the time was to set "autositemap nil" in the emacs.el related to Worg, but with Achim's recent improvements to emacs.el I thought I'd try to track down what's going on. Here is what I found: If I reset "autositemap t" in worg-init.el (presumably the same setting as the Worg server) then near the beginning of interactive publish I get the following: ,---- | Generating tree-style sitemap for Sitemap for project worg-pages [11 times] | org-publish-format-file-entry: Invalid time specification `---- 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" "/home/jay/git/worg/org-tutorials/org-latex-export.org" `---- If I fix the #+DATE: in org-latex-export.org to 2010-04-24 and republish, then I don't get an error until the next file with the same problem. :-) Here are the files that generate these errors: - exporters/beamer/presentation.org [2013-03-13 Wed] - org-tutorials/non-beamer-presentations.org <2011-06-02 Thu> - org-tutorials/org-google-sync.org <2011-02-28 Mon> - org-tutorials/org-outside-org.org <2013-03-12 Di> - org-tutorials/org-latex-export.org <2010-04-24 Sat> - org-tutorials/org-meeting-tasks.org <2011-03-30> - worgmap.org <2013-04-22 Mon> I have modified the dates on each of those files in the worg-new-exporter branch and am able to publish successfully even with "autositemap t". I am not 100% sure that this is the same problem Worg is having, but if not then it's one heck of a coincidence. Rather than push my changes to worg-new-exporter, though, maybe this is something to be fixed somewhere else? What I mean is, the default #+DATE: inserted by `C-c C-e # default RET' is a date that looks like , and that's the same kind of date which looks to be tripping up Worg. I hope this helps with tracking down the problem, -- Jay P.S. It looks like I can fix the date with even "2013-03-13 Wed", so maybe it's the "< >" which is causing the problem.