From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Error When Publishing a Single File Date: Tue, 17 Feb 2009 11:21:55 +0000 Message-ID: <499A9DD3.80903@manor-farm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZO1o-00084P-4J for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 06:22:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZO1m-000845-Fn for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 06:22:15 -0500 Received: from [199.232.76.173] (port=37472 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZO1m-000842-A0 for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 06:22:14 -0500 Received: from a2s22.a2hosting.com ([69.39.86.130]:37472) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LZO1m-0003YV-1M for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 06:22:14 -0500 Received: from [217.146.125.41] (helo=firewall.banter.local) by a2s22.a2hosting.com with esmtp (Exim 4.69) (envelope-from ) id 1LZO1k-0006wx-LU for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 06:22:12 -0500 Received: from localhost (localhost [127.0.0.1]) by firewall.banter.local (Postfix) with ESMTP id D3A09CCDA for ; Tue, 17 Feb 2009 11:22:09 +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 ySFvMKd0QVoE for ; Tue, 17 Feb 2009 11:21:55 +0000 (GMT) Received: from [192.168.0.60] (scamper.banter.local [192.168.0.60]) by firewall.banter.local (Postfix) with ESMTP id 68B87CC29 for ; Tue, 17 Feb 2009 11:21:55 +0000 (GMT) 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 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 get=20 the following error: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) file-truename(nil) =20 org-publish-file("/home/ian/nfs/firewall/Documents/org/holiday/holiday.or= g") byte-code("=08?=C2=85=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 my=20 .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=20 "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")) ))