Hey nick, My Emacs is GNU Emacs 23.1.90.1 (i386-mingw-nt5.1.2600). Org: Org-mode version 6.34c. I just start a new org file, say, PHY.org, type very simple words, then tried M-x org-publish-current-file. The *backtrace* tells: -------- Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-name-as-directory(nil) (let* ((project-plist ...) (base-dir ...) (include-list ...) (recurse ...) (extension ...) (match ...)) (setq org-publish-temp-files nil) (org-publish-get-base-files-1 base-dir recurse match exclude-regexp exclude-regexp) (mapc (lambda ... ...) include-list) org-publish-temp-files) org-publish-get-base-files(("options" :section-numbers nil :table-of-contents nil :style "") nil) (and p (org-publish-get-base-files p exclude)) (let* ((exclude ...) (files ...)) (mapc (lambda ... ...) files)) (lambda (p) (let* (... ...) (mapc ... files)))(("options" :section-numbers nil :table-of-contents nil :style "")) mapc((lambda (p) (let* (... ...) (mapc ... files))) (("org-notes" :base-directory "~/.emacs.d/org/org/" :base-extension "org" :recursive t :publishing-function org-publish-org-to-html :publishing-directory "~/.emacs.d/org/public_html/" :headline-levels 4 :footnotes t :language "utf-8" :auto-index t :index-filename "index.org" :index-title "LooChao's Homepage" :auto-preamble t :auto-postamble t :postamble "
\n\n\n\n\n\n\n
EmacsOrgPrinceton
\n
" :style " \n \n ") ("org-static" :base-directory "~/.emacs.d/org/org/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/.emacs.d/org/public_html/" :recursive t :publishing-function org-publish-attachment) ("options" :section-numbers nil :table-of-contents nil :style ""))) (let (all-files) (mapc (lambda ... ...) (org-publish-expand-projects projects-alist)) all-files) org-publish-get-files((("org-notes" :base-directory "~/.emacs.d/org/org/" :base-extension "org" :recursive t :publishing-function org-publish-org-to-html :publishing-directory "~/.emacs.d/org/public_html/" :headline-levels 4 :footnotes t :language "utf-8" :auto-index t :index-filename "index.org" :index-title "LooChao's Homepage" :auto-preamble t :auto-postamble t :postamble "
\n\n\n\n\n\n\n
EmacsOrgPrinceton
\n
" :style " \n \n ") ("org-static" :base-directory "~/.emacs.d/org/org/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/.emacs.d/org/public_html/" :recursive t :publishing-function org-publish-attachment) ("org" :components ("org-notes" "org-static")) ("options" :section-numbers nil :table-of-contents nil :style ""))) (setq org-publish-files-alist (org-publish-get-files org-publish-project-alist)) (progn (setq org-publish-files-alist (org-publish-get-files org-publish-project-alist))) (if (or refresh (not org-publish-files-alist)) (progn (setq org-publish-files-alist ...))) (when (or refresh (not org-publish-files-alist)) (setq org-publish-files-alist (org-publish-get-files org-publish-project-alist))) org-publish-initialize-files-alist() org-publish-current-file(nil) call-interactively(org-publish-current-file t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) ---------------------- Anything else I could do? Thanks a lot, Chao On Tue, Feb 2, 2010 at 5:36 PM, Nick Dokos wrote: > Chao Lu wrote: > > > > Today I was trying to publish a single org file using > > org-publish-current-file, however, org refused to do so, the error > message > > is > > > > ==== > > let*: Wrong type argument: stringp, nil > > ==== > > > > I believe the org-publish function work well, for I could get the > > pre-defined project published smoothly. So do anyone has met similar > > problem? > > > > Please set debug-on-error to t and after recreating the error, post the > resulting backtrace. See the "Feedback" section of the Org manual for more > details on how to report problems. > > HTH, > Nick >