emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bhavin Gandhi <bhavin7392@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <CAOn=hbdssbZk+pX9js+5eZzWKNGTt1pR+Nio8KE+0Nd=QxO9gQ@mail.gmail.com> (raw)
In-Reply-To: <87wmze6x80.fsf@localhost>

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	other threads:[~2023-07-10 17:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-05 17:19 [BUG] Warning (org-element-cache): Org parser error (error "Invalid search bound (wrong side of point)") Bhavin Gandhi
2023-07-05 18:15 ` Ihor Radchenko
2023-07-10 17:34   ` Bhavin Gandhi [this message]

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='CAOn=hbdssbZk+pX9js+5eZzWKNGTt1pR+Nio8KE+0Nd=QxO9gQ@mail.gmail.com' \
    --to=bhavin7392@gmail.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).