emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Robert Nyman <RKNyman@NymanTechnology.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Clock malfunction -- Cannot process task file after update [9.7.2 (release_N/A-N/A-88dd2c @ /home/rknyman/.emacs.d/elpa/org-9.7.2/)]
Date: Wed, 12 Jun 2024 19:58:00 +0000	[thread overview]
Message-ID: <87h6dylyrb.fsf@localhost> (raw)
In-Reply-To: <0c892135-fd59-44e1-bcdd-34cd56214882@NymanTechnology.com>

[ Adding Org mailing list back to CC to keep the bug discussion public;
  I will not mention anything risky from your example file here ]

Robert Nyman <RKNyman@NymanTechnology.com> writes:

> Please find below what happens when I toggle on debug:
>
> Debugger entered--Lisp error: (wrong-type-argument fixnump nil)
>    org-clock-sum((26217 47088))
> ...
> I only get this with a couple of sections of my habits.org file. I've 
> cut my config down to JUST habits.org. That is the only thing I'm 
> currently clocking. I used to have a tasks.org, but I'm restricting it 
> for debugging purposes. I'll include my habits.org file here...

The culprit is

CLOCK: [2023-06-01 Thu 21rr:07]--[2023-06-01 Thu 22:08] =>  1:01

The timestamp is malformed there, which leads to error.

It is still a bug in Org mode that such problem is not handled
gracefully.
Confirmed.

Meanwhile, you can fix that timestamp and other similar problems manually.
You can run M-x org-lint and Org will find suspiciously-looking
timestamps and other potential issues in your files.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  parent reply	other threads:[~2024-06-12 19:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06 18:04 [BUG] Clock malfunction -- Cannot process task file after update [9.7.2 (release_N/A-N/A-88dd2c @ /home/rknyman/.emacs.d/elpa/org-9.7.2/)] Robert Nyman
2024-06-09 11:23 ` Ihor Radchenko
     [not found]   ` <0c892135-fd59-44e1-bcdd-34cd56214882@NymanTechnology.com>
2024-06-12 19:58     ` Ihor Radchenko [this message]
2024-06-12 20:29       ` Robert Nyman
2024-06-12 20:52         ` Ihor Radchenko
2024-06-12 21:42           ` Robert Nyman
2024-06-14 13:44           ` Ihor Radchenko
2024-06-14 13:42       ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6dylyrb.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=RKNyman@NymanTechnology.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).