all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] cannot export org-file: Warning (org-element-cache): org-element--cache: Got empty parent while parsing [9.6.12 (N/A @ /gnu/store/h6351wyaf8gahx46y71vd1200wr5l9gv-emacs-org-9.6.12/share/emacs/site-lisp/org-9.6.12/)]
@ 2023-12-18 11:49 Dr. Arne Babenhauserheide
  2023-12-18 14:08 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Dr. Arne Babenhauserheide @ 2023-12-18 11:49 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 16449 bytes --]



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

I have a file I currently cannot export (I get an infinite loop). The
error message is:

Warning (org-element-cache): org-element--cache: Got empty parent while parsing. Please report it to Org mode mailing list (M-x org-submit-bug-report).

The org-file is:
https://hg.sr.ht/~arnebab/draketo/browse/politik/geschlechtsneutrale-sprache.org

It uses the setupfile:
https://hg.sr.ht/~arnebab/draketo/browse/org-templates/level-1.org?rev=tip

and includes:
https://hg.sr.ht/~arnebab/draketo/browse/org-templates/level-1-politik.org?rev=tip

Best wishes,
Arne

Emacs  : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0)
Package: Org mode version 9.6.12 (N/A @ /gnu/store/h6351wyaf8gahx46y71vd1200wr5l9gv-emacs-org-9.6.12/share/emacs/site-lisp/org-9.6.12/)

