emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Warning(diary.org_archive): Got element without parent (cache active?: t)
@ 2023-08-27 18:35 Gregor Zattler
  2023-08-28  8:40 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Gregor Zattler @ 2023-08-27 18:35 UTC (permalink / raw)
  To: emacs-orgmode

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.


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

end of thread, other threads:[~2023-08-28  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-27 18:35 Warning(diary.org_archive): Got element without parent (cache active?: t) Gregor Zattler
2023-08-28  8:40 ` 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).