[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release
From: |
Gregor Zattler |
Subject: |
[BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)] |
Date: |
Sat, 23 Mar 2024 23:20:58 +0100 |
Dear org-mode developers, Ihor,
the following is with GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo
version 1.16.0)
of 2024-02-27
with point on the following frame for a clock table:
#+BEGIN: clocktable :scope ("/home/absolute/path/file.org_archive")
#+END:
org-clock-report with
emacs -Q
(that is, with Org mode version 9.6.15 (release_9.6.15 @
/home/xxxx/src/emacs-master--32b4f9d21b14190f1ed1611515751abe4b90fa68--2024-02-27T09-36+01-00/lisp/org/)
produces a nice clock report table.
If instead I use a very fresh org-mode from main, specifically
Org mode version 9.7-pre (release_9.6.22-1309-g8507ef @
/home/xxxx/src/org-mode/lisp/)
like so:
emacs -L ~/src/org-mode/lisp -L ~/src/org-mode/contrib/lisp -Q
org-clock-report
with point on said frame of a clock table produces
Updating dynamic block ‘clocktable’ at line 13...
org-clock-sum: Wrong type argument: fixnump, nil
file.org_archive has 2376 clock lines.
The problem does not occur with file.org which has
only 86 clock lines. I especially archive the nodes
with clock lines, because or performance reasons.
Doing a git bisect produced:
2e901ed23667b04642847701bae2070862b8ee6e is the first bad commit
commit 2e901ed23667b04642847701bae2070862b8ee6e
Author: Ihor Radchenko <yantar92@posteo.net>
Date: Fri Feb 3 15:08:18 2023 +0300
org-clock-sum: Optimize performance
* lisp/org-clock.el (org-clock-sum): Do not re-parse the timestamps,
reusing already-parser element.
lisp/org-clock.el | 29 +++++++++++++++++++++--------
1 file changed, 21 insertions(+), 8 deletions(-)
I cannot disclose said file, because it contains loads
of sensitive data. I extracted the clock lines only,
but a single node with a LOGBOOK drawer filled with
this clock lines does not trigger the bug. But I would
be happy to test a patch on my file.org to test it (or
help otherwise).
HTH, Gregor
- [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)],
Gregor Zattler <=
- Re: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)], Ihor Radchenko, 2024/03/24
- Re: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)], Gregor Zattler, 2024/03/25
- Re: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)], Ihor Radchenko, 2024/03/25
- Re: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)], Gregor Zattler, 2024/03/25
- Re: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)], Ihor Radchenko, 2024/03/26
- Re: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)], Gregor Zattler, 2024/03/26
- Re: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)], Ihor Radchenko, 2024/03/27
- Re: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)], Gregor Zattler, 2024/03/28
- Re: [BUG] org-clock-sum: Wrong type argument: fixnump, nil [9.7-pre (release_9.6.22-1309-g8507ef @ /home/grfz/src/org-mode/lisp/)], Max Nikulin, 2024/03/26