current state:
==============
(setq
 org-link-elisp-confirm-function 'yes-or-no-p
 org-html-mathjax-template "<script type=\"text/x-mathjax-config\">\n    MathJax.Hub.Config({\n        displayAlign: \"%ALIGN\",\n        displayIndent: \"%INDENT\",\n\n        \"HTML-CSS\": { scale: %SCALE,\n                        linebreaks: { automatic: \"%LINEBREAKS\" },\n                        webFont: \"%FONT\"\n                       },\n        SVG: {scale: %SCALE,\n              linebreaks: { automatic: \"%LINEBREAKS\" },\n              font: \"%FONT\"},\n        NativeMML: {scale: %SCALE},\n        TeX: { equationNumbers: {autoNumber: \"%AUTONUMBER\"},\n               MultLineWidth: \"%MULTLINEWIDTH\",\n               TagSide: \"%TAGSIDE\",\n               TagIndent: \"%TAGINDENT\"\n             }\n});\n</script>\n<script type=\"text/javascript\" async\n        src=\"%PATH\"></script>"
 org-bibtex-headline-format-function #[257 "\300%1\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
 org-publish-project-alist '(("arnebab-org-serviceworker" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org/"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/"
			      :base-extension "js" :recursive nil
			      :publishing-function org-publish-attachment :include
			      ["sw.js"])
			     ("arnebab-org-static-wissen" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org/wissen"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/wissen"
			      :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|avif\\|webp\\|svg\\|pdf\\|m3u\\|mp3\\|ogg\\|swf\\|webm\\|opus\\|dat\\|txt\\|scm\\|w" :recursive t :publishing-function org-publish-attachment :exclude "org-templates\\|.*html\\|.*~\\|site\\|\\..*emacs\\.d\\|org-timestamps\\|arnebab-[0-9]\\.[0-9]\\.[0-9]")
			     ("arnebab-org-static-software" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org/software"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/software"
			      :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|avif\\|webp\\|svg\\|pdf\\|m3u\\|mp3\\|ogg\\|swf\\|webm\\|opus\\|dat\\|txt\\|scm\\|w" :recursive t :publishing-function org-publish-attachment :exclude "org-templates\\|.*html\\|.*~\\|site\\|\\..*emacs\\.d\\|org-timestamps\\|arnebab-[0-9]\\.[0-9]\\.[0-9]")
			     ("arnebab-org-static-rollenspiel" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org/rollenspiel"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/rollenspiel"
			      :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|avif\\|webp\\|svg\\|pdf\\|m3u\\|mp3\\|ogg\\|swf\\|webm\\|opus\\|dat\\|txt\\|scm\\|w" :recursive t :publishing-function org-publish-attachment :exclude "org-templates\\|.*html\\|.*~\\|site\\|\\..*emacs\\.d\\|org-timestamps\\|arnebab-[0-9]\\.[0-9]\\.[0-9]")
			     ("arnebab-org-static-politik" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org/politik"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/politik"
			      :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|avif\\|webp\\|svg\\|pdf\\|m3u\\|mp3\\|ogg\\|swf\\|webm\\|opus\\|dat\\|txt\\|scm\\|w" :recursive t :publishing-function org-publish-attachment :exclude "org-templates\\|.*html\\|.*~\\|site\\|\\..*emacs\\.d\\|org-timestamps\\|arnebab-[0-9]\\.[0-9]\\.[0-9]")
			     ("arnebab-org-static-kreatives" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org/kreatives"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/kreatives"
			      :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|avif\\|webp\\|svg\\|pdf\\|m3u\\|mp3\\|ogg\\|swf\\|webm\\|opus\\|dat\\|txt\\|scm\\|w" :recursive t :publishing-function org-publish-attachment :exclude "org-templates\\|.*html\\|.*~\\|site\\|\\..*emacs\\.d\\|org-timestamps\\|arnebab-[0-9]\\.[0-9]\\.[0-9]")
			     ("arnebab-org-static-ich" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org/ich"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/ich"
			      :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|avif\\|webp\\|svg\\|pdf\\|m3u\\|mp3\\|ogg\\|swf\\|webm\\|opus\\|dat\\|txt\\|scm\\|w" :recursive t :publishing-function org-publish-attachment :exclude "org-templates\\|.*html\\|.*~\\|site\\|\\..*emacs\\.d\\|org-timestamps\\|arnebab-[0-9]\\.[0-9]\\.[0-9]")
			     ("arnebab-org-static-anderes" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org/anderes"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/anderes"
			      :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|avif\\|webp\\|svg\\|pdf\\|m3u\\|mp3\\|ogg\\|swf\\|webm\\|opus\\|dat\\|txt\\|scm\\|w" :recursive t :publishing-function org-publish-attachment :exclude "org-templates\\|.*html\\|.*~\\|site\\|\\..*emacs\\.d\\|org-timestamps\\|arnebab-[0-9]\\.[0-9]\\.[0-9]")
			     ("arnebab-org-static-toplevel" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site"
			      :base-extension "pdf\\|m3u" :recursive nil
			      :publishing-function org-publish-attachment)
			     ("arnebab-org-static" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org/assets"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/assets/"
			      :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|avif\\|webp\\|svg\\|pdf\\|m3u\\|mp3\\|ogg\\|swf\\|webm\\|opus\\|dat\\|txt\\|scm\\|w" :recursive t :publishing-function org-publish-attachment :exclude "org-templates\\|.*html\\|.*~\\|site\\|\\..*emacs\\.d\\|org-timestamps\\|arnebab-[0-9]\\.[0-9]\\.[0-9]")
			     ("arnebab-org-rss" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/"
			      :publishing-function org-rss-publish-to-rss
			      :base-extension "org" :section-numbers nil :with-toc t
			      :html-html5-fancy t :html-viewport nil :html-preamble
			      nil :with-sub-superscript nil :broken-links t
			      :recursive t :exclude ".*" :include
			      ["rss-feed.org" "politik/random-babcom.org"
			       "kreatives/kritzelkratzel.org"
			       "politik/kommentare.org" "software/shell-tricks.org"
			       "software/emacs-tipps.org"
			       "software/org-mode-tipps.org"
			       "software/wisp-code-katas.org"
			       "software/advent-of-wisp-code-2021.org"
			       "rollenspiel/flight.org" "wissen/klimalinks.org"
			       "zitate.org"]
			      :rss-extension "xml")
			     ("arnebab-org-org" :base-directory
			      "/home/arne/Schreibtisch/arnebab-org"
			      :publishing-directory
			      "/home/arne/Schreibtisch/arnebab-org/site/"
			      :base-extension "org" :publishing-function
			      org-html-publish-to-html :section-numbers nil :with-toc
			      t :html-html5-fancy t :html-viewport nil :html-preamble
			      nil :html-postamble
			      "<p><span class=\"author\">%a</span> <span class=\"date\">%d</span> - <a href=\"http://www.draketo.de/ich/impressum\">Impressum</a> - <span class=\"license\"><a href=\"http://gnu.org/l/gpl\">GPLv3 or later</a> (code), <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\">cc by-sa</a> (rest)</span> &nbsp; &nbsp; </p>"
			      :with-sub-superscript nil :broken-links t :recursive t
			      :auto-sitemap t :sitemap-sort-files
			      anti-chronologically :sitemap-sort-folders last
			      :exclude
			      "org-templates\\|.*html\\|arnebab-[0-9]\\.[0-9]\\.[0-9]"
			      :include ["index.org"])
			     ("arnebab-org" :components
			      ("arnebab-org-static-anderes" "arnebab-org-static-ich"
			       "arnebab-org-static-kreatives"
			       "arnebab-org-static-politik"
			       "arnebab-org-static-rollenspiel"
			       "arnebab-org-static-software"
			       "arnebab-org-static-wissen" "arnebab-org-static"
			       "arnebab-org-static-toplevel" "arnebab-org-org"
			       "arnebab-org-rss" "arnebab-org-serviceworker")
			      )
			     )
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-time-stamp-custom-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a %H:%M>")
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe
			    org-babel-header-arg-expand)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
 org-ascii-format-drawer-function #[771 "%1\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines
		  org-cycle-optimize-window-after-visibility-change
		  org-cycle-display-inline-images)
 org-latex-minted-langs '((wisp "racket") (emacs-lisp "common-lisp") (cc "c++")
			  (cperl "perl") (shell-script "bash") (caml "ocaml"))
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-mode-hook '(#[0 "\301\211%10\207"
		   [imenu-create-index-function org-imenu-get-tree] 2]
		 #[0 "\300\301\302\303\304$\207"
		   [add-hook change-major-mode-hook org-fold-show-all append local] 5]
		 #[0 "\300\301\302\303\304$\207"
		   [add-hook change-major-mode-hook org-babel-show-result-all append
		    local]
		   5]
		 org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load)
 org-babel-load-languages '((scheme . t))
 org-export-allow-bind-keywords t
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-tangle-lang-exts '(("python" . "py") ("D" . "d") ("C++" . "cpp")
			      ("emacs-lisp" . "el") ("elisp" . "el"))
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
		     org-src-mode-configure-edit-buffer)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-structure-template-alist '(("k" "#+begin_kasten\n?\n#+end_kasten"
				 "<div class=\"kasten\">?</div>")
				("a" . "export ascii") ("c" . "center")
				("C" . "comment") ("e" . "example") ("E" . "export")
				("h" . "export html") ("l" . "export latex")
				("q" . "quote") ("s" . "src") ("v" . "verse"))
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
 org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-enforce-todo-dependencies t
 org-confirm-babel-evaluate nil
 org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
 org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
 org-persist-before-write-hook '(org-element--cache-persist-before-write)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-link-shell-confirm-function 'yes-or-no-p
 org-babel-pre-tangle-hook '(save-buffer)
 org-agenda-loop-over-headlines-in-active-region nil
 org-html-prefer-user-labels t
 org-occur-hook '(org-first-headline-recenter)
 org-feed-alist '(("rollenspiel.social/@ArneBab"
		   "https://rollenspiel.social/@ArneBab.rss" "external-rss.org.in"
		   "rollenspiel.social" :parse-feed
		   org-feed-parse-rss-feed/nonreversed :template
		   "\n* %U\n  %(parse-html-string \"%description\")\n  %a\n")
		  ("sn.1w6.org" "http://sn.1w6.org/api/statuses/user_timeline/1.rss"
		   "external-rss.org.in" "sn.1w6.org" :parse-feed
		   org-feed-parse-rss-feed/nonreversed :template
		   "\n* %h\n  %U\n  %(parse-html-string \"%description\")\n  %a\n")
		  ("Gute Neuigkeiten"
		   "http://sn.1w6.org/api/statusnet/groups/timeline/770.rss"
		   "external-rss.org.in" "Gute Neuigkeiten" :parse-feed
		   org-feed-parse-rss-feed/nonreversed :template
		   "\n* %(parse-html-string \"%description\") \n\n    %U %a\n")
		  ("1w6" "http://www.1w6.org/rss.xml" "external-rss.org.in"
		   "1w6: Ein Würfel System" :parse-feed
		   org-feed-parse-rss-feed/nonreversed :template
		   "\n* %h\n  %U\n  %(parse-html-string \"%description\")\n  %a\n")
		  ("Weltenwald, alt" "http://www.draketo.de/rss.xml"
		   "external-rss.org.in" "Weltenwald, alt" :parse-feed
		   org-feed-parse-rss-feed/nonreversed :template
		   "\n* %h\n  %U\n  %(parse-html-string \"%description\")\n  %a\n")
		  )
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-link-parameters '(("attachment" :follow org-attach-follow :complete
			org-attach-complete-link)
		       ("eww" :follow org-eww-open :store org-eww-store-link)
		       ("rmail" :follow org-rmail-open :store org-rmail-store-link)
		       ("mhe" :follow org-mhe-open :store org-mhe-store-link)
		       ("irc" :follow org-irc-visit :store org-irc-store-link :export
			org-irc-export)
		       ("info" :follow org-info-open :export org-info-export :store
			org-info-store-link :insert-description
			org-info-description-as-command)
		       ("gnus" :follow org-gnus-open :store org-gnus-store-link)
		       ("docview" :follow org-docview-open :export org-docview-export
			:store org-docview-store-link)
		       ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
		       ("bbdb" :follow org-bbdb-open :export org-bbdb-export
			:complete org-bbdb-complete-link :store org-bbdb-store-link)
		       ("w3m" :store org-w3m-store-link)
		       ("doi" :follow org-link-doi-open :export org-link-doi-export)
		       ("id" :follow org-id-open)
		       ("elfeed" :follow elfeed-link-open :store
			elfeed-link-store-link)
		       ("file+sys") ("file+emacs")
		       ("shell" :follow org-link--open-shell)
		       ("news" :follow
			#[514 "\301\300\302%4Q%2\"\207" ["news" browse-url ":"] 6
			  "\n\n(fn URL ARG)"]
			)
		       ("mailto" :follow
			#[514 "\301\300\302%4Q%2\"\207" ["mailto" browse-url ":"] 6
			  "\n\n(fn URL ARG)"]
			)
		       ("https" :follow
			#[514 "\301\300\302%4Q%2\"\207" ["https" browse-url ":"] 6
			  "\n\n(fn URL ARG)"]
			)
		       ("http" :follow
			#[514 "\301\300\302%4Q%2\"\207" ["http" browse-url ":"] 6
			  "\n\n(fn URL ARG)"]
			)
		       ("ftp" :follow
			#[514 "\301\300\302%4Q%2\"\207" ["ftp" browse-url ":"] 6
			  "\n\n(fn URL ARG)"]
			)
		       ("help" :follow org-link--open-help :store
			org-link--store-help)
		       ("file" :complete org-link-complete-file)
		       ("elisp" :follow org-link--open-elisp))
 org-html-format-headline-function 'org-html-format-headline-default-function
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-babel-ditaa-java-cmd "LD_LIBRARY_PATH=:/home/arne/.guix-profile/lib/ java"
 )


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

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

