emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Perl Ancar <perlancar@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: "Wrong number of arguments: nil, 0" error when exporting a table with caption to ODT
Date: Sun, 05 Apr 2020 17:03:07 +0000	[thread overview]
Message-ID: <87tv1x27ck.fsf@kyleam.com> (raw)
In-Reply-To: <CAMyyfzCKQ+oNoTgus7XKc1bTS-CrPG6KyXc6_pFKS3EF6HZm8Q@mail.gmail.com>

Perl Ancar <perlancar@gmail.com> writes:

> On Sun, Apr 5, 2020 at 12:16 PM Kyle Meyer <kyle@kyleam.com> wrote:
>> > Any pointer?
>> If upgrading doesn't work for you (or you'd just like to investigate),
>> doing "M-x toggle-debug-on-error" and getting a backtrace could be a
>> good place to start.
> Unfortunately after M-x toggle-debug-on-error I'm not getting relevant
> additional messages in the *Messages* buffer (I read that messages will
> appear in the *Warnings* buffer, but I see that there is no *Warnings*
> buffer created):

Ah, sorry for the unhelpful suggestion.  It looks like that error is
being caught (which I should have guessed from the "OpenDocument ..."

  (defmacro org-odt--export-wrap (out-file &rest body)
       (condition-case err
          ;; Cleanup work directory and work files.
          (funcall --cleanup-xml-buffers)
          (message "OpenDocument export failed: %s"
                   (error-message-string err)))))

So to see the error, you could either remove that error handling or
tweak it to re-throw it:

    (signal (car err) (cdr err))

      reply	other threads:[~2020-04-05 18:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05  3:25 "Wrong number of arguments: nil, 0" error when exporting a table with caption to ODT Perl Ancar
2020-04-05  5:16 ` Kyle Meyer
2020-04-05 10:05   ` Perl Ancar
2020-04-05 17:03     ` Kyle Meyer [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:

  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=87tv1x27ck.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=perlancar@gmail.com \


* 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


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