Re: [BUG] [bug] clocking in suddenly does not work any more [9.7-pre (release_9.6.18-1197-ga250fc @ /home/grfz/src/org-mode/lisp/)]

2024-02-27 Thread Ihor Radchenko
Gregor Zattler  writes:

> I used to clock in (and out) on a certain node several
> times a day.  Also today, but this suddenly does not
> work any more, it inserts only a
>
> CLOCK:
>
> (with preceeding blank) but no following time stamp and
> I get the message: "org-clock-sum-current-item: Wrong
> type argument: fixnump, nil"

If you encounter wrong type argument as similar weird errors, it can
help to produce a backtrace. You can do it by setting `debug-on-error'
to t (M-x toggle-debug-on-error). Then, you can examine or share the
backtrace.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [BUG] [bug] clocking in suddenly does not work any more [9.7-pre (release_9.6.18-1197-ga250fc @ /home/grfz/src/org-mode/lisp/)]

2024-02-26 Thread Gregor Zattler
Dear org-mode users and developers,
* Gregor Zattler  [2024-02-26; 21:18 +01]:
> I used to clock in (and out) on a certain node several
> times a day.  Also today, but this suddenly does not
> work any more, it inserts only a
>
> CLOCK:
>
> (with preceeding blank) but no following time stamp and

wrong: with succeeding blank, sorry English is not my
first language.

> I get the message: "org-clock-sum-current-item: Wrong
> type argument: fixnump, nil"
>
> This still works with emacs -Q, so is somehow related
> to my configuration, but I get this error even with my
> whole emacs.d replaced by the backup from yesterday and
> ~/.cache/emacs/ ~/.cache/org-persist/ org-clock-save.el
> deleted.

I played a bit around.  If I delete the following part
of the LOGBOOK:

ClOCK: [2024-02-26 Mo 11:35]--[2024-02-26 Mo 11:40] =>  0:05
- Clocking out at [2024-02-26 Mo 11:40]

it works again.  The "l" in "ClOCK" is not
capitalized.  I wonder how I managed to change that
single letters capitalization.

For me the problem is solved, although I do not
understand, why emacs -Q does not stumble over this
while my configured Emacs does


Regards, Gregor

Canceled, I hope this works for woof!



[BUG] [bug] clocking in suddenly does not work any more [9.7-pre (release_9.6.18-1197-ga250fc @ /home/grfz/src/org-mode/lisp/)]

2024-02-26 Thread Gregor Zattler
Dear org-mode users and developers,

I used to clock in (and out) on a certain node several
times a day.  Also today, but this suddenly does not
work any more, it inserts only a

CLOCK:

(with preceeding blank) but no following time stamp and
I get the message: "org-clock-sum-current-item: Wrong
type argument: fixnump, nil"

This still works with emacs -Q, so is somehow related
to my configuration, but I get this error even with my
whole emacs.d replaced by the backup from yesterday and
~/.cache/emacs/ ~/.cache/org-persist/ org-clock-save.el
deleted.

Any ideas how to debug this?

Thanks, Gregor

Emacs  : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0)
 of 2024-02-13
Package: Org mode version 9.7-pre (release_9.6.18-1197-ga250fc @ 
/home/grfz/src/org-mode/lisp/)

current state:
==
(setq
 org-list-use-circular-motion t
 org-link-email-description-format "%c: %.80s"
 org-log-note-headings '((done . "CLOSING NOTE %t") (state . "State %-12s from 
%-12S %t") (note . "Note taken on %t") (reschedule . "Rescheduled from %S on 
%t")
 (delschedule . "Not scheduled, was %S on %t") 
(redeadline . "New deadline from %S on %t") (deldeadline . "Removed deadline, 
was %S on %t")
 (refile . "Refiled on %t") (clock-out . "Clocking out 
at %t "))
 org-link-elisp-confirm-function 'yes-or-no-p
 org-agenda-diary-file "~/org/diary.org"
 org-directory "~/org/"
 org-crypt-key "0x"
 org-bibtex-headline-format-function 'org-bibtex-headline-format-default
 org-agenda-custom-commands '(("p" "export daily/weekly /tmp/my-org-agenda.pdf" 
agenda ""
   ((ps-paper-type 'a4) (ps-number-of-columns '1) 
(ps-landscape-mode nil) (org-agenda-with-colors nil) (ps-font-size '(7 . 8.5)) 
(org-agenda-start-on-weekday 1)
(ps-selected-pages '((1 . 2))) 
(org-agenda-ndays 155))
   ("/tmp/my-org-agenda.pdf"))
  ("1" "Q1" tags "+important+urgent") ("2" "Q2" 
tags "+important-urgent") ("3" "Q3" tags "-important+urgent") ("4" "Q4" tags 
"-important-urgent"))
 org-log-into-drawer t
 org-startup-folded nil
 org-agenda-files '("/home//.xx/x/x.xxx" 
"~/xxx/x.xxx" "~/xxx/.xxx" "~///xxx/xxx.xxx")
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-refile-targets '(("~/org/diary.org" :maxlevel . 3) 
("~///xxx/xxx.org" :maxlevel . 5) ("~/org/.org" 
:maxlevel . 5) (org-agenda-files :maxlevel . 9))
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-tag-alist '((:startgroup) ("@xxx" . 105) ("@xxx" . 109) ("@xxx" . 114) 
(:endgroup) (:startgrouptag) ("@comp") (:grouptags) (:startgroup) ("@len" . 
108) ("@no" . 1) ("@shi" . 115)
 ("@del") ("@pit") (:endgrouptag) (:endgroup) ("@fon" . 102) 
("urgent" . 117) ("important" . 73) ("lizenz" . 76) ("techtipp" . 116) ("soc" . 
115))
 org-agenda-exporter-settings '((ps-print-color-p 'black-white))
 org-refile-use-outline-path 'file
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-log-reschedule 'note
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines 
org-cycle-optimize-window-after-visibility-change 
org-cycle-display-inline-images)
 org-agenda-text-search-extra-files '(agenda-archives)
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-agenda-sticky t
 org-read-date-prefer-future 'time
 org-yank-image-file-name-function 'org-yank-image-autogen-filename
 org-link-from-user-regexp "@xxx\\.xx\\||xx...@xxx.xxx\\|x...@.xx|...@xxx.xx\\|x....@xxx.xx\\|xx@xxx\\.xxx"
 org-attach-use-inheritance nil
 org-odd-levels-only t
 org-mode-hook '(gz-maybe-org-add-file # org-clock-load
 (closure (t) nil (define-key org-mode-map "o" 
'org-ctags-find-tag-interactive)) imenu-add-menubar-index turn-on-wcheck-mode 
turn-on-abbrev-mode rainbow-delimiters-mode
 #[0 "\301\211\207" [imenu-create-index-function 
org-imenu-get-tree] 2] #[0 "\300\301\302\303\304$\207" [add-hook 
change-major-mode-hook org-fold-show-all append local] 5]
 #[0 "\300\301\302\303\304$\207" [add-hook 
change-major-mode-hook org-babel-show-result-all append local] 5] 
org-babel-result-hide-spec org-babel-hide-all-hashes
 org-eldoc-load)
 org-babel-load-languages '((emacs-lisp . t) (shell . t) (plantuml . t))
 org-footnote-auto-label 'random
 org-archive-subtree-add-inherited-tags t
 org-crypt-tag-matcher "org_crypt"
 org-agenda-span 44
 org-confirm-shell-link-function 'yes-or-no-p
 org-reveal-start-hook '(org-decrypt-entry)
 org-agenda-clock-consistency-checks '(:max-duration "10:00" :min-duration 0 
:max-gap "43:05" :gap-ok-around ("4:00" "12:00") :default-face ((:background 
"DarkRed")