emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Warning (org-element-cache): Org parser error (error "Invalid


From: Bhavin Gandhi
Subject: Re: [BUG] Warning (org-element-cache): Org parser error (error "Invalid search bound (wrong side of point)")
Date: Mon, 10 Jul 2023 23:04:20 +0530

On Wed, 5 Jul 2023 at 23:45, Ihor Radchenko <yantar92@posteo.net> wrote:
> Thanks for the report!
> May you increase your org-element--cache-diagnostics-ring-size 10x and
> try to record the backtrace again?
> I can see that org-data boundaries are incorrect (not at point-max), but
> cannot track down when exactly the boundaries are not updated properly.

So, I got the error again today. First I got following warning followed by
the original warning:

Received this when I added a new list item under one heading, the
heading mentioned in the warning is not the one where I added a new list
item.

⛔ Warning (org-element-cache): org-element--cache: Warning(file2.org):
Added org-data parent to non-headline element: (section (:begin 15073
:end 16104 :contents-begin 15073 :contents-end 16104 :robust-begin
15073 :robust-end 16102 :post-blank 0 :post-affiliated 15073 :mode
section :granularity element :cached t :parent (headline (:raw-value
"Project questions" :begin 15030 :end 16104 :pre-blank 0
:contents-begin 15073 :contents-end 16104 :robust-begin 15131
:robust-end 16102 :true-level 1 :level 1 :priority nil :tags nil
:todo-keyword "WAITING" :todo-type todo :post-blank 0
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 15030 :CREATED "[2023-04-26 Wed 16:49]" :title
"Project questions" :mode nil :granularity element :cached nil :parent
(org-data (:begin 1 :contents-begin 1 :contents-end 1407670 :end
1407670 :robust-begin 3 :robust-end 1407668 :post-blank 0
:post-affiliated 1 :path "/home/bhavin/work/orgfiles/file2.org" :mode
org-data :CATEGORY "file2" :cached t)) :org-element--cache-sync-key
(11 . 15010))) :org-element--cache-sync-key (11 . 15052)))

Will see if I can share the whole backtrace.

And then while doing something in Agenda (I think that was clock out or
save), I got:

⛔ Warning (org-element-cache): org-element--cache: Warning(file2.org):
Org parser error in file2.org::#<marker at 1407865 in file2.org>.
Resetting.
 The error was: (error "Invalid search bound (wrong side of point)")

I think this has something to do with headings which have many list
items, the warnings I have received are from a different file than the
previous one.


--
Bhavin Gandhi (bhavin192) | https://geeksocket.in



reply via email to

[Prev in Thread] Current Thread [Next in Thread]