From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Publishing to html With the New Exporter Date: Mon, 18 Feb 2013 17:45:09 +0000 Message-ID: <512268A5.501@wilkesley.net> References: <512223BE.80500@wilkesley.net> <87bobhwwvy.fsf@gmail.com> <5122418F.2000306@wilkesley.net> <877gm5wn3i.fsf@gmail.com> Reply-To: ian@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7UmK-0008UZ-Md for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 12:45:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7UmF-00061h-PF for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 12:45:24 -0500 Received: from mail2.wilkesley.net ([109.74.196.44]:53137 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7UmF-000614-K2 for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 12:45:19 -0500 In-Reply-To: <877gm5wn3i.fsf@gmail.com> 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: Nicolas Goaziou Cc: ian@manor-farm.org, emacs-orgmode@gnu.org On 18/02/13 17:25, Nicolas Goaziou wrote: > Ian Barton writes: > >> A bit more investigating showed that the file causing the problem was >> a blank .org file with no content at all. Removing this fixed the >> problem and I can now export! I don't know if not being able to handle >> files with no content should be considered a bug or not. > > There was a bug in org-element.el, which returned an error when parsing > an empty file. I fixed it a few days ago. Is your Org version recent > enough? > > My org was about a week old. I have just pulled again and the error with the empty file has gone. Best wishes, Ian.