emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Madhu Rao <bgmrao@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-publish error..
Date: Fri, 6 Feb 2009 08:49:42 +0100	[thread overview]
Message-ID: <26E30197-704F-487F-BE18-C548A2E11EA5@uva.nl> (raw)
In-Reply-To: <C53CEA21-BA61-4AAB-9F78-13A3328D25BB@gmail.com>

Hi,

I am not able to reproduce this problem.

Can you try to make a minimal example, with a minimal .emacs
file and a test setup that reproduces this problem?

Thanks.

- Carsten

On Feb 4, 2009, at 6:22 PM, Madhu Rao wrote:

> When I try to "publish current file" I get the error below.
> However, when I prompt for a project and publish, that
> works all right. Publishing current file worked all right
> in earlier versions of org-mode. Now I am on 6.21. I don't
> know at which point this changed or something to do with
> my emacs setup that meddled with; I haven't published for a while now.
>
> Thanks.
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>  file-truename(nil)
>  (file-name-as-directory (file-truename (plist-get project- 
> plist :base-directory)))
>  (let* ((project ...) (project-plist ...) (ftname ...) (publishing- 
> function ...) (base-dir ...) (pub-dir ...) tmp-pub-dir) (setq tmp- 
> pub-dir (file-name-directory ...)) (if (listp publishing-function)  
> (mapc ... publishing-function) (funcall publishing-function project- 
> plist filename tmp-pub-dir)))
>  (progn (let* (... ... ... ... ... ... tmp-pub-dir) (setq tmp-pub- 
> dir ...) (if ... ... ...)) (org-publish-update-timestamp filename))
>  (if (org-publish-needed-p filename) (progn (let* ... ... ...) (org- 
> publish-update-timestamp filename)))
>  (when (org-publish-needed-p filename) (let*  
> (... ... ... ... ... ... tmp-pub-dir) (setq tmp-pub-dir ...)  
> (if ... ... ...)) (org-publish-update-timestamp filename))
>  org-publish-file("/Users/mac_u/Org/Publish/test_org.org")
>  (let ((org-publish-use-timestamps-flag ...)) (org-publish-file  
> (buffer-file-name)))
>  (save-window-excursion (let (...) (org-publish-file ...)))
>  org-publish-current-file(nil)
>  call-interactively(org-publish-current-file)
>  (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set- 
> process-sentinel p ...) (message "Background process \"%s\":  
> started" p)) (call-interactively (nth 1 ass)))
>  (let* ((bg ...) (help "[t]   insert the export option template 
> \n[v]   limit export to visible part of outline tree\n\n[a] export  
> as ASCII\n\n[h] export as HTML\n[H] export as HTML to temporary  
> buffer\n[R] export region as HTML\n[b] export as HTML and browse  
> immediately\n[x] export as XOXO\n\n[l] export as LaTeX\n[p] export  
> as LaTeX and process to PDF\n[d] export as LaTeX, process to PDF,  
> and open the resulting PDF document\n[L] export as LaTeX to  
> temporary buffer\n\n[i] export current file as iCalendar file\n[I]  
> export all agenda files as iCalendar files\n[c] export agenda files  
> into combined iCalendar file\n\n[F] publish current file\n[P]  
> publish current project\n[X] publish... (project will be prompted  
> for)\n[A] publish all projects") (cmds ...) r1 r2 ass) (save-window- 
> excursion (delete-other-windows) (with-output-to-temp-buffer "*Org  
> Export/Publishing Help*" ...) (org-fit-window-to-buffer ...)  
> (message "Select command: ") (setq r1 ...)) (setq r2 (if ... ...  
> r1)) (unless (setq ass ...) (error "No command associated with key  
> %c" r1)) (if (and bg ... ... ...) (let ... ... ...) (call- 
> interactively ...)))
>  org-export(nil)
>  call-interactively(org-export)
>
>
>
> _______________________________________________
> 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

  parent reply	other threads:[~2009-02-06  8:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04 17:22 Madhu Rao
2009-02-04 22:37 ` Sebastian Rose
2009-02-05 13:01   ` Madhu Rao
2009-02-04 23:27 ` Richard Riley
2009-02-05  0:29   ` Sebastian Rose
2009-02-05 13:03     ` Madhu Rao
2009-02-06  7:49 ` Carsten Dominik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-21 14:04 Leon
2006-06-22 12:03 ` David O'Toole

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=26E30197-704F-487F-BE18-C548A2E11EA5@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bgmrao@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: org-publish error..' \
    /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

Code repositories for project(s) associated with this 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).