emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: ccberry--- via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: Rodrigo Morales <moralesrodrigo1100@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [bug] Exporting results in "Wrong type argument" when "+CALL" is used
Date: Sun, 31 Jan 2021 20:24:01 +0000	[thread overview]
Message-ID: <85E7D012-C9CB-4C31-A55A-AAB4129867F7@health.ucsd.edu> (raw)
In-Reply-To: <87bld6yqao.fsf@gmail.com>



> On Jan 30, 2021, at 3:10 PM, Rodrigo Morales <moralesrodrigo1100@gmail.com> wrote:
> 
> 
> 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)

[snip]

There is a malformed line:

#+CALL: foo

and M-x org-lint fails to find it. See (info "(org) Evaluating Code Blocks")

Using  

#+CALL: foo()

works.

Curiously enough, placing that line at the very end of file (i.e. with no trailing newline) works.

HTH,

Chuck




      parent reply	other threads:[~2021-01-31 20:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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. [this message]

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=85E7D012-C9CB-4C31-A55A-AAB4129867F7@health.ucsd.edu \
    --to=emacs-orgmode@gnu.org \
    --cc=ccberry@health.ucsd.edu \
    --cc=moralesrodrigo1100@gmail.com \
    /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).