emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)]
@ 2024-03-31 17:08 Martin Kjær Jørgensen
  2024-04-05 14:39 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Kjær Jørgensen @ 2024-03-31 17:08 UTC (permalink / raw)
  To: emacs-orgmode


I had an agenda view opened for a while, went away, came back to toggle a
task DONE by using C-c C-t as usual. Normally have not seen any errors. Now
this occured, and Emacs asked me to report it:


Warning (org-element-cache): org-element--cache: Org parser error in tasks.org::#<marker at 8978 in tasks.org>. Resetting.
 The error was: (error "Invalid search bound (wrong side of point)")
 Backtrace:
"  backtrace-to-string(nil)
  org-element-at-point(#<marker at 8978 in tasks.org>)
  org-element-cache-map(#f(compiled-function (el) #<bytecode 0xf38c9a2eb7f12e5>) :next-re \"\\\\<DEADLINE: *<\\\\([^>]+\\\\)>\" :fail-re \"\\\\<DEADLINE: *<\\\\([^>]+\\\\)>\" :narrow t)
  org-agenda-get-deadlines()
  org-agenda-get-day-entries(\"/home/mkj/org/tasks.org\" (3 25 2024) :deadline :scheduled :timestamp :sexp)
  apply(org-agenda-get-day-entries \"/home/mkj/org/tasks.org\" (3 25 2024) (:deadline :scheduled :timestamp :sexp))
  org-agenda-list(nil)
  funcall-interactively(org-agenda-list nil)
  call-interactively(org-agenda-list)
  #f(compiled-function () #<bytecode -0xb93af94a654acd4>)()
  funcall(#f(compiled-function () #<bytecode -0xb93af94a654acd4>))
  (let nil (funcall '#f(compiled-function () #<bytecode -0xb93af94a654acd4>)))
  org-agenda-run-series(\"Agenda and all TODOs\" (((agenda \"\") (alltodo \"\"))))
  org-agenda-redo(t)
  org-agenda-redo-all(nil)
  funcall-interactively(org-agenda-redo-all nil)
  command-execute(org-agenda-redo-all)
"


Emacs  : GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.39, cairo version 1.18.0)
 of 2024-03-30
Package: Org mode version 9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)

current state:
==============
(setq
 org-link-elisp-confirm-function 'yes-or-no-p
 org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
 org-download-file-format-function 'org-download-file-format-default
 org-log-done 'time
 org-agenda-files '("tasks.org" "cookbook.org" "inbox.org" "projects.org" "events.org" "notes.org" "meetings.org" "tickler.org")
 org-reveal-single-file t
 org-capture-templates '(("#" "used by gnus-icalendar-org" entry (file+olp "/home/mkj/org/meetings.org" "Calendar") "%i" :immediate-finish t)
                         ("i" "Inbox" entry (file "inbox.org") "* TODO %?\n")
                         ("m" "Meeting" entry (file+headline "meetings.org" "Future") "* %? :meeting:\n<%<%Y-%m-%d %a %H:00>>")
                         ("n" "Note" entry (file "notes.org") "* Note (%a)\n\n%?")
                         ("w" "Temp Links from the interwebs" item (file+headline "links.org" "Temporary Links") "%?\n %i\n %a")
                         ("j" "Journal" entry (file+datetree "journal.org") "* %?\n  %i\n  %a")
                         ("c" "Cookbook" entry (file "cookbook.org") "%(org-chef-get-recipe-from-url)" :empty-lines 1)
                         ("C" "Manual Cookbook" entry (file "cookbook.org")
                          "* %^{Recipe title: }\n  :PROPERTIES:\n  :source-url:\n  :servings:\n  :prep-time:\n  :cook-time:\n  :ready-in:\n  :END:\n** Ingredients\n   %?\n** Directions\n\n")
                         ("@" "Inbox [mu4e]" entry (file "inbox.org") "* TODO Reply to \"%a\" %?\n"))
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-latex-toc-command "\\tableofcontents \\clearpage"
 org-refile-targets '(("tasks.org" :maxlevel . 3) ("cookbook.org" :maxlevel . 5) ("events.org" :level . 1) ("projects.org" :maxlevel . 5)
                      ("notes.org" :maxlevel . 2) ("meetings.org" :maxlevel . 2))
 org-export-before-parsing-hook '(my/org-export-plantuml org-attach-expand-links)
 org-link-descriptive nil
 org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-default-notes-file "/home/mkj/org/notes.org"
 org-refile-use-outline-path 'file
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
 org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
 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 '("/home/mkj/org/music.org" "/home/mkj/org/vrs-telemetry.org" "/home/mkj/org/journal.org"
                                      "/home/mkj/org/projects.org" "/home/mkj/org/partial-upload.org" "/home/mkj/org/links.org"
                                      "/home/mkj/org/meetings.org"
                                      "/home/mkj/org/notes.org"
                                      "/home/mkj/org/gtd.org_archive" "/home/mkj/org/nc-investigations.org"
                                      "/home/mkj/org/events.org" "/home/mkj/org/maderia.org"
                                      "/home/mkj/org/vdr-remote-configuration-design-specification/pros-cons.org"
                                      "/home/mkj/org/vdr-remote-configuration-design-specification/vdr-remote-configuration-design-specification.org" "/home/mkj/org/tasks.org" "/home/mkj/org/telemetry-bus/telemetry-bus.org" "/home/mkj/org/inbox.org" "/home/mkj/org/zk.org" "/home/mkj/org/tickler.org" "/home/mkj/org/cookbook.org" "/home/mkj/org/inbox.org_archive" "/home/mkj/org/new-communication.org" "/home/mkj/org/invest.org" "/home/mkj/org/workout.org" "/home/mkj/org/cheatsheet.org")
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-mode-hook '(olivetti-mode org-download-enable org-fold-hide-block-all electric-pair-mode corfu-mode auto-fill-mode init-org-mode
                 #[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 #[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2]
                 org-eldoc-load)
 org-babel-load-languages '((plantuml . t))
 outline-minor-mode-hook '(mediawiki-outline-magic-keys)
 outline-mode-hook '(olivetti-mode)
 org-agenda-span 'fortnight
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
 org-icalendar-use-scheduled '(event-if-not-todo event-if-todo-not-done todo-start)
 org-download-abbreviate-filename-function 'file-relative-name
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-reveal-root "/home/mkj/.emacs.d/revealjs"
 org-confirm-shell-link-function 'yes-or-no-p
 org-download-annotate-function 'org-download-annotate-default
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-agenda-sorting-strategy '((agenda habit-down time-up priority-down category-keep) (todo priority-down todo-state-down category-keep)
                               (tags priority-down category-keep) (search category-keep))
 org-export-before-processing-hook '(org-blackfriday--reset-org-blackfriday--code-block-num-backticks)
 org-plantuml-jar-path "/home/mkj/plantuml.jar"
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-agenda-default-appointment-duration 60
 org-confirm-elisp-link-function 'yes-or-no-p
 org-todo-keywords '((sequence "TODO(t)" "WAITING(w)" "NEXT(n)" "|" "DONE(d)" "CANCELLED(c)"))
 org-id-link-to-org-use-id t
 org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
 org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-icalendar-use-deadline '(event-if-not-todo event-if-todo-not-done todo-due)
 org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-icalendar-alarm-time 30
 org-confirm-babel-evaluate 'my/org-confirm-babel-evaluate
 org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
 org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
 org-persist-before-write-hook '(org-element--cache-persist-before-write)
 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-occur-hook '(org-first-headline-recenter)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-odt-preferred-output-format "doc"
 org-link-parameters '(("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)
                       ("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)
                       ("nov" :follow nov-org-link-follow :store nov-org-link-store) ("mu4e" :follow mu4e-org-open :store mu4e-org-store-link)
                       ("attachment" :follow org-attach-follow :complete org-attach-complete-link)
                       ("info" :follow org-info-open :export org-info-export :store org-info-store-link :insert-description
                        org-info-description-as-command)
                       ("id" :follow org-id-open :complete org-id-complete-link)
                       ("denote" :follow denote-link-ol-follow :face denote-faces-link :complete denote-link-ol-complete :store
                        denote-link-ol-store :export denote-link-ol-export)
                       ("elfeed" :follow elfeed-link-open :store elfeed-link-store-link) ("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-html-format-headline-function 'org-html-format-headline-default-function
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-use-fast-todo-selection 'expert
 org-download-link-format-function 'org-download-link-format-function-default
 org-outline-path-complete-in-steps nil
 org-icalendar-combined-agenda-file "/home/mkj/org/combined-agenda.ics"
 org-src-lang-modes '(("plantuml" . plantuml) ("C" . c) ("C++" . c++) ("asymptote" . asy) ("bash" . sh) ("beamer" . latex)
                      ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("desktop" . conf-desktop) ("dot" . fundamental)
                      ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql) ("toml" . conf-toml))
 )


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

* Re: [BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)]
  2024-03-31 17:08 [BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)] Martin Kjær Jørgensen
