From mboxrd@z Thu Jan 1 00:00:00 1970 From: kuanyui Subject: Re: Bug: Cannot export this file as HTML. [8.2.6 (8.2.6-18-gaaae4a-elpa @ /home/kuanyui/.emacs.d/elpa/org-20140512/)] Date: Tue, 13 May 2014 00:14:44 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b10d0b5d4825704f9363e44 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjssI-0003zY-5t for emacs-orgmode@gnu.org; Mon, 12 May 2014 12:14:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjssH-0006MD-Bz for emacs-orgmode@gnu.org; Mon, 12 May 2014 12:14:46 -0400 Received: from mail-ie0-x232.google.com ([2607:f8b0:4001:c03::232]:48411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjssH-0006M8-6F for emacs-orgmode@gnu.org; Mon, 12 May 2014 12:14:45 -0400 Received: by mail-ie0-f178.google.com with SMTP id rd18so2319889iec.9 for ; Mon, 12 May 2014 09:14:44 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --047d7b10d0b5d4825704f9363e44 Content-Type: text/plain; charset=UTF-8 I found the question, take an easy example: * Title1 *** Title2 Test[fn:6] * Footnotes [fn:6] If there's a footnote is empty (or just following a space or so), the exporter will just return "org-trim: Wrong type argument: stringp, nil" I think this is a bug because the exporter should told user "there're some footnotes are empty" instead of an human-unreadable error message. kuanyui 20140513 0014 GMT+8 --047d7b10d0b5d4825704f9363e44 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I found the question, take an easy example:
<= br>=C2=A0=C2=A0=C2=A0 * Title1
=C2=A0=C2=A0=C2=A0 *** Title2
=C2=A0= =C2=A0=C2=A0 Test[fn:6]
=C2=A0=C2=A0=C2=A0 * Footnotes
=C2=A0=C2=A0= =C2=A0 [fn:6]

If there's a footnote is empty (or just fol= lowing a space or so), the exporter will just return "org-trim: Wrong = type argument: stringp, nil"
I think this is a bug because the exporter should told user "the= re're some footnotes are empty" instead of an human-unreadable err= or message.

kuanyui 20140513 0014 GMT+8
--047d7b10d0b5d4825704f9363e44--