all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [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 20:18 Gregor Zattler
  2024-02-26 23:22 ` Gregor Zattler
  2024-02-27 12:59 ` Ihor Radchenko
  0 siblings, 2 replies; 3+ messages in thread
From: Gregor Zattler @ 2024-02-26 20:18 UTC (permalink / raw)
  To: emacs-orgmode

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 "0xxxxxxxxxxxxxxxxx"
 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/xxxx/.xxxxxx/xxxxx/xxxxxxxxxxxxx.xxx" "~/xxx/xxxxx.xxx" "~/xxx/xxxx.xxx" "~/xxxxxxxxxxxxxxxxxxxx/xxxx/xxx/xxx.xxx")
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-refile-targets '(("~/org/diary.org" :maxlevel . 3) ("~/xxxxxxxxxxxxxxxxxxxx/xxxx/xxx/xxx.org" :maxlevel . 5) ("~/org/xxxx.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 "xxxx@xxx\\.xx\\|\\<xxxxxx xxxxxxx\\>\\|xxxxxxxxx@xxx.xxx\\|xx@xxxx.xx|xxxxxxx@xxx.xx\\|x.xxxxxxx@xxx.xx\\|xxxxxxxxxx@xxx\\.xxx"
 org-attach-use-inheritance nil
 org-odd-levels-only t
 org-mode-hook '(gz-maybe-org-add-file #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_4> 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") (:foreground "white"))
                                       :overlap-face ((:background "Red") (:foreground "white")) :gap-face nil :no-end-time-face nil :long-face nil :short-face nil)
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-fold-catch-invisible-edits 'show
 org-plantuml-jar-path "/usr/share/plantuml/plantuml.jar"
 org-use-speed-commands t
 org-list-demote-modify-bullet '(("1." . "*") ("*" . "+") ("+" . "-") ("-" . "+"))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-complete-tags-always-offer-all-agenda-tags t
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-archive-save-context-info '(time file category todo priority itags olpath ltags)
 org-tags-exclude-from-inheritance '("org_crypt")
 org-clock-report-include-clocking-task t
 org-insert-mode-line-in-empty-file t
 org-hide-leading-stars t
 org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id
 org-deadline-warning-days 3
 org-structure-template-alist '(("a" . "export ascii") ("c" . "center") ("C" . "comment") ("e" . "example") ("E" . "export") ("h" . "export html") ("l" . "export latex") ("q" . "quote")
                                ("s" . "src") ("ee" . "src emacs-lisp") ("v" . "verse"))
 org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
 org-refile-use-cache t
 org-export-backends '(ascii html icalendar latex odt org texinfo koma-letter)
 org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
 org-clock-persist t
 org-persist-before-write-hook '(org-element--cache-persist-before-write)
 org-agenda-ignore-properties '(effort category)
 org-clock-mode-line-total 'today
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-link-shell-confirm-function 'yes-or-no-p
 org-babel-pre-tangle-hook '(save-buffer)
 org-agenda-loop-over-headlines-in-active-region nil
 org-log-refile 'time
 org-fold-reveal-start-hook '(org-decrypt-entry)
 org-attach-method 'ln
 org-occur-hook '(org-first-headline-recenter)
 org-capture-after-finalize-hook '(delete-org-capture-frame)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link)
                       ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link)
                       ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export)
                       ("info" :follow org-info-open :export org-info-export :store org-info-store-link :insert-description org-info-description-as-command)
                       ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link)
                       ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
                       ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link)
                       ("doi" :follow org-link-doi-open :export org-link-doi-export) ("notmuch-tree" :store org-notmuch-tree-store-link :follow org-notmuch-tree-open)
                       ("notmuch-search" :store org-notmuch-search-store-link :follow org-notmuch-search-open) ("notmuch" :store org-notmuch-store-link :follow org-notmuch-open)
                       ("mid" :follow open-maildir-in-mutt :export nil) ("zotero" :follow browse-url :export nil) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell)
                       ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("help" :follow org-link--open-help :store org-link--store-help)
                       ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp))
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-refile-allow-creating-parent-nodes 'confirm
 org-agenda-include-diary t
 org-imenu-depth 5
 org-footnote-define-inline t
 org-outline-path-complete-in-steps nil
 org-special-ctrl-a/e t
 org-clock-history-length 7
 org-attach-store-link-p t
 org-notmuch-open-function 'org-notmuch-follow-link
 org-clock-sound "~/Downloads/water-drains-in-pipe.wav"
 org-list-allow-alphabetical t
 )


^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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 20:18 [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/)] Gregor Zattler
@ 2024-02-26 23:22 ` Gregor Zattler
  2024-02-27 12:59 ` Ihor Radchenko
  1 sibling, 0 replies; 3+ messages in thread
From: Gregor Zattler @ 2024-02-26 23:22 UTC (permalink / raw)
  To: emacs-orgmode

Dear org-mode users and developers,
* Gregor Zattler <grfz@gmx.de> [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!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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 20:18 [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/)] Gregor Zattler
  2024-02-26 23:22 ` Gregor Zattler
@ 2024-02-27 12:59 ` Ihor Radchenko
  1 sibling, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2024-02-27 12:59 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: emacs-orgmode

Gregor Zattler <grfz@gmx.de> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-27 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 20:18 [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/)] Gregor Zattler
2024-02-26 23:22 ` Gregor Zattler
2024-02-27 12:59 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.