@ 2024-04-05 14:39 ` Ihor Radchenko
  2024-04-05 15:07   ` Martin Kjær Jørgensen
  0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2024-04-05 14:39 UTC (permalink / raw)
  To: Martin Kjær Jørgensen; +Cc: emacs-orgmode

Martin Kjær Jørgensen <me@lagy.org> writes:

> I had an agenda view opened for a while, went away, came back to toggle a
> task DONE by using C-c C-t as usual. Normally have not seen any errors. Now
> this occured, and Emacs asked me to report it:
>
>
> Warning (org-element-cache): org-element--cache: Org parser error in tasks.org::#<marker at 8978 in tasks.org>. Resetting.
>  The error was: (error "Invalid search bound (wrong side of point)")
>  Backtrace:
> "  backtrace-to-string(nil)
>   org-element-at-point(#<marker at 8978 in tasks.org>)

Thanks for reporting!
Did it happen once or do you keep seeing the error regularly?

-- 
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] 4+ messages in thread

* Re: [BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)]
  2024-04-05 14:39 ` Ihor Radchenko
@ 2024-04-05 15:07   ` Martin Kjær Jørgensen
  2024-04-05 18:43     ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Kjær Jørgensen @ 2024-04-05 15:07 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode


On Fri, Apr 05 2024, Ihor Radchenko <yantar92@posteo.net> wrote:

