emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: asynchronous export (org-mode 9.4.4, emacs 27.2)
@ 2022-03-08 12:07 M. Pger
  2022-03-08 13:30 ` Sébastien Miquel
  0 siblings, 1 reply; 5+ messages in thread
From: M. Pger @ 2022-03-08 12:07 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

Dear All,

When trying to asynchronously export, I get the following error: "Process `org-export-process' exited abnormally".

The *Org Export Process* buffer gives the following: Invalid read syntax: "#".

I tried setting org-export-async-init-file to a minimal init file, but the problem remains. I also tried with a minimal .org file to export (no code blocks, just some headings and some text), but this does not solve the problem.

I used emacs -Q to be sure that the problem was not coming from my init file. I started the debugger, and here is the content of the backtrace buffer:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
make-process(:name "org-export-process" :buffer "*Org Export Process*" :command ("/usr/local/bin/emacs" "--batch" "-l" nil "-l" "/tmp/org-export-processRMXAfq"))
apply(make-process (:name "org-export-process" :buffer "*Org Export Process*" :command ("/usr/local/bin/emacs" "--batch" "-l" nil "-l" "/tmp/org-export-processRMXAfq")))
start-process("org-export-process" "*Org Export Process*" "/usr/local/bin/emacs" "--batch" "-l" nil "-l" "/tmp/org-export-processRMXAfq")

apply(start-process ("org-export-process" "*Org Export Process*" "/usr/local/bin/emacs" "--batch" "-l" nil "-l" "/tmp/org-export-processRMXAfq"))
org-export-to-file(latex "bug_asynchronous_export.tex" t nil nil nil nil #f(compiled-function (file) #<bytecode 0x157cabf51375))
org-latex-export-to-pdf(t nil nil nil)
(if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b)))
(lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))))(t nil nil nil)
org-export-dispatch(nil)
funcall-interactively(org-export-dispatch nil)
call-interactively(org-export-dispatch nil nil)command-execute(org-export-dispatch)

I had a look at '/tmp/org-export-processRMXAfq', and the end its content is:
(write-file "bug_asynchronous_export.tex"))) (or (ignore-errors (funcall '#[257 "\300^A!\207" [org-latex-compile] 3 "

Best,
MP

[-- Attachment #2: Type: text/html, Size: 4589 bytes --]

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

end of thread, other threads:[~2022-03-08 22:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-08 12:07 Bug: asynchronous export (org-mode 9.4.4, emacs 27.2) M. Pger
2022-03-08 13:30 ` Sébastien Miquel
2022-03-08 14:12   ` M. Pger
2022-03-08 14:51     ` Sébastien Miquel
2022-03-08 22:39       ` M. Pger

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).