Hello list,

I'm getting an error in *Messages* when I try to generate a monthly clocktable 
report. If I remove ":step month" then there is no problem.

The error is:
org-dblock-write:clocktable: Search failed: "^[         ]*#\\+END:"

I'm able to create it with a simple Org file:

=================================================
** Foo
:LOGBOOK:
CLOCK: [2025-03-01 Sat 22:16]--[2025-03-01 Sat 22:25] =>  0:09
:END:

#+BEGIN: clocktable :scope file :tstart "2025-01-01" :tend "2026-01-01" :step 
month

Monthly report starting on: [2025-01-01 Wed]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *0:00* |
#+END
=================================================

I'm using Org mode version 9.7.23 (release_9.7.23 @ 
/home/user/local/src/org-mode/lisp/) and GNU Emacs 30.1 (build 2, 
x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2025-02-24


My init file is not simple. I can start bisecting it, but wanted to check here 
if anyone has any advice before I go down that path, or if there are other 
debugging methods I should apply to address this. I'm not well-versed or 
skilled in elisp debugging, but happy to use this as a chance to learn.

Thanks,

  -k.

Reply via email to