[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] cannot export org-file: Warning (org-element-cache): org-eleme

From: Dr. Arne Babenhauserheide
Subject: 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/)]
Date: Mon, 18 Dec 2023 15:39:19 +0100
User-agent: mu4e 1.10.8; emacs 30.0.50

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 
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--collect-keywords-1(("SETUPFILE" "BIND") nil nil 
("/home/arne/Schreibtisch/arnebab-org/politik/geschl...") nil)
  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 
  org-export-to-file(html "geschlechtsneutrale-sprache.html" nil nil nil nil 
  org-html-export-to-html(nil nil nil nil)
  funcall-interactively(org-export-dispatch nil)

Best wishes,
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]