From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: Re: publish not working in git version Date: Tue, 02 Dec 2008 18:17:11 +0100 Message-ID: <49356dc7.1438560a.187d.ffffa3f1@mx.google.com> References: <4932c543.170e660a.26c3.ffff87fa@mx.google.com> <878wqybo5b.fsf@gollum.intra.norang.ca> <49356349.0437560a.18b1.ffffc64d@mx.google.com> <09E83650-D2E2-433F-8543-8237F89C34D1@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7Z2b-00026u-OR for emacs-orgmode@gnu.org; Tue, 02 Dec 2008 12:28:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7Z2b-00026W-0H for emacs-orgmode@gnu.org; Tue, 02 Dec 2008 12:28:05 -0500 Received: from [199.232.76.173] (port=35971 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7Z2a-00026O-PT for emacs-orgmode@gnu.org; Tue, 02 Dec 2008 12:28:04 -0500 Received: from fg-out-1718.google.com ([72.14.220.156]:42976) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7Z2a-0005ij-1E for emacs-orgmode@gnu.org; Tue, 02 Dec 2008 12:28:04 -0500 Received: by fg-out-1718.google.com with SMTP id l26so2374563fgb.30 for ; Tue, 02 Dec 2008 09:28:03 -0800 (PST) In-Reply-To: <09E83650-D2E2-433F-8543-8237F89C34D1@uva.nl> (Carsten Dominik's message of "Tue, 2 Dec 2008 17:56:27 +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: Carsten Dominik Cc: Bernt Hansen , org-mode , Richard Riley Carsten Dominik writes: > Hi Richard, the new backtrace shows that your project does not define > a base directory. I'll take a look, but this is very strange since it works fine with the release version. Its only the git version it falls over on. Thanks, r. > > - Carsten > > On Dec 2, 2008, at 5:32 PM, Richard Riley wrote: > >> >> Bernt Hansen writes: >> >>> Carsten Dominik writes: >>> >>>> Anyone else having trouble with publishing recently? >>> >>> Publishing seems to work for me. >>> >> >> Hi Carsten, >> >> Still the same. I removed the elc from org code as you requested. >> >> Latest git, following a publish file "C-c C-e f": >> >> ,---- >> | 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-=20 >> 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("/home/shamrock/webs/richardriley/index.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-=20 >> 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-=20 >> interactively ...))) >> | org-export(nil) >> | call-interactively(org-export nil nil) >> | recursive-edit() >> | byte-code("=C3=86=10 @=C3=87=3D=C6=92!=C3=88=C3=89=C3=8A\"=CB=86=C3= =8B=C3=89!=E2=80=B0=1AA@)=C2=A2=C3=8C=3D=C6=92!=C3=88=C3=8D=C3=8A\"=CB=86= =C3=8E=0B!=CB=86=C3=8F =CB=86=C3=90 !=CB=86\f=C6=92d=C3=91ed\" >> V=C6=92Web=CB=86=C3=92 >> =C2=A5y=CB=86`=1E=1Bdb=CB=86=C3=92 >> =C2=A5 >> Zy=CB=86=0E=1B`|=CB=86)=C3=93c=CB=86eb=CB=86=C3=94=C3=95=C3=96 \"=CB=86= =C3=97=C3=86!=CB=86=C3=94=C3=98!=CB=86=C3=99=C3=8A=1E=1C=1E=1D=C3=94=C3=98!= =CB=86=C5=A0=C3=9A =CB=86+=C3=99=E2=80=A1" >> [unread-command- >> char debugger-args x debugger-buffer noninteractive debugger-batch- >> max-lines -1 debug backtrace-debug 4 t backtrace-frame lambda 5 pop- >> to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" >> message "%s" buffer-string kill-emacs "" nil recursive-edit >> middlestart buffer-read-only standard-output] 4) >> | debug(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-=20 >> 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("/home/shamrock/webs/richardriley/index.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-=20 >> 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-=20 >> interactively ...))) >> | org-export(nil) >> | call-interactively(org-export nil nil) >> `---- >> >> >> My project lists are: >> >> ,---- >> | (setq org-publish-project-alist >> | `( >> | ("web-extra" >> | :base-directory ,rgr-source >> | :publishing-directory ,rgr-publish >> | :base-extension "gif\\|jpg\\|jpeg\\|png\\|css" >> | :publishing-function org-publish-attachment >> | :recursive t >> | ) >> | ("web-org" >> | :base-directory ,rgr-source >> | :publishing-directory ,rgr-publish >> | :base-extension "org" >> | :publishing-function org-publish-org-to-html >> | :recursive t >> | :section-numbers nil >> | :style "> | href=3D\"./style.css\" >> | type=3D\"text/css\">" >> | :auto-preamble t >> | :auto-postamble t >> | :preamble ,(format "
Back >> -=20 >> Home" rgr-home) >> | :postamble "
" >> | :author nil >> | ) >> | ("web" >> | :components("web-org" "web-extra") >> | ) >> | ) >> | ) >> | >> `---- >> >> And as I say, the latest official release works fine. >> >> regards >> >> Richard. --=20 important and urgent problems of the technology of today are no longer the= satisfactions of the primary needs or of archetypal wishes, but the repara= tion of the evils and damages by the technology of yesterday. ~Dennis Gabo= r, Innovations: Scientific, Technological and Social, 1970