From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Error When Publishing a Single File Date: Thu, 26 Feb 2009 22:18:45 +0100 Message-ID: <8F5F44D7-F4D6-4AC9-ACE7-8F8E2F71EBCA@uva.nl> References: <499A9DD3.80903@manor-farm.org> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lcnd5-0003XA-HP for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 16:18:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lcnd3-0003V0-Kg for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 16:18:50 -0500 Received: from [199.232.76.173] (port=59626 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lcnd3-0003Uj-Dr for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 16:18:49 -0500 Received: from mail-bw0-f172.google.com ([209.85.218.172]:42812) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lcnd2-00028H-PN for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 16:18:49 -0500 Received: by bwz20 with SMTP id 20so724910bwz.42 for ; Thu, 26 Feb 2009 13:18:47 -0800 (PST) In-Reply-To: <499A9DD3.80903@manor-farm.org> 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: Ian Barton Cc: emacs-orgmode@gnu.org 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 =20= > settings, but I can't work out what. When I publish a single file, I =20= > 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/=20 > holiday.org") > byte-code("=08? > =06 > 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 =20 > 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 =20= > 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\\|=20 > ogg\\|swf" > :publishing-directory "~/nfs/firewall/public_html/org/" > :recursive t > :publishing-function org-publish-attachment) > > ("org" :components ("org-notes" "org-static")) > > > )) > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode