emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Clock report failing with "invalid time specification" [9.2.1 (9.2.1-dist @ /home/eibhear/eibhear_org/lisp/org-9/lisp/)]
@ 2019-02-20 17:27 Éibhear
  2019-02-20 21:17 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Éibhear @ 2019-02-20 17:27 UTC (permalink / raw)
  To: Org Mode


[-- Attachment #1.1: Type: text/plain, Size: 1529 bytes --]

Hi,

I believe there is a bug in the preparation of a clock report when the
:step parameter is set.

Example:
========
* Headline 1
  :LOGBOOK:
  CLOCK: [2019-02-20 Wed 08:39]--[2019-02-20 Wed 14:05] =>  5:26
  CLOCK: [2019-02-19 Tue 13:38]--[2019-02-19 Tue 17:48] =>  4:10
  CLOCK: [2019-02-19 Tue 08:42]--[2019-02-19 Tue 12:40] =>  3:58
  CLOCK: [2019-02-18 Mon 15:34]--[2019-02-18 Mon 17:44] =>  2:10
  CLOCK: [2019-02-18 Mon 13:41]--[2019-02-18 Mon 14:48] =>  1:07
  CLOCK: [2019-02-18 Mon 08:32]--[2019-02-18 Mon 12:58] =>  4:26
  :END:

  Some text

  #+BEGIN: clocktable :scope file :maxlevel 2 :block thisweek :step week

  #+END:

Typing C-c C-c to refresh the table results in an error "invalid time
specification", failing on line 2738 of org-clock.el.

When I revert to org-9.2.0, the error is present, but when I revert to
org-9.1.9, the clocktable refreshes successfully.

Éibhear

Emacs  : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2017-09-12 on hullmann, modified by Debian
Package: Org mode version 9.2.1 (9.2.1-dist @
/home/eibhear/eibhear_org/lisp/org-9/lisp/)

-- 
Éibhear Ó hAnluain
Dublin, Ireland.
+-------------------------------+--------------------------------+
| e-mail: eibhear.geo@gmail.com | Web: [http://www.gibiris.org/] |
| Twitter: @eibhear             | Google+: +Éibhear Ó hAnluain   |
| Mobile: +353 86 856 5666      | VoIP: sip:eibhear@linphone.org |
+-------------------------------+--------------------------------+


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: Clock report failing with "invalid time specification" [9.2.1 (9.2.1-dist @ /home/eibhear/eibhear_org/lisp/org-9/lisp/)]
  2019-02-20 17:27 Bug: Clock report failing with "invalid time specification" [9.2.1 (9.2.1-dist @ /home/eibhear/eibhear_org/lisp/org-9/lisp/)] Éibhear
@ 2019-02-20 21:17 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-02-20 21:17 UTC (permalink / raw)
  To: Éibhear; +Cc: Org Mode

Hello,

Éibhear <eibhear.geo@gmail.com> writes:

> I believe there is a bug in the preparation of a clock report when the
> :step parameter is set.
>
> Example:
> ========
> * Headline 1
>   :LOGBOOK:
>   CLOCK: [2019-02-20 Wed 08:39]--[2019-02-20 Wed 14:05] =>  5:26
>   CLOCK: [2019-02-19 Tue 13:38]--[2019-02-19 Tue 17:48] =>  4:10
>   CLOCK: [2019-02-19 Tue 08:42]--[2019-02-19 Tue 12:40] =>  3:58
>   CLOCK: [2019-02-18 Mon 15:34]--[2019-02-18 Mon 17:44] =>  2:10
>   CLOCK: [2019-02-18 Mon 13:41]--[2019-02-18 Mon 14:48] =>  1:07
>   CLOCK: [2019-02-18 Mon 08:32]--[2019-02-18 Mon 12:58] =>  4:26
>   :END:
>
>   Some text
>
>   #+BEGIN: clocktable :scope file :maxlevel 2 :block thisweek :step week
>
>   #+END:
>
> Typing C-c C-c to refresh the table results in an error "invalid time
> specification", failing on line 2738 of org-clock.el.

FWIW, I cannot reproduce it.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-20 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20 17:27 Bug: Clock report failing with "invalid time specification" [9.2.1 (9.2.1-dist @ /home/eibhear/eibhear_org/lisp/org-9/lisp/)] Éibhear
2019-02-20 21:17 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).