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