emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: emacs-orgmode@gnu.org
Subject: Warning(diary.org_archive): Got element without parent (cache active?: t)
Date: Sun, 27 Aug 2023 20:35:30 +0200	[thread overview]
Message-ID: <871qfonxjh.fsf@no.lan> (raw)

Hi org-mode developers, Ihor,

I got these warnings when I followed an id: link
(org-open-at-point) within diary.org

I have no idea why diary.org_archive was opened at that
time.  The following is the complete contents of the
*Warnings* buffer at the moment:

 ■  Warning (org-element-cache): org-element--cache: Warning(diary.org_archive): Got element without parent (cache active?: t). Please report it to Org mode mailing list (M-x org-submit-bug-report).
(headline (:standard-properties [3412566 3412987 3412644 3412987 0 3412566 (:title) t nil 3412716 3412985 nil element 3 #<buffer diary.org_archive> nil nil nil] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value (9 72) nil] :title [org-element-deferred org-element-property-2 (:raw-value) nil] :level 2 :priority nil :tags ("@no") :todo-keyword "DONE" :todo-type done :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil :ID [org-element-deferred org-element--substring (104 140) nil]))
Backtrace:
  org-element-cache diagnostics(diary.org_archive): Added new element with nil key: "(keyword (:standard-properties [128 128 nil nil 155 1 nil nil element nil nil nil nil nil #<buffer diary.org_archive> nil nil nil] :key \"STARTUP\" :value \"showeverything\"))"
  org-element-cache diagnostics(diary.org_archive): Added new element with nil key: "(keyword (:standard-properties [108 108 nil nil 128 0 nil nil element nil nil nil nil nil #<buffer diary.org_archive> nil nil nil] :key \"STARTUP\" :value \"overview\"))"
  org-element-cache diagnostics(diary.org_archive): Added new element with nil key: "(keyword (:standard-properties [93 93 nil nil 108 0 nil nil element nil nil nil nil nil #<buffer diary.org_archive> nil nil nil] :key \"STARTUP\" :value \"odd\"))"
  org-element-cache diagnostics(diary.org_archive): Added new element with nil key: "(keyword (:standard-properties [72 72 nil nil 93 0 nil nil element nil nil nil nil nil #<buffer diary.org_archive> nil nil nil] :key \"STARTUP\" :value \"showstars\"))"
  org-element-cache diagnostics(diary.org_archive): Added new element with nil key: "(keyword (:standard-properties [64 64 nil nil 72 0 nil nil element nil nil nil nil nil #<buffer diary.org_archive> nil nil nil] :key \"TAGS\" :value \"\"))"
  org-element-cache diagnostics(diary.org_archive): Added new element with nil key: "(paragraph (:standard-properties [1 1 1 64 64 0 nil top-comment element nil nil nil nil nil #<buffer diary.org_archive> nil nil nil]))"
  org-element-cache diagnostics(diary.org_archive): Added new element with nil key: "(section (:standard-properties [1 1 1 155 155 0 nil first-section element nil nil 1 155 nil #<buffer diary.org_archive> nil nil nil]))"
  org-element-cache diagnostics(diary.org_archive): Added new element with nil key: "(org-data (:standard-properties [1 1 1 3583853 3583853 0 nil org-data nil nil nil 3 3583853 nil #<buffer diary.org_archive> [org-element-deferred org-element--get-global-node-properties nil t] nil nil] :path \"/home/grfz/org/diary.org_archive\"))"
  org-element-cache diagnostics(diary.org_archive): Nothing in cache. Adding org-data: "(org-data (:standard-properties [1 1 1 3583853 3583853 0 nil org-data nil nil nil 3 3583853 nil #<buffer diary.org_archive> [org-element-deferred org-element--get-global-node-properties nil t] nil nil] :path \"/home/grfz/org/diary.org_archive\"))"
 ■  Warning (org-element-cache): org-element--cache: (org-open-at-point) Cached element is incorrect in diary.org_archive. (Cache tic up to date: "yes") Resetting.
If this warning appears regularly, please report the warning text to Org mode mailing list (M-x org-submit-bug-report).
The element is: "(headline (:standard-properties [3412566 3412987 3412644 3412987 0 3412566 (:title) t nil 3412716 3412985 nil element 3 #<buffer diary.org_archive> nil nil nil] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value (9 72) nil] :title [org-element-deferred org-element-property-2 (:raw-value) nil] :level 2 :priority nil :tags (\"@no\") :todo-keyword \"DONE\" :todo-type done :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil :ID [org-element-deferred org-element--substring (104 140) nil]))"
 The real element is: "(headline (:standard-properties [3412566 3412566 3412644 3412987 3412987 0 (:title) nil nil nil nil 3412646 3412987 3 #<buffer diary.org_archive> [org-element-deferred org-element--headline-deferred nil t] nil [org-element-deferred org-element--headline-parent-deferred nil t]] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title (t) nil] :title [org-element-deferred org-element--headline-parse-title (t) nil] :level [org-element-deferred org-element--headline-parse-title (t) nil] :priority [org-element-deferred org-element--headline-parse-title (t) nil] :tags [org-element-deferred org-element--headline-parse-title (t) nil] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) nil] :todo-type [org-element-deferred org-element--headline-parse-title (t) nil] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) nil] :archivedp [org-element-deferred org-element--headline-parse-title (t) nil] :commentedp [org-element-deferred org-element--headline-parse-title (t) nil]))"
 Cache around :begin:
"nil"
"nil"
"nil"


Thanks for org-mode, Gregor

P.S.: This is with     (put
'org-element--cache-diagnostics-ring 'permanent-local
t) in my configuration.


             reply	other threads:[~2023-08-27 18:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-27 18:35 Gregor Zattler [this message]
2023-08-28  8:40 ` Warning(diary.org_archive): Got element without parent (cache active?: t) Ihor Radchenko

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=871qfonxjh.fsf@no.lan \
    --to=telegraph@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    /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).