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