emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rodrigo Morales <moralesrodrigo1100@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [bug] Exporting results in "Wrong type argument" when "+CALL" is used
Date: Sat, 30 Jan 2021 18:10:23 -0500	[thread overview]
Message-ID: <87bld6yqao.fsf@gmail.com> (raw)


As the subject states, executing some exporting commands (see list in
step 2 below) results in an error when there is at least one "#+CALL"
statement.

The backtrace is shown below.

#+begin_example
Debugger entered--Lisp error: (wrong-type-argument consp nil)
  org-babel-exp-code(nil lob)
  org-babel-exp-do-export(nil lob)
  org-babel-exp-process-buffer()
  org-export-as(md nil nil nil nil)
  org-export-to-buffer(md "*Org MD Export*" nil nil nil nil nil #f(compiled-function () #<bytecode 0x156896a2a639>))
  org-md-export-as-markdown(nil nil nil)
  (lambda (a s v b) (org-md-export-as-markdown a s v))(nil 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)
#+end_example

You can reproduce this bug by

1. Open the file =main.org= by loading the =init.el= file (see
   attachments). You can accomplish this by executing the following
   command.

#+begin_src sh
emacs -Q -l ~/Downloads/init.el ~/Downloads/main.org
#+end_src

2. Execute any of the following
  + =org-md-export-to-markdown=.
  + =org-latex-export-as-latex=.
  + =org-html-export-as-html=.

3. The error might occur.

I'm currently using GNU Emacs 27.1

-- 
Greetings,
Rodrigo Morales.


             reply	other threads:[~2021-01-30 23:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-30 23:10 Rodrigo Morales [this message]
2021-01-30 23:21 ` [bug] Exporting results in "Wrong type argument" when "+CALL" is used Rodrigo Morales
2021-01-31 20:24 ` ccberry--- via General discussions about Org-mode.

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=87bld6yqao.fsf@gmail.com \
    --to=moralesrodrigo1100@gmail.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).