* Re: [BUG] cannot export org-file: Warning (org-element-cache): org-element--cache: Got empty parent while parsing [9.6.12 (N/A @ /gnu/store/h6351wyaf8gahx46y71vd1200wr5l9gv-emacs-org-9.6.12/share/emacs/site-lisp/org-9.6.12/)]
  2023-12-18 11:49 [BUG] cannot export org-file: Warning (org-element-cache): org-element--cache: Got empty parent while parsing [9.6.12 (N/A @ /gnu/store/h6351wyaf8gahx46y71vd1200wr5l9gv-emacs-org-9.6.12/share/emacs/site-lisp/org-9.6.12/)] Dr. Arne Babenhauserheide
@ 2023-12-18 14:08 ` Ihor Radchenko
  2023-12-18 14:39   ` Dr. Arne Babenhauserheide
  0 siblings, 1 reply; 6+ messages in thread
From: Ihor Radchenko @ 2023-12-18 14:08 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: emacs-orgmode

"Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:

> I have a file I currently cannot export (I get an infinite loop). The
> error message is:
>
> Warning (org-element-cache): org-element--cache: Got empty parent while parsing. Please report it to Org mode mailing list (M-x org-submit-bug-report).
>
> The org-file is:
> https://hg.sr.ht/~arnebab/draketo/browse/politik/geschlechtsneutrale-sprache.org
>
> It uses the setupfile:
> https://hg.sr.ht/~arnebab/draketo/browse/org-templates/level-1.org?rev=tip
>
> and includes:
> https://hg.sr.ht/~arnebab/draketo/browse/org-templates/level-1-politik.org?rev=tip

