From mboxrd@z Thu Jan 1 00:00:00 1970 From: David O'Toole Subject: Re: org-publish error Date: Thu, 22 Jun 2006 08:03:48 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FtNui-0008T0-5c for emacs-orgmode@gnu.org; Thu, 22 Jun 2006 08:04:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FtNug-0008Qi-4y for emacs-orgmode@gnu.org; Thu, 22 Jun 2006 08:03:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtNuf-0008Pw-Cx for emacs-orgmode@gnu.org; Thu, 22 Jun 2006 08:03:57 -0400 Received: from [66.249.82.196] (helo=wx-out-0102.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FtO5d-0004e6-7f for emacs-orgmode@gnu.org; Thu, 22 Jun 2006 08:15:17 -0400 Received: by wx-out-0102.google.com with SMTP id s15so319288wxc for ; Thu, 22 Jun 2006 05:03:56 -0700 (PDT) In-Reply-To: (Leon's message of "Wed, 21 Jun 2006 15:04:15 +0100") 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: Leon Cc: emacs-orgmode@gnu.org Looking at the backtrace, I'd say the error occurs inside org.el. Carsten, perhaps you could look at this?=20 Leon 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 lo= nger 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-o= dd-levels-only) (region-p ...) (region ...) (all_lines ...) (lines ...) (le= vel 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-syste= m ...) (coding-system-for-write ...) (save-buffer-coding-system ...) (chars= et ...) table-open type table-buffer table-orig-buffer ind start-is-num ...= ) (message "Exporting...") (setq org-last-level 1) (org-init-section-number= s) (setq lang-words (or ... ...)) (if (or hidden ...) (set-buffer buffer) (= switch-to-buffer-other-window buffer)) (erase-buffer) (fundamental-mode) (l= et (... ...) (mapcar ... org-export-plist-vars) (setq umax ...) (insert ...= ) (insert ...) (when ... ... ...) (if org-export-with-toc ...) (setq head-c= ount 0) (org-init-section-numbers) (while ... ...) (when inquote ...) (when= in-local-list ... ...) (org-html-level-start 1 nil umax ... head-count) (w= hen ... ... ...) (if org-export-html-with-timestamp ...) (insert ...) (inse= rt "\n\n") (normal-mode) (goto-char ...) (while ... ...) (got= o-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 expor= t to visible part of outline tree\n\n[a] export as ASCII\n[h] export as HTM= L\n[b] export as HTML and browse immediately\n[x] export as XOXO\n\n[i] exp= ort current file as iCalendar file\n[I] export all agenda files as iCalenda= r files\n[c] export agenda files into combined iCalendar file\n\n[F] publis= h current file\n[P] publish current project\n[X] publish... (project will b= e prompted for)\n[A] publish all projects") (cmds ...) r1 r2 ass) (save-win= dow-excursion (delete-other-windows) (with-output-to-temp-buffer "*Org Expo= rt/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) > > --=20 > Leon > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=20 David O'Toole=20 dto@gnu.org http://dto.freeshell.org/notebook/