emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] Exporting results in "Wrong type argument" when "+CALL" is used
@ 2021-01-30 23:10 Rodrigo Morales
  2021-01-30 23:21 ` Rodrigo Morales
  2021-01-31 20:24 ` ccberry--- via General discussions about Org-mode.
  0 siblings, 2 replies; 3+ messages in thread
From: Rodrigo Morales @ 2021-01-30 23:10 UTC (permalink / raw)
  To: emacs-orgmode


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.


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

end of thread, other threads:[~2021-01-31 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-30 23:10 [bug] Exporting results in "Wrong type argument" when "+CALL" is used Rodrigo Morales
2021-01-30 23:21 ` Rodrigo Morales
2021-01-31 20:24 ` ccberry--- via General discussions about Org-mode.

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