orgstat
orgstat copied to clipboard
Top level error occured: Prelude.minimum: empty list
When running orgstat --conf-path ./config.yaml, I'm getting the following error.
[Info] [2019-11-08 20:27:24.04 UTC] Processing output curWeekFullTimeline
[Info] [2019-11-08 20:27:24.05 UTC] This output will be written into: /home/alberto/Dropbox/org/stat/2019-11-08-20-27-24
[Error] [2019-11-08 20:27:24.05 UTC] Top level error occured: Prelude.minimum: empty list
I've modified my .org file a couple of times to narrow the space but keep getting the same error shown above.
Hi @Acentelles! Apparently it comes from here:
(from,to) =
let c = concat $ org ^.. traverseTree . orgClocks
in (minimum (map cFrom c), maximum (map cTo c))
Which could mean that for some reasons no org clocks were parsed. Might be a deeper parsing error. Could you find the smallest possible org file that gives rise to this error?
Hi @Acentelles again, is this still relevant?