From mboxrd@z Thu Jan 1 00:00:00 1970 From: Madhu Rao Subject: Re: org-publish error.. Date: Thu, 5 Feb 2009 18:31:18 +0530 Message-ID: <4560C364-781E-4BD3-AAB8-765BFD03ECEA@gmail.com> References: <87myd1q158.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LV3rH-0005Fg-BA for emacs-orgmode@gnu.org; Thu, 05 Feb 2009 08:01:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LV3rG-0005Es-G9 for emacs-orgmode@gnu.org; Thu, 05 Feb 2009 08:01:30 -0500 Received: from [199.232.76.173] (port=34832 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV3rG-0005El-4F for emacs-orgmode@gnu.org; Thu, 05 Feb 2009 08:01:30 -0500 Received: from rv-out-0506.google.com ([209.85.198.227]:32381) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LV3rF-0003Lx-Gr for emacs-orgmode@gnu.org; Thu, 05 Feb 2009 08:01:29 -0500 Received: by rv-out-0506.google.com with SMTP id g9so2574029rvb.2 for ; Thu, 05 Feb 2009 05:01:25 -0800 (PST) In-Reply-To: <87myd1q158.fsf@kassiopeya.MSHEIMNETZ> 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: Sebastian Rose Cc: emacs-orgmode@gnu.org Sebastian, Thanks. I did check and all the files/dirs do exist. Regards, Madhu On 05-Feb-09, at 4:07 AM, Sebastian Rose wrote: > Hi Madhu, > > > do all the files and directories still exist? > > I saw this once and a file or directory was missing. > > > Just an idea... > > > Regards, > > Sebastian > > Madhu Rao writes: >> 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 >> > > -- > Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 > Hannover > Tel.: +49 (0)511 - 36 58 472 > Fax: +49 (0)1805 - 233633 - 11044 > mobil: +49 (0)173 - 83 93 417 > Http: www.emma-stil.de