emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Perl Ancar <perlancar@gmail.com>
To: Kyle Meyer <kyle@kyleam.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, 5 Apr 2020 17:05:04 +0700	[thread overview]
Message-ID: <CAMyyfzCKQ+oNoTgus7XKc1bTS-CrPG6KyXc6_pFKS3EF6HZm8Q@mail.gmail.com> (raw)
In-Reply-To: <878sja342m.fsf@kyleam.com>

[-- Attachment #1: Type: text/plain, Size: 1987 bytes --]

On Sun, Apr 5, 2020 at 12:16 PM Kyle Meyer <kyle@kyleam.com> wrote:

> Perl Ancar <perlancar@gmail.com> writes:
> > I tried exporting a document with table that has caption to ODT and it
> > failed with this error message:
> >
> >     OpenDocument export failed: Wrong number of arguments: nil, 0
> >
> > Sample document:
> >
> >     #+CAPTION: some caption
> >     | row1 |
> Trying with the latest release of Org (9.3.6), I exported this without
> hitting the above error, so upgrading will likely resolve the issue for
> you.
> > 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):

    Debug on Error enabled globally
    Debug (ox-odt): Searching for OpenDocument styles files...
    Debug (ox-odt): Trying /usr/share/emacs/25.2/etc/styles/... [2 times]
    Debug (ox-odt): Trying /usr/share/emacs/25.2/lisp/org/etc/styles/...
    Debug (ox-odt): Trying /usr/share/emacs/25.2/etc/org/...
    Debug (ox-odt): Using styles under /usr/share/emacs/25.2/etc/org/
    Debug (ox-odt): Searching for OpenDocument schema files...
    Debug (ox-odt): Trying /usr/share/emacs/25.2/etc/schema/...
    Debug (ox-odt): No OpenDocument schema files installed
    LaTeX to MathML converter not available.
    Formatting LaTeX using verbatim
    OpenDocument export failed: Wrong number of arguments: nil, 0
    You can run the command ‘org-odt-export-to-odt’ with M-x -od-t RET

However, when trying to upgrade org, I try exporting under "emacs -q" and
this error does not happen. So I'll need to comb through my years-old
~/.emacs to try to figure out what causes this error.

[-- Attachment #2: Type: text/html, Size: 2580 bytes --]

  reply	other threads:[~2020-04-05 10:10 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 [this message]
2020-04-05 17:03     ` Kyle Meyer

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=CAMyyfzCKQ+oNoTgus7XKc1bTS-CrPG6KyXc6_pFKS3EF6HZm8Q@mail.gmail.com \
    --to=perlancar@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kyle@kyleam.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).