emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "M. Pger" <mpger@protonmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Bug: asynchronous export (org-mode 9.4.4, emacs 27.2)
Date: Tue, 08 Mar 2022 12:07:43 +0000	[thread overview]
Message-ID: <YLOV7uBjl9SfiBOT1p-yaiTaGtrqG0E0rwV9dvu72weK7zS57nfplzRpK51gUG5hAK1B9GRLPV7WNUSYuF-A7H8w7cjoX1mEEvae154F4Jk=@protonmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2022-03-08 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-08 12:07 M. Pger [this message]
2022-03-08 13:30 ` Bug: asynchronous export (org-mode 9.4.4, emacs 27.2) 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='YLOV7uBjl9SfiBOT1p-yaiTaGtrqG0E0rwV9dvu72weK7zS57nfplzRpK51gUG5hAK1B9GRLPV7WNUSYuF-A7H8w7cjoX1mEEvae154F4Jk=@protonmail.com' \
    --to=mpger@protonmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).