emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Nyman <RKNyman@NymanTechnology.com>
To: Ihor Radchenko <yantar92@posteo.net>
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 13:29:28 -0700	[thread overview]
Message-ID: <bf599eb6-4394-49ff-a99d-3aa77323a624@NymanTechnology.com> (raw)
In-Reply-To: <87h6dylyrb.fsf@localhost>

Mr. Radchenko:
Here is the result from the org-lint (Nifty trick I should probably know.):

   6043 low   Potentially malformed timestamp [2023-10-20 Fri 097:49].  
Parsed as: [2023-10-20 Fri]
   6047 low   Potentially malformed timestamp [2023-10-12 Thu 10;55].  
Parsed as: [2023-10-12 Thu]
   6883 low   Potentially malformed timestamp [2023-07-11 Mon 18:54].  
Parsed as: [2023-07-11 Tue 18:54]
   7065 low   Potentially malformed timestamp [2024-06-03 Tue 12:18].  
Parsed as: [2024-06-03 Mon 12:18]
   8454 low   Potentially malformed timestamp [2023-05-12 Fri 
06:08]--[2023-05-12 Fri 06:25 =>  .  Parsed as: [2023-05-12 Fri 
06:08]--[2023-05-12 Fri 06:25]
   9234 low   Potentially malformed timestamp [2023-03-27 Mon 
11:02rr-[2023-03-27 Mon 11:13] .  Parsed as: [2023-03-27 Mon 11:02]

All of the above has been corrected.

But, I still could not get the problem sections to clock-in. I closed 
emacs and restarted, leading to:
Warning (org-element): org-element--cache: Org parser error in 
habits.org::#<marker at 568369 in habits.org>. Resetting.
  The error was: (wrong-type-argument integer-or-marker-p nil)
  Backtrace:
nil
  Please report this to Org mode mailing list (M-x 
org-submit-bug-report). Disable showing Disable logging


The "Recovery" section split into two drawers: Duration Timestamps and 
"DONE" timestamps. I've removed the extra :LOGBOOK: and :END: markers. 
But still get the same behavior where I get an empty :CLOCK:

When I run "org-lint" again, I get an empty "Line Trust Warning" buffer.

Same happens on the "Dog Walk" TODO
Same happens on the "Daily Writing Project" TODO.

=rk=



On 6/12/24 12:58, Ihor Radchenko wrote:
> [ 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.
>



  reply	other threads:[~2024-06-12 20:30 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
2024-06-12 20:29       ` Robert Nyman [this message]
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=bf599eb6-4394-49ff-a99d-3aa77323a624@NymanTechnology.com \
    --to=rknyman@nymantechnology.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).