> Martin Kjær Jørgensen <me@lagy.org> writes:
>
>> I had an agenda view opened for a while, went away, came back to toggle a
>> task DONE by using C-c C-t as usual. Normally have not seen any errors. Now
>> this occured, and Emacs asked me to report it:
>>
>>
>> Warning (org-element-cache): org-element--cache: Org parser error in tasks.org::#<marker at 8978 in tasks.org>. Resetting.
>>  The error was: (error "Invalid search bound (wrong side of point)")
>>  Backtrace:
>> "  backtrace-to-string(nil)
>>   org-element-at-point(#<marker at 8978 in tasks.org>)
>
> Thanks for reporting!
> Did it happen once or do you keep seeing the error regularly?

I have only experienced it this once.


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

* Re: [BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)]
  2024-04-05 15:07   ` Martin Kjær Jørgensen
@ 2024-04-05 18:43     ` Ihor Radchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2024-04-05 18:43 UTC (permalink / raw)
  To: Martin Kjær Jørgensen; +Cc: emacs-orgmode

Martin Kjær Jørgensen <me@lagy.org> writes:

>> Thanks for reporting!
>> Did it happen once or do you keep seeing the error regularly?
>
> I have only experienced it this once.

Let us know if a similar error shows up again.
If it does, we can investigate further.

(This kind of error is sometimes reported for Org 9.6.x, and we have some
fixes in the development version of Org 9.7-pre)

Handled.

-- 
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] 4+ messages in thread

end of thread, other threads:[~2024-04-05 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-31 17:08 [BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)] Martin Kjær Jørgensen
2024-04-05 14:39 ` Ihor Radchenko
2024-04-05 15:07   ` Martin Kjær Jørgensen
2024-04-05 18:43     ` Ihor Radchenko

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).