From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Problems publishing css files Date: Tue, 5 Aug 2008 10:28:34 +0100 Message-ID: <20080805092834.GA7632@stats.ox.ac.uk> 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 1KQIqP-0006Xe-2t for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 05:28:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQIqN-0006VG-5N for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 05:28:40 -0400 Received: from [199.232.76.173] (port=37156 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQIqM-0006Uv-SR for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 05:28:38 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:42390) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQIqM-00057f-Dd for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 05:28:38 -0400 Received: from blackcap.stats.ox.ac.uk (blackcap.stats [163.1.210.5]) by markov.stats.ox.ac.uk (8.13.6/8.13.6) with ESMTP id m759Sawv004046 for ; Tue, 5 Aug 2008 10:28:36 +0100 (BST) Content-Disposition: inline In-Reply-To: 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: emacs-orgmode@gnu.org Hi Richard, I couldn't see anything wrong with your alist, and I tried it out on my system (with altered, local, directory names) and org-publish web-css copied a css file to the publishing directory with no problems. I haven't had any problems with org-publish-attachment on any type of file. Is it definitely not to do with icicles? Happens with local publishing directory as well as ssh? I'm sure this is obvious to you, but I guess the thing to do is make that project-alist simpler and simpler until it works and hopefully that'll reveal the problem. DAn On Tue, Aug 05, 2008 at 01:03:05AM +0200, Richard G Riley wrote: >=20 >=20 > Here is my org-publish-project-alist >=20 > ,---- > | (setq org-publish-project-alist > | '( > | ("web-css" > | :base-directory "~/webs/rr/" > | :publishing-directory "/ssh:rr@rr.net:/home/rr/webs/rr/" > | :base-extension "css" > | :publishing-function org-publish-attachment > | :recursive t > | ) > | ("web-images" > | :base-directory "~/webs/rr/" > | :publishing-directory "/ssh:rr@rr.net:/home/rr/webs/rr/" > | :base-extension "gif\\|jpg\\|png" > | :publishing-function org-publish-attachment > | :recursive t > | ) > | ("web-org" > | :base-directory "~/webs/rr/" > | :publishing-directory "/ssh:rr@rr.net:/home/rr/webs/rr/" > | :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 "
Back - Home" > | :postamble "
" > | :author nil > | ) > | ("web" > | :components("web-org" "web-images" "web-css") > | ) > | ) > | ) > `---- >=20 > I can org-publish both web-org and web-images with no problem. However > when I try to publish web-css I get: >=20 > ,---- > | Debugger entered--Lisp error: (error "Wrong type argument: arrayp, nil") > | signal(error ("Wrong type argument: arrayp, nil")) > | error("%s" "Wrong type argument: arrayp, nil") > | byte-code("??=08!???????? !\"??" [orig-buff act-on-choice icicle-try-= switch-buffer error "%s" error-message-string] 4) > | icicle-execute-extended-command() > | call-interactively(icicle-execute-extended-command) > `---- >=20 > I can org-publish-current-file with no problem. >=20 > (I have tried it without icicles loaded too). It is only css files (in > this instance) causing this. Any suggestions on how to debug this? What > could it be? I have tried without nxhtml loaded too and have ensured the > only css mode I have in the one that comes with emacs 22. >=20 > org : 6.06b > emacs : 22.2.1 >=20 > Can anyone confirm (using emacs 22) that they can publish css files > without a problem? >=20 > regards >=20 > r. >=20 >=20 >=20 > _______________________________________________ > 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