From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: "Specified time is not representable" with org-timeline in 4.77 Date: Mon, 18 Jun 2007 08:55:49 +0200 Message-ID: <279ceda32ec760da7c25dced2c450197@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I0CQe-0003S9-HY for emacs-orgmode@gnu.org; Mon, 18 Jun 2007 04:17:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I0CQa-0003O5-OT for emacs-orgmode@gnu.org; Mon, 18 Jun 2007 04:17:39 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0CQa-0003No-JQ for emacs-orgmode@gnu.org; Mon, 18 Jun 2007 04:17:36 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I0CQa-0003T2-4n for emacs-orgmode@gnu.org; Mon, 18 Jun 2007 04:17:36 -0400 In-Reply-To: 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: Jonathan Moore Cc: emacs-orgmode@gnu.org Thanks for your report and analysis. Will be fixed. - Carsten On Jun 14, 2007, at 23:15, Jonathan Moore wrote: > > 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 > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477