From: Ihor Radchenko <yantar92@posteo.net>
To: Gregor Zattler <telegraph@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-element--cache: Warning(izt.org): Got element without parent (cache active?: t)
Date: Wed, 23 Aug 2023 10:53:58 +0000 [thread overview]
Message-ID: <871qfu6ncp.fsf@localhost> (raw)
In-Reply-To: <87h6oqum18.fsf@no.lan>
Gregor Zattler <telegraph@gmx.net> writes:
> Dear Ihow, I caught another org-element-cache warning.
> I started Emacs (after having problems with a botched
> configuration, which in turn uses babel...) and called
> the agenda like so:
>
> (defun gz/org-agenda-list ()
> "Show Org Agenda starting yesterday."
> (interactive)
> (org-agenda-list 0 "-1d")
> (beginning-of-buffer)
> (org-agenda-goto-today))
>
> and then I got this (see below).
Thanks for reporting!
> ■ Warning (org-element-cache): org-element--cache: Warning(izt.org): Got element without parent (cache active?: t). Please report it to Org mode mailing list (M-x org-submit-bug-report).
> (node-property (:standard-properties [326858 326875 nil nil 0 326858 nil t nil nil nil node-property element nil #<buffer izt.org> nil nil nil] :key "VISIBILITY" :value "all"))
> Backtrace:
> org-element-cache diagnostics(izt.org): Added new element with nil key: "(keyword
> ...
This is very strange. The error originates from a check in
`org-element--cache-verify-element' that only triggers when cache is
enabled, but I do not see node-property being recorded in the cache. I
am not sure how this could ever be possible.
May you try to reproduce the problem starting from emacs -Q, reducing
your Org file to some small file that can be shared?
--
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>
next prev parent reply other threads:[~2023-08-23 10:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-23 9:48 org-element--cache: Warning(izt.org): Got element without parent (cache active?: t) Gregor Zattler
2023-08-23 10:53 ` Ihor Radchenko [this message]
2023-08-23 11:48 ` Gregor Zattler
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=871qfu6ncp.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=telegraph@gmx.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).