From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard G Riley Subject: Problems publishing css files Date: Tue, 05 Aug 2008 01:03:05 +0200 Message-ID: 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 1KQ95A-0003Jb-Ey for emacs-orgmode@gnu.org; Mon, 04 Aug 2008 19:03:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQ958-0003F9-9k for emacs-orgmode@gnu.org; Mon, 04 Aug 2008 19:03:15 -0400 Received: from [199.232.76.173] (port=55078 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ958-0003Ep-4H for emacs-orgmode@gnu.org; Mon, 04 Aug 2008 19:03:14 -0400 Received: from mu-out-0910.google.com ([209.85.134.190]:14167) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQ957-0003lK-4S for emacs-orgmode@gnu.org; Mon, 04 Aug 2008 19:03:13 -0400 Received: by mu-out-0910.google.com with SMTP id i2so1874380mue.6 for ; Mon, 04 Aug 2008 16:03:08 -0700 (PDT) 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: org-mode Here is my org-publish-project-alist ,---- | (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 "" | :auto-preamble t | :auto-postamble t | :preamble "
Back - Home" | :postamble "
" | :author nil | ) | ("web" | :components("web-org" "web-images" "web-css") | ) | ) | ) `---- I can org-publish both web-org and web-images with no problem. However when I try to publish web-css I get: ,---- | 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("=C3=82!=C2=88=C3=83=C3=84=C3=85 !\"=C2=87" [orig-buff act-o= n-choice icicle-try-switch-buffer error "%s" error-message-string] 4) | icicle-execute-extended-command() | call-interactively(icicle-execute-extended-command) `---- I can org-publish-current-file with no problem. (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. org : 6.06b emacs : 22.2.1 Can anyone confirm (using emacs 22) that they can publish css files without a problem? regards r. 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard G Riley Subject: Re: Problems publishing css files Date: Tue, 05 Aug 2008 14:45:43 +0200 Message-ID: References: <20080805092834.GA7632@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQLvC-0003Am-4P for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 08:45:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQLvB-00038k-1s for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 08:45:49 -0400 Received: from [199.232.76.173] (port=47178 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQLvA-00038X-MK for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 08:45:48 -0400 Received: from mu-out-0910.google.com ([209.85.134.191]:54500) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQLvA-0004My-6E for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 08:45:48 -0400 Received: by mu-out-0910.google.com with SMTP id i2so2078935mue.6 for ; Tue, 05 Aug 2008 05:45:47 -0700 (PDT) In-Reply-To: <20080805092834.GA7632@stats.ox.ac.uk> (Dan Davison's message of "Tue, 5 Aug 2008 10:28:34 +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: emacs-orgmode@gnu.org Dan Davison writes: > 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 It happens even when I do not load icicles. It also ONLY happens with CSS files afaik. If, for example, I add the CSS extension to the web-images profile below then it fails in the same way. I have a nasty feeling it is going to come down to some nasty file mode for css but nothing has become apparent yet. It does publish fine to the local machine. I can also open remote css files from emacs and write them too (this mechanism uses ssh with tramp). > 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. Yes - I did : in that I only org-publish web-css trying to find the problem. > > DAn > > > On Tue, Aug 05, 2008 at 01:03:05AM +0200, Richard G Riley wrote: >> >> >> Here is my org-publish-project-alist >> >> ,---- >> | (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=\"./style.css\" >> | type=\"text/css\">" >> | :auto-preamble t >> | :auto-postamble t >> | :preamble "
Back - Home" >> | :postamble "
" >> | :author nil >> | ) >> | ("web" >> | :components("web-org" "web-images" "web-css") >> | ) >> | ) >> | ) >> `---- >> >> I can org-publish both web-org and web-images with no problem. However >> when I try to publish web-css I get: >> >> ,---- >> | 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("??!???????? !\"??" [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) >> `---- >> >> I can org-publish-current-file with no problem. >> >> (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. >> >> org : 6.06b >> emacs : 22.2.1 >> >> Can anyone confirm (using emacs 22) that they can publish css files >> without a problem? >> >> regards >> >> r. >> >> >> >> _______________________________________________ >> 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 > > > _______________________________________________ > 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 -- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Problems publishing css files Date: Wed, 06 Aug 2008 23:50:55 -0400 Message-ID: <87skth32lc.fsf@gollum.intra.norang.ca> References: 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 1KQwWj-000293-6y for emacs-orgmode@gnu.org; Wed, 06 Aug 2008 23:51:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQwWi-00028g-Mg for emacs-orgmode@gnu.org; Wed, 06 Aug 2008 23:51:00 -0400 Received: from [199.232.76.173] (port=38638 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQwWi-00028R-Hm for emacs-orgmode@gnu.org; Wed, 06 Aug 2008 23:51:00 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:60048) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQwWi-0003sd-Cs for emacs-orgmode@gnu.org; Wed, 06 Aug 2008 23:51:00 -0400 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: Richard G Riley Cc: org-mode Richard G Riley writes: > I can org-publish both web-org and web-images with no problem. However > when I try to publish web-css I get: > > ,---- > | 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("=C3=82!=C2=88=C3=83=C3=84=C3=85 !\"=C2=87" [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) > `---- > > I can org-publish-current-file with no problem. > > (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. > > org : 6.06b > emacs : 22.2.1 > > Can anyone confirm (using emacs 22) that they can publish css files > without a problem? I'm in the process of finally setting up org-publish for some of my reference information. I'm converting another system to org and I get a similar error (but not identical) due to some of my org files that are not the correct structure. I was lazy and just renamed my original *.txt files to *.org and I haven't completed editing them to convert them to valid org files. When I try to export with the wrong format I get: ,---- | Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) | 1-(nil) | (max (point-min) (1- (previous-single-property-change ... ...))) | (get-text-property (max (point-min) (1- ...)) (quote target)) | (or (get-text-property (point) (quote target)) (get-text-property (max = ... ...) (quote target))) | (progn (or (get-text-property ... ...) (get-text-property ... ...))) | (if (and found (or ... ...)) (progn (or ... ...))) | ... `---- Maybe your problem is some other css file that the web-css project is picking up? If I load a problem file then org-publish-current-file fails with the above error. I may be completely off-base here... but it's something else to look at. -Bernt