emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David O'Toole <dto@gnu.org>
To: Leon <sdl.web@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-publish error
Date: Thu, 22 Jun 2006 08:03:48 -0400	[thread overview]
Message-ID: <m3r71h4ct7.fsf@gnu.org> (raw)
In-Reply-To: <m2ac86fvvk.fsf@sl392.st-edmunds.cam.ac.uk> (Leon's message of "Wed, 21 Jun 2006 15:04:15 +0100")


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/

  reply	other threads:[~2006-06-22 12:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-21 14:04 Leon
2006-06-22 12:03 ` David O'Toole [this message]
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

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=m3r71h4ct7.fsf@gnu.org \
    --to=dto@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdl.web@gmail.com \
    --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).