emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@manor-farm.org>
To: emacs-orgmode@gnu.org
Subject: Error When Publishing a Single File
Date: Tue, 17 Feb 2009 11:21:55 +0000	[thread overview]
Message-ID: <499A9DD3.80903@manor-farm.org> (raw)

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("\b?…\x06
   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"))


       ))

             reply	other threads:[~2009-02-17 11:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 11:21 Ian Barton [this message]
2009-02-17 11:43 ` Sebastian Rose
2009-02-17 12:46   ` Ian Barton
2009-02-19 19:22   ` Carsten Dominik
2009-02-17 12:25 ` Matthew Lundin
2009-02-26 21:18 ` Carsten Dominik
2009-02-27  8:06   ` Ian Barton
2009-02-27  8:25     ` Sebastian Rose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=499A9DD3.80903@manor-farm.org \
    --to=lists@manor-farm.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).