From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Error When Publishing a Single File Date: Fri, 27 Feb 2009 08:06:32 +0000 Message-ID: <49A79F08.3020208@manor-farm.org> References: <499A9DD3.80903@manor-farm.org> <8F5F44D7-F4D6-4AC9-ACE7-8F8E2F71EBCA@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcxkE-0005Sq-DV for emacs-orgmode@gnu.org; Fri, 27 Feb 2009 03:06:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcxkB-0005OB-RW for emacs-orgmode@gnu.org; Fri, 27 Feb 2009 03:06:53 -0500 Received: from [199.232.76.173] (port=38796 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcxkB-0005O3-LQ for emacs-orgmode@gnu.org; Fri, 27 Feb 2009 03:06:51 -0500 Received: from mx20.gnu.org ([199.232.41.8]:47600) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LcxkB-0002T8-2k for emacs-orgmode@gnu.org; Fri, 27 Feb 2009 03:06:51 -0500 Received: from a2s22.a2hosting.com ([69.39.86.130]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lcxk9-0007Tt-OC for emacs-orgmode@gnu.org; Fri, 27 Feb 2009 03:06:49 -0500 Received: from [217.146.125.41] (helo=firewall.banter.local) by a2s22.a2hosting.com with esmtp (Exim 4.69) (envelope-from ) id 1Lcxk5-00051c-1g for emacs-orgmode@gnu.org; Fri, 27 Feb 2009 03:06:45 -0500 Received: from localhost (localhost [127.0.0.1]) by firewall.banter.local (Postfix) with ESMTP id 69006D2D5 for ; Fri, 27 Feb 2009 08:06:42 +0000 (GMT) Received: from firewall.banter.local ([127.0.0.1]) by localhost (firewall.banter.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oZJsbGYuKUsV for ; Fri, 27 Feb 2009 08:06:32 +0000 (GMT) Received: from [192.168.0.60] (scamper.banter.local [192.168.0.60]) by firewall.banter.local (Postfix) with ESMTP id D336BCEE1 for ; Fri, 27 Feb 2009 08:06:32 +0000 (GMT) In-Reply-To: <8F5F44D7-F4D6-4AC9-ACE7-8F8E2F71EBCA@uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Many thanks Carsten. Hi Ian, > > this bug is fixed now. Thanks for the report. > > - Carsten > > On Feb 17, 2009, at 12:21 PM, Ian Barton wrote: > >> This has been happening for a while. I suspect it's something in my >> settings, but I can't work out what. When I publish a single file, I >> get the following error: >> >> Debugger entered--Lisp error: (wrong-type-argument arrayp nil) >> file-truename(nil) >> org-publish-file("/home/ian/nfs/firewall/Documents/org/holiday/holiday.org") >> >> byte-code("? >>  >> org-publish-current-file(nil) >> call-interactively(org-publish-current-file) >> org-export(nil) >> call-interactively(org-export) >> >> Publishing a whole project works fine. This is the relevant bit of my >> .emacs: >> >> (require 'org-publish) >> (setq org-publish-project-alist >> '( >> >> ;; ... add all the components here (see below)... >> ("org-notes" >> :base-directory "~/nfs/firewall/Documents/org/" >> :base-extension "org" >> :publishing-directory "~/nfs/firewall/public_html/org/" >> :recursive t >> :publishing-function org-publish-org-to-html >> :headline-levels 4 ; Just the default for this >> project. >> :auto-preamble t >> :auto-index t >> :index-filename "sitemap.org" >> :index-title "Sitemap" >> ) >> >> ("org-static" >> :base-directory "~/nfs/firewall/Documents/org/" >> :base-extension >> "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" >> :publishing-directory "~/nfs/firewall/public_html/org/" >> :recursive t >> :publishing-function org-publish-attachment) >> >> ("org" :components ("org-notes" "org-static")) >> >> >> ))