From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1 with LMTPS id CGVwE5KuiV6rHAAAk0OIDg (envelope-from ) for ; Sun, 05 Apr 2020 10:10:26 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mBmhL5CuiV4rSQAA1q6Kng (envelope-from ) for ; Sun, 05 Apr 2020 10:10:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 322C4682416 for ; Sun, 5 Apr 2020 10:06:01 +0000 (UTC) Received: from localhost ([::1]:46442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL2AA-000199-Uu for larch@yhetil.org; Sun, 05 Apr 2020 06:05:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37168) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL29W-000193-Dx for emacs-orgmode@gnu.org; Sun, 05 Apr 2020 06:05:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jL29V-0000Kx-8A for emacs-orgmode@gnu.org; Sun, 05 Apr 2020 06:05:18 -0400 Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]:42952) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jL29V-0000JR-4A for emacs-orgmode@gnu.org; Sun, 05 Apr 2020 06:05:17 -0400 Received: by mail-vs1-xe30.google.com with SMTP id s10so7811475vsi.9 for ; Sun, 05 Apr 2020 03:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vtgcbqIDsS4dXHML1jsQaYFHPwnxRnEVccNnwNawLnQ=; b=BZMv9bBzT7c+EMhii/s+i0/TSmTAF45c4uE/IHqvcGBvSTLEgpXmqQX3IwOZR/xAP2 jmjkexqkO+ICUvjoRm/AUNq4CG/jmsN04ZMqCtXjMCrfEAz2VfVveOSe0rqv7MTvnhW1 NTVp+1TrHjslwkiRQ1UTUeDVKyWG+BbVooPvf3kbE52MoTUK63ojfxmEqO4g5Q1uY/TJ gRFkrE7dh8IUl+u5wOtMVWOOuEqA8xOwc8tUVngRYfhLW4UQohxX+U/d5q6TeEpL8+JO xNMK0LGkaZBNC4eKVY3i2FuSAIMS/V7+hZ0FaYEvz30iT1gKgvA2PNEhrxT586Qv+eKt k6Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vtgcbqIDsS4dXHML1jsQaYFHPwnxRnEVccNnwNawLnQ=; b=N6I14PXbJIxigQPjCiDHnevVfvvIILZdgF0A0w4aGMq/dHQU1cZbeoNyBRz+i6Z683 9nWNnZ9QRAWuO/NJOeMR0a/YDlGSjzcJZMSCaCw3YtyraVHtOUkxnmJ1yvvU5Z3RBkBq LhvlxjvxkUiu+onidvbVZ2MYwKYWn+2mzf4152qzBhOMF2Awz5vk7vHqGp3wnMY+8Dfp Ngd6ZYYQOch90WjDkKTqKu9zgM0sN/hsCFhufYREOyocCWlqTmhik/yH9KJqc877iYaZ HaZSSsxazl/DnhuLB5XI+xyaUuZ8JhybyFPSi3+aGQfVVc9q7M2OxCtaToUz/0FTaEZc ydvg== X-Gm-Message-State: AGi0Pua90G+TAoSD1+xc53I7/jho93TGC1x3OOw9I23UQ/rh38bLh5ZR ffuaA0y2WIPKn7d3iy+HvgtEVUisK2caeq+kvztMOBaK X-Google-Smtp-Source: APiQypIqfR6KZC0gHCrTBd+M/lN1RfhCF8lTC6BGPSQrc1NTEYqmk2q7LqUyhjib4/KUCCZvKDbtNVQHldQz7vGm3XE= X-Received: by 2002:a05:6102:403:: with SMTP id d3mr10841104vsq.20.1586081116107; Sun, 05 Apr 2020 03:05:16 -0700 (PDT) MIME-Version: 1.0 References: <878sja342m.fsf@kyleam.com> In-Reply-To: <878sja342m.fsf@kyleam.com> From: Perl Ancar Date: Sun, 5 Apr 2020 17:05:04 +0700 Message-ID: Subject: Re: "Wrong number of arguments: nil, 0" error when exporting a table with caption to ODT To: Kyle Meyer Content-Type: multipart/alternative; boundary="00000000000082b85605a2884971" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::e30 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=default; t=1586081161; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vtgcbqIDsS4dXHML1jsQaYFHPwnxRnEVccNnwNawLnQ=; b=W6z0Og2cS+Ltf2MvyR0nIqdD9OqXLPE/aFO4slJoIVHnxCauL0WzBoe2escCrLOhW5QRoP q/RUXGnVa1Ryo1RnwpELKSRa+AeBfYtuUcTDF3YYZGDHFf82f2JJ056tujjwIWn+a7Vgj2 fddfIR6sIP571SsL8ijwcXGbWMSlcBo= ARC-Seal: i=1; s=default; d=yhetil.org; t=1586081161; a=rsa-sha256; cv=none; b=aa9hN31lghXv0msDi+LFEoqi4gqmdIam9UbW78kpg8QmEhmsgpafaKoX0NaoAvl3l1XCFQ Xe1KG+PVlZtC14FqJSx1cI0SmgWa2N2eoJ+k3plwyORfsJp8JKGT+Ao5IEICGXEI19VWoz 8394cnUbsVVxlDK+1iUBT1vvY1A+jt4= ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=BZMv9bBz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx2.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scanner: scn0 X-Spam-Score: -1.71 Authentication-Results: aspmx2.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=BZMv9bBz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx2.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-1.71 / 13.00]; GENERIC_REPUTATION(0.00)[-0.58579024852965]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_SIGNED(0.00)[i=1]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.33), country: US(-0.01), ip: 209.51.188.17(-0.59)]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[perlancar@gmail.com,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: +4MBspLBQk+3 --00000000000082b85605a2884971 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Apr 5, 2020 at 12:16 PM Kyle Meyer wrote: > Perl Ancar 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 =E2=80=98org-odt-export-to-odt=E2=80=99 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. --00000000000082b85605a2884971 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Apr 5, 2020 at 12:16 PM Kyle Meyer <kyle@kyleam.com> wrote:
Perl Ancar <= perlancar@gmail.co= m> writes:

> I tried exporting a document with table that has caption to ODT and it=
> failed with this error message:
>
>=C2=A0 =C2=A0 =C2=A0OpenDocument export failed: Wrong number of argumen= ts: nil, 0
>
> Sample document:
>
>=C2=A0 =C2=A0 =C2=A0#+CAPTION: some caption
>=C2=A0 =C2=A0 =C2=A0| 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 investigat= e),
doing "M-x toggle-debug-on-error" and getting a backtrace could b= e a
good place to start.

