emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)]
@ 2024-02-09 10:33 Morgan Willcock
  2024-02-09 11:39 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Morgan Willcock @ 2024-02-09 10:33 UTC (permalink / raw)
  To: emacs-orgmode

I've managed to trigger this a couple of times over the last few days,
both times the backtrace began by calling flyspell functions.  I'm not
sure how to re-create the problem, but I thought it best to report it
just in case anyone else is seeing the same thing.

  ⛔ Warning (org-element-cache): org-element--cache: Org parser error in filename.org::354737. Resetting.
   The error was: (error "Invalid search bound (wrong side of point)")
   Backtrace:
  "  backtrace-to-string(nil)
    org-element-at-point()
    org-back-to-heading(t)
    org-back-to-heading-or-point-min(t)
    org-get-property-block()
    org--property-local-values(\"LOG_INTO_DRAWER\" t)
    org-entry-get-with-inheritance(\"LOG_INTO_DRAWER\" t)
    org-entry-get(nil \"LOG_INTO_DRAWER\" inherit t)
    org-log-into-drawer()
    org-mode-flyspell-verify()
    flyspell-word()
    flyspell-post-command-hook()
  "
   Please report this to Org mode mailing list (M-x org-submit-bug-report).

Emacs  : GNU Emacs 29.2 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
 of 2024-01-18
Package: Org mode version 9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)


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

* Re: [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)]
  2024-02-09 10:33 [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)] Morgan Willcock
@ 2024-02-09 11:39 ` Ihor Radchenko
  2024-02-09 20:04   ` Morgan Willcock
  0 siblings, 1 reply; 6+ messages in thread
From: Ihor Radchenko @ 2024-02-09 11:39 UTC (permalink / raw)
  To: Morgan Willcock; +Cc: emacs-orgmode

Morgan Willcock <morgan@ice9.digital> writes:

> I've managed to trigger this a couple of times over the last few days,
> both times the backtrace began by calling flyspell functions.  I'm not
> sure how to re-create the problem, but I thought it best to report it
> just in case anyone else is seeing the same thing.
>
>   ⛔ Warning (org-element-cache): org-element--cache: Org parser error in filename.org::354737. Resetting.
>    The error was: (error "Invalid search bound (wrong side of point)")
> ...
> Package: Org mode version 9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)

Thanks for reporting!
Would you be able to upgrade to the development version of Org mode and
test if the warning disappear?

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

* Re: [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)]
  2024-02-09 11:39 ` Ihor Radchenko
@ 2024-02-09 20:04   ` Morgan Willcock
  2024-02-10 14:14     ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Morgan Willcock @ 2024-02-09 20:04 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

Ihor Radchenko <yantar92@posteo.net> writes:

> Morgan Willcock <morgan@ice9.digital> writes:
>
>> I've managed to trigger this a couple of times over the last few days,
>> both times the backtrace began by calling flyspell functions.  I'm not
>> sure how to re-create the problem, but I thought it best to report it
>> just in case anyone else is seeing the same thing.
>>
>>   ⛔ Warning (org-element-cache): org-element--cache: Org parser error in filename.org::354737. Resetting.
>>    The error was: (error "Invalid search bound (wrong side of point)")
>> ...
>> Package: Org mode version 9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)
>
> Thanks for reporting!
> Would you be able to upgrade to the development version of Org mode and
> test if the warning disappear?

I would be willing to for diagnostic purposes (presumably I would just
make sure the development version is earlier in the load-path?) but it
would be tricky to know for sure whether it had made a difference unless
I can get a better handle on what triggers it.

Are there already changes in the development version which you think
would be relevant to this problem?

-- 
Morgan Willcock


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

* Re: [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)]
  2024-02-09 20:04   ` Morgan Willcock
@ 2024-02-10 14:14     ` Ihor Radchenko
  2024-03-09 13:35       ` Morgan Willcock
  0 siblings, 1 reply; 6+ messages in thread
From: Ihor Radchenko @ 2024-02-10 14:14 UTC (permalink / raw)
  To: Morgan Willcock; +Cc: emacs-orgmode

Morgan Willcock <morgan@ice9.digital> writes:

>> Would you be able to upgrade to the development version of Org mode and
>> test if the warning disappear?
>
> I would be willing to for diagnostic purposes (presumably I would just
> make sure the development version is earlier in the load-path?) but it
> would be tricky to know for sure whether it had made a difference unless
> I can get a better handle on what triggers it.

You may refer to https://orgmode.org/manual/Installation.html for
instructions.

> Are there already changes in the development version which you think
> would be relevant to this problem?

org-element.el has been changed significantly on main compared to bugfix branch.

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

* Re: [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)]
  2024-02-10 14:14     ` Ihor Radchenko
@ 2024-03-09 13:35       ` Morgan Willcock
  2024-03-12 12:36         ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Morgan Willcock @ 2024-03-09 13:35 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

Ihor Radchenko <yantar92@posteo.net> writes:

> Morgan Willcock <morgan@ice9.digital> writes:
>
>>> Would you be able to upgrade to the development version of Org mode and
>>> test if the warning disappear?
>>
>> I would be willing to for diagnostic purposes (presumably I would just
>> make sure the development version is earlier in the load-path?) but it
>> would be tricky to know for sure whether it had made a difference unless
>> I can get a better handle on what triggers it.
>
> You may refer to https://orgmode.org/manual/Installation.html for
> instructions.
>
>> Are there already changes in the development version which you think
>> would be relevant to this problem?
>
> org-element.el has been changed significantly on main compared to bugfix branch.

I remained on the release version but the problem has not reappeared.

Given that the development version has significant changes, and I am not
able to get a handle on what causes the problem (I imagine it is a
general cache problem and not something caused by flyspell), feel free
to close the bug report.

-- 
Morgan Willcock


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

* Re: [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)]
  2024-03-09 13:35       ` Morgan Willcock
@ 2024-03-12 12:36         ` Ihor Radchenko
  0 siblings, 0 replies; 6+ messages in thread
From: Ihor Radchenko @ 2024-03-12 12:36 UTC (permalink / raw)
  To: Morgan Willcock; +Cc: emacs-orgmode

Morgan Willcock <morgan@ice9.digital> writes:

>> org-element.el has been changed significantly on main compared to bugfix branch.
>
> I remained on the release version but the problem has not reappeared.
>
> Given that the development version has significant changes, and I am not
> able to get a handle on what causes the problem (I imagine it is a
> general cache problem and not something caused by flyspell), feel free
> to close the bug report.

Thanks for the update!
Canceled.

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

end of thread, other threads:[~2024-03-12 12:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 10:33 [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)] Morgan Willcock
2024-02-09 11:39 ` Ihor Radchenko
2024-02-09 20:04   ` Morgan Willcock
2024-02-10 14:14     ` Ihor Radchenko
2024-03-09 13:35       ` Morgan Willcock
2024-03-12 12:36         ` 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).