I downloaded the files, adjusted paths, and tried to export the main org
file to html and latex. It was successfully export using the latest
bugfix and main branches.

May you please provide more details? Ideally, a recipe starting from
emacs -Q. See https://orgmode.org/manual/Feedback.html#Feedback

-- 
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] cannot export org-file: Warning (org-element-cache): org-element--cache: Got empty parent while parsing [9.6.12 (N/A @ /gnu/store/h6351wyaf8gahx46y71vd1200wr5l9gv-emacs-org-9.6.12/share/emacs/site-lisp/org-9.6.12/)]
  2023-12-18 14:08 ` Ihor Radchenko
@ 2023-12-18 14:39   ` Dr. Arne Babenhauserheide
  2023-12-18 14:52     ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Dr. Arne Babenhauserheide @ 2023-12-18 14:39 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2406 bytes --]


Ihor Radchenko <yantar92@posteo.net> writes:

> I downloaded the files, adjusted paths, and tried to export the main org
> file to html and latex. It was successfully export using the latest
> bugfix and main branches.
>
> May you please provide more details? Ideally, a recipe starting from
> emacs -Q. See https://orgmode.org/manual/Feedback.html#Feedback

I run the export from the Makefile via an adjusted HOME:

sitemap.org: site/.published
site/.published: index.org external-rss.org $(arnebab_DATA) setup.el .emacs.d/init.el ## create and publish the site according to setup.el
	echo -e Yes\\nYes > $$(tty) ; time HOME="$(realpath @abs_top_builddir@)" timeout 360 emacs --load .emacs.d/init.el --load setup.el "$<" --eval "(setq org-babel-ditaa-java-cmd \"LD_LIBRARY_PATH=$${LD_LIBRARY_PATH}:$$HOME/.guix-profile/lib/ java\" plantuml-executable-path \"plantuml\" org-plantuml-jar-path \"$${GUIX_ENVIRONMENT=/home/$(whoami)/.guix-profile}/share/java/plantuml.jar\" org-plantuml-exec-mode 'plantuml)" --eval '(org-publish-current-project "arnebab-org")' -f kill-emacs && touch "$@" < $$(tty) > build.log && rm -f site/*~ site/*/*~ site/*/*/*~ site/*/*/*/*~

I already tried to find the cause — I can publish it from my regular
Emacs, but not from the stripped down version in the repository.

I created a backtrace via

M-x org-toggle-debug-on-quit


Debugger entered--Lisp error: (quit)
  org-element--parse-to(13994)
  org-element-at-point()
  org--collect-keywords-1(("SETUPFILE" "BIND") nil nil ("/home/arne/Schreibtisch/arnebab-org/politik/geschl...") nil)
  org-collect-keywords(("BIND"))
  org-export--list-bound-variables()
  org-export--generate-copy-script(#<buffer geschlechtsneutrale-sprache.org> :copy-unreadable do-not-check :drop-visibility nil :drop-narrowing nil :drop-contents nil :drop-locals nil)
  org-export-copy-buffer(:to-buffer nil :drop-visibility nil :drop-narrowing nil :drop-contents nil :drop-locals nil)
  org-export-as(html nil nil nil (:output-file "geschlechtsneutrale-sprache.html"))
  org-export-to-file(html "geschlechtsneutrale-sprache.html" nil nil nil nil nil)
  org-html-export-to-html(nil nil nil nil)
  org-export-dispatch(nil)
  funcall-interactively(org-export-dispatch nil)
  command-execute(org-export-dispatch)

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1121 bytes --]

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

* Re: [BUG] cannot export org-file: Warning (org-element-cache): org-element--cache: Got empty parent while parsing [9.6.12 (N/A @ /gnu/store/h6351wyaf8gahx46y71vd1200wr5l9gv-emacs-org-9.6.12/share/emacs/site-lisp/org-9.6.12/)]
  2023-12-18 14:39   ` Dr. Arne Babenhauserheide
@ 2023-12-18 14:52     ` Ihor Radchenko
  2023-12-18 17:25       ` Dr. Arne Babenhauserheide
  0 siblings, 1 reply; 6+ messages in thread
From: Ihor Radchenko @ 2023-12-18 14:52 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: emacs-orgmode

"Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:

> M-x org-toggle-debug-on-quit
>
>
> Debugger entered--Lisp error: (quit)
>   org-element--parse-to(13994)
>   org-element-at-point()
>   org--collect-keywords-1(("SETUPFILE" "BIND") nil nil ("/home/arne/Schreibtisch/arnebab-org/politik/geschl...") nil)
>   org-collect-keywords(("BIND"))
>   org-export--list-bound-variables()

I am confused. Does it mean that you can reproduce the error manually,
not from Makefile?

-- 
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] cannot export org-file: Warning (org-element-cache): org-element--cache: Got empty parent while parsing [9.6.12 (N/A @ /gnu/store/h6351wyaf8gahx46y71vd1200wr5l9gv-emacs-org-9.6.12/share/emacs/site-lisp/org-9.6.12/)]
  2023-12-18 14:52     ` Ihor Radchenko
@ 2023-12-18 17:25       ` Dr. Arne Babenhauserheide
  2023-12-21 12:13         ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Dr. Arne Babenhauserheide @ 2023-12-18 17:25 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]


Ihor Radchenko <yantar92@posteo.net> writes:

> "Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:
>
>> M-x org-toggle-debug-on-quit
>>
>>
>> Debugger entered--Lisp error: (quit)
>>   org-element--parse-to(13994)
>>   org-element-at-point()
>>   org--collect-keywords-1(("SETUPFILE" "BIND") nil nil ("/home/arne/Schreibtisch/arnebab-org/politik/geschl...") nil)
>>   org-collect-keywords(("BIND"))
>>   org-export--list-bound-variables()
>
> I am confused. Does it mean that you can reproduce the error manually,
> not from Makefile?

I can abort the publishing process in the Emacs started from the
Makefile (graphical Emacs, not in batch mode) and then export again from
the org-file, and then I see this error.

I cannot reproduce it from my regular Emacs session.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

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

* Re: [BUG] cannot export org-file: Warning (org-element-cache): org-element--cache: Got empty parent while parsing [9.6.12 (N/A @ /gnu/store/h6351wyaf8gahx46y71vd1200wr5l9gv-emacs-org-9.6.12/share/emacs/site-lisp/org-9.6.12/)]
  2023-12-18 17:25       ` Dr. Arne Babenhauserheide
@ 2023-12-21 12:13         ` Ihor Radchenko
  0 siblings, 0 replies; 6+ messages in thread
From: Ihor Radchenko @ 2023-12-21 12:13 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: emacs-orgmode

"Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:

>> I am confused. Does it mean that you can reproduce the error manually,
>> not from Makefile?
>
> I can abort the publishing process in the Emacs started from the
> Makefile (graphical Emacs, not in batch mode) and then export again from
> the org-file, and then I see this error.

What if you find the temporary Org buffer where the error is thrown,
copy it to a new Org buffer in emacs -Q, and try M-: (org-collect-keywords '("BIND")) ?

-- 
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:[~2023-12-21 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-18 11:49 [BUG] cannot export org-file: Warning (org-element-cache): org-element--cache: Got empty parent while parsing [9.6.12 (N/A @ /gnu/store/h6351wyaf8gahx46y71vd1200wr5l9gv-emacs-org-9.6.12/share/emacs/site-lisp/org-9.6.12/)] Dr. Arne Babenhauserheide
2023-12-18 14:08 ` Ihor Radchenko
2023-12-18 14:39   ` Dr. Arne Babenhauserheide
2023-12-18 14:52     ` Ihor Radchenko
2023-12-18 17:25       ` Dr. Arne Babenhauserheide
2023-12-21 12:13         ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.