Unfortunately afte= r M-x toggle-debug-on-error I'm not getting relevant additional message= s in the *Messages* buffer (I read that messages will appear in the *Warnin= gs* buffer, but I see that there is no *Warnings* buffer created):

=C2=A0=C2=A0=C2=A0 Debug on Error enabled globally
=C2= =A0=C2=A0=C2=A0 Debug (ox-odt): Searching for OpenDocument styles files...<= br>=C2=A0=C2=A0=C2=A0 Debug (ox-odt): Trying /usr/share/emacs/25.2/etc/styl= es/... [2 times]
=C2=A0=C2=A0=C2=A0 Debug (ox-odt): Trying /usr/share/em= acs/25.2/lisp/org/etc/styles/...
=C2=A0=C2=A0=C2=A0 Debug (ox-odt): Tryi= ng /usr/share/emacs/25.2/etc/org/...
=C2=A0=C2=A0=C2=A0 Debug (ox-odt): = Using styles under /usr/share/emacs/25.2/etc/org/
=C2=A0=C2=A0=C2=A0 Deb= ug (ox-odt): Searching for OpenDocument schema files...
=C2=A0=C2=A0=C2= =A0 Debug (ox-odt): Trying /usr/share/emacs/25.2/etc/schema/...
=C2=A0= =C2=A0=C2=A0 Debug (ox-odt): No OpenDocument schema files installed
=C2= =A0=C2=A0=C2=A0 LaTeX to MathML converter not available.
=C2=A0=C2=A0=C2= =A0 Formatting LaTeX using verbatim
=C2=A0=C2=A0=C2=A0 OpenDocument expo= rt failed: Wrong number of arguments: nil, 0
=C2=A0=C2=A0=C2=A0 You can = run the command =E2=80=98org-odt-export-to-odt=E2=80=99 with M-x -od-t RET<= /div>

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


--00000000000082b85605a2884971--