emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-publish error
@ 2006-06-21 14:04 Leon
  2006-06-22 12:03 ` David O'Toole
  0 siblings, 1 reply; 9+ messages in thread
From: Leon @ 2006-06-21 14:04 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

org 4.38

When I delete the published html file, sequent publish will fail with
error. Here is the backbrace.

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "File ~/Desktop/studyplan.html no longer exists!")
  signal(error ("File ~/Desktop/studyplan.html no longer exists!"))
  error("File %s no longer exists!" "~/Desktop/studyplan.html")
  find-file-noselect("./studyplan.html")
  (let* ((opt-plist ...) (style ...) (link-validate ...) valid (odd org-odd-levels-only) (region-p ...) (region ...) (all_lines ...) (lines ...) (level 0) (line "") (origline "") txt todo (umax nil) (filename ...) (current-dir ...) (buffer ...) (levels-open ...) (date ...) (time ...) (author ...) (title ...) (quote-re0 ...) (quote-re ...) (inquote nil) (infixed nil) (in-local-list nil) (local-list-num nil) (local-list-indent nil) (llt org-plain-list-ordered-item-terminator) (email ...) (language ...) (text ...) (lang-words nil) (target-alist nil) tg (head-count 0) cnt (start 0) (coding-system ...) (coding-system-for-write ...) (save-buffer-coding-system ...) (charset ...) table-open type table-buffer table-orig-buffer ind start-is-num ...) (message "Exporting...") (setq org-last-level 1) (org-init-section-numbers) (setq lang-words (or ... ...)) (if (or hidden ...) (set-buffer buffer) (switch-to-buffer-other-window buffer)) (erase-buffer) (fundamental-mode) (let (... ...) (mapcar ... org-export-plist-vars) (setq umax ...) (insert ...) (insert ...) (when ... ... ...) (if org-export-with-toc ...) (setq head-count 0) (org-init-section-numbers) (while ... ...) (when inquote ...) (when in-local-list ... ...) (org-html-level-start 1 nil umax ... head-count) (when ... ... ...) (if org-export-html-with-timestamp ...) (insert ...) (insert "</body>\n</html>\n") (normal-mode) (goto-char ...) (while ... ...) (goto-char ...) (while ... ...) (save-buffer) (goto-char ...)))
  org-export-as-html(nil)
  call-interactively(org-export-as-html)
  (if (setq ass (assq r2 cmds)) (call-interactively (cdr ass)) (error "No command associated with key %c" r1))
  (let ((help "[t]   insert the export option template\n[v]   limit export to visible part of outline tree\n\n[a] export as ASCII\n[h] export as HTML\n[b] export as HTML and browse immediately\n[x] export as XOXO\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*" ...) (message "Select command: ") (setq r1 ...)) (setq r2 (if ... ... r1)) (if (setq ass ...) (call-interactively ...) (error "No command associated with key %c" r1)))
  org-export()
  call-interactively(org-export)
--8<---------------cut here---------------end--------------->8---

-- 
Leon

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: org-publish error
  2006-06-21 14:04 Leon
@ 2006-06-22 12:03 ` David O'Toole
  0 siblings, 0 replies; 9+ messages in thread
From: David O'Toole @ 2006-06-22 12:03 UTC (permalink / raw)
  To: Leon; +Cc: emacs-orgmode


Looking at the backtrace, I'd say the error occurs inside
org.el. Carsten, perhaps you could look at this? 

Leon <sdl.web@gmail.com> writes:

> Hi all,
>
> org 4.38
>
> When I delete the published html file, sequent publish will fail with
> error. Here is the backbrace.
>
> Debugger entered--Lisp error: (error "File ~/Desktop/studyplan.html no longer exists!")
>   signal(error ("File ~/Desktop/studyplan.html no longer exists!"))
>   error("File %s no longer exists!" "~/Desktop/studyplan.html")
>   find-file-noselect("./studyplan.html")
>   (let* ((opt-plist ...) (style ...) (link-validate ...) valid (odd org-odd-levels-only) (region-p ...) (region ...) (all_lines ...) (lines ...) (level 0) (line "") (origline "") txt todo (umax nil) (filename ...) (current-dir ...) (buffer ...) (levels-open ...) (date ...) (time ...) (author ...) (title ...) (quote-re0 ...) (quote-re ...) (inquote nil) (infixed nil) (in-local-list nil) (local-list-num nil) (local-list-indent nil) (llt org-plain-list-ordered-item-terminator) (email ...) (language ...) (text ...) (lang-words nil) (target-alist nil) tg (head-count 0) cnt (start 0) (coding-system ...) (coding-system-for-write ...) (save-buffer-coding-system ...) (charset ...) table-open type table-buffer table-orig-buffer ind start-is-num ...) (message "Exporting...") (setq org-last-level 1) (org-init-section-numbers) (setq lang-words (or ... ...)) (if (or hidden ...) (set-buffer buffer) (switch-to-buffer-other-window buffer)) (erase-buffer) (fundamental-mode) (let (... ...) (mapcar ... org-export-plist-vars) (setq umax ...) (insert ...) (insert ...) (when ... ... ...) (if org-export-with-toc ...) (setq head-count 0) (org-init-section-numbers) (while ... ...) (when inquote ...) (when in-local-list ... ...) (org-html-level-start 1 nil umax ... head-count) (when ... ... ...) (if org-export-html-with-timestamp ...) (insert ...) (insert "</body>\n</html>\n") (normal-mode) (goto-char ...) (while ... ...) (goto-char ...) (while ... ...) (save-buffer) (goto-char ...)))
>   org-export-as-html(nil)
>   call-interactively(org-export-as-html)
>   (if (setq ass (assq r2 cmds)) (call-interactively (cdr ass)) (error "No command associated with key %c" r1))
>   (let ((help "[t]   insert the export option template\n[v]   limit export to visible part of outline tree\n\n[a] export as ASCII\n[h] export as HTML\n[b] export as HTML and browse immediately\n[x] export as XOXO\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*" ...) (message "Select command: ") (setq r1 ...)) (setq r2 (if ... ... r1)) (if (setq ass ...) (call-interactively ...) (error "No command associated with key %c" r1)))
>   org-export()
>   call-interactively(org-export)
>
> -- 
> Leon
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
David O'Toole 
dto@gnu.org
http://dto.freeshell.org/notebook/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* org-publish error..
@ 2009-02-04 17:22 Madhu Rao
  2009-02-04 22:37 ` Sebastian Rose
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Madhu Rao @ 2009-02-04 17:22 UTC (permalink / raw)
  To: emacs-orgmode

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)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: org-publish error..
  2009-02-04 17:22 org-publish error 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-06  7:49 ` Carsten Dominik
  2 siblings, 1 reply; 9+ messages in thread
From: Sebastian Rose @ 2009-02-04 22:37 UTC (permalink / raw)
  To: Madhu Rao; +Cc: emacs-orgmode

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 <bgmrao@gmail.com> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: org-publish error..
  2009-02-04 17:22 org-publish error Madhu Rao
  2009-02-04 22:37 ` Sebastian Rose
@ 2009-02-04 23:27 ` Richard Riley
  2009-02-05  0:29   ` Sebastian Rose
  2009-02-06  7:49 ` Carsten Dominik
  2 siblings, 1 reply; 9+ messages in thread
From: Richard Riley @ 2009-02-04 23:27 UTC (permalink / raw)
  To: Madhu Rao; +Cc: emacs-orgmode




Madhu Rao <bgmrao@gmail.com> 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.


On this subject, something I forgot to mention. When you publish a
single file it does not publish it with the project style settings. It
should do IMO. I dont publish using timestamps since many
of my files are #include'd and so don't contribute to timestamp changes
and thus dont get published unless I publish the entire web : hence I
would like use publish single file sometimes rather than the time
consuming full project publish.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: org-publish error..
  2009-02-04 23:27 ` Richard Riley
@ 2009-02-05  0:29   ` Sebastian Rose
  2009-02-05 13:03     ` Madhu Rao
  0 siblings, 1 reply; 9+ messages in thread
From: Sebastian Rose @ 2009-02-05  0:29 UTC (permalink / raw)
  To: Richard Riley; +Cc: Madhu Rao, emacs-orgmode

Richard Riley <rileyrgdev@googlemail.com> writes:
> On this subject, something I forgot to mention. When you publish a
> single file it does not publish it with the project style settings. It
> should do IMO. I dont publish using timestamps since many
> of my files are #include'd and so don't contribute to timestamp changes
> and thus dont get published unless I publish the entire web : hence I
> would like use publish single file sometimes rather than the time
> consuming full project publish.

Yes.

The most time consuming part is, in my case, the sitemap generation. So
it would be nice to just do that, if new files are found in the
project. Otherwise ask. I don't change the titles that often and some
people won't use the sitemap feature at all (`index-filename').




-- 
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: org-publish error..
  2009-02-04 22:37 ` Sebastian Rose
@ 2009-02-05 13:01   ` Madhu Rao
  0 siblings, 0 replies; 9+ messages in thread
From: Madhu Rao @ 2009-02-05 13:01 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: emacs-orgmode

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 <bgmrao@gmail.com> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: org-publish error..
  2009-02-05  0:29   ` Sebastian Rose
@ 2009-02-05 13:03     ` Madhu Rao
  0 siblings, 0 replies; 9+ messages in thread
From: Madhu Rao @ 2009-02-05 13:03 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: emacs-orgmode, Richard Riley

Richard, Sebastian, Thanks.
Is there anything I could do to get the current
file publishing to work?

Regards, Madhu

On 05-Feb-09, at 5:59 AM, Sebastian Rose wrote:

> Richard Riley <rileyrgdev@googlemail.com> writes:
>> On this subject, something I forgot to mention. When you publish a
>> single file it does not publish it with the project style settings.  
>> It
>> should do IMO. I dont publish using timestamps since many
>> of my files are #include'd and so don't contribute to timestamp  
>> changes
>> and thus dont get published unless I publish the entire web : hence I
>> would like use publish single file sometimes rather than the time
>> consuming full project publish.
>
> Yes.
>
> The most time consuming part is, in my case, the sitemap generation.  
> So
> it would be nice to just do that, if new files are found in the
> project. Otherwise ask. I don't change the titles that often and some
> people won't use the sitemap feature at all (`index-filename').
>
>
>
>
> -- 
> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: org-publish error..
  2009-02-04 17:22 org-publish error Madhu Rao
  2009-02-04 22:37 ` Sebastian Rose
  2009-02-04 23:27 ` Richard Riley
@ 2009-02-06  7:49 ` Carsten Dominik
  2 siblings, 0 replies; 9+ messages in thread
From: Carsten Dominik @ 2009-02-06  7:49 UTC (permalink / raw)
  To: Madhu Rao; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-02-06  8:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 17:22 org-publish error 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
  -- strict thread matches above, loose matches on Subject: below --
2006-06-21 14:04 Leon
2006-06-22 12:03 ` David O'Toole

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).