From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Moore Subject: "Specified time is not representable" with org-timeline in 4.77 Date: Thu, 14 Jun 2007 21:15:04 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hywfc-0007wQ-GS for emacs-orgmode@gnu.org; Thu, 14 Jun 2007 17:15:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hywfa-0007w6-BF for emacs-orgmode@gnu.org; Thu, 14 Jun 2007 17:15:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hywfa-0007vz-5v for emacs-orgmode@gnu.org; Thu, 14 Jun 2007 17:15:54 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HywfZ-00040O-Q7 for emacs-orgmode@gnu.org; Thu, 14 Jun 2007 17:15:54 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hywf0-0003Ju-ID for emacs-orgmode@gnu.org; Thu, 14 Jun 2007 23:15:20 +0200 Received: from 57.77.8.130 ([57.77.8.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jun 2007 23:15:18 +0200 Received: from my.jon.moore by 57.77.8.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jun 2007 23:15:18 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I am getting an error "Specified time is not representable" when calling org-timeline. The backtrace looks like: encode-time(0 0 0 0 0 0 0 0 0) apply(encode-time (0 0 0 0 0 0 0 0 0)) org-time-string-to-time(#("2007-05-10" 0 10 (fontified t mouse-face highlight rear-nonsticky t keymap (keymap ... ... ... ... ...) face org-date))) org-get-all-dates(1 3994 no-ranges t nil 3) org-timeline(nil) call-interactively(org-timeline) The problem occurs when org-time-string-to-string calls org-parse-time-string. This matches with org-ts-regexp1, which has a hard-coded space, so the 10-character date string isn't parsed as you'd expect. (org-parse-time-string "2007-05-10 ") => (0 0 0 10 5 2007 nil nil nil) (org-parse-time-string "2007-05-10") => (0 0 0 0 0 0 0 0 0) A fix might be just to get rid of the space in the regexp. Best, Jon