From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Re: Organize Your Life In Plain Text! Date: Mon, 18 May 2009 07:06:50 +0100 Message-ID: <4A10FAFA.7070502@manor-farm.org> References: <87zldovowk.fsf@gollum.intra.norang.ca> <87bppxojos.fsf@gollum.intra.norang.ca> <4D5BC81A-63F1-49E3-87BB-21000C1C115B@gmail.com> <87y6t1mz0e.fsf@gollum.intra.norang.ca> <87y6t1coa5.fsf@kassiopeya.MSHEIMNETZ> <87bppv32jf.fsf@kassiopeya.MSHEIMNETZ> <1A95CAAB-513D-4513-8A64-EC4803AB1F77@mac.com> <4A0D11B7.1040103@manor-farm.org> <4A0E6398.9080304@manor-farm.org> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5w04-0001DA-FL for emacs-orgmode@gnu.org; Mon, 18 May 2009 02:07:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5w00-0001AN-Ec for emacs-orgmode@gnu.org; Mon, 18 May 2009 02:06:57 -0400 Received: from [199.232.76.173] (port=59056 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5w00-0001A9-1B for emacs-orgmode@gnu.org; Mon, 18 May 2009 02:06:56 -0400 Received: from li40-130.members.linode.com ([72.14.178.130]:33998) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M5vzz-0003tm-9h for emacs-orgmode@gnu.org; Mon, 18 May 2009 02:06:55 -0400 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: Eric Schulte Cc: emacs-orgmode@gnu.org Hi Eric, Thanks for the help. >> It was in the rake themes:default step. I got an error message about a >> missing command, which I think was "sass". I'll uninstall surfar and >> try to get an accurate error message later today. >> > > Hi Ian, > > The issue here is that ruby couldn't find the sass executable on your > machine. I just changed the theme deployment code so that it no longer > relies on an external sass executable. Please pull the latest code from > github, run 'git submodules update' to update the blorgit themes code > and give 'rake themes:default' another try. The latest update has fixed this problem. > >> Meanwhile have another problem:) When I try to view a page I can see >> the basic navigation structure, but no style info or content. I notice >> that there is no stylesheet.css in ~/blogs and I tried copying one >> from the blorgit directory there. I do have an index.org, but it isn't >> being processed and included in the web page index. I am guessing that >> there is some problem with my Ruby installation. I have checked and I >> am definitely using V1.8. >> > > This problem is more complicated. Blorgit relies on Emacs to actually > export org-mode files to html. To do this it passes the org-mode files > to an Emacs server using the 'emacsclient' command. To allow your Emacs > instance to act as a server for blorgit you need to load the > org-interaction.el file located in the backend/acts_as_org/elisp/ > directory. I have added the following to my .emacs so that this happens > automatically. > > ;; serve up web pages for blorgit > (load "~/src/blorgit/backend/acts_as_org/elisp/org-interaction.el") I still have the same problem. I think the following log gives a clue: ian@scamper:~/devel/blorgit$ ruby blorgit.rb == Sinatra/0.9.1.1 has taken the stage on 4567 for development with backup from WEBrick [2009-05-18 07:02:36] INFO WEBrick 1.3.1 [2009-05-18 07:02:36] INFO ruby 1.8.7 (2008-08-11) [i486-linux] [2009-05-18 07:02:36] INFO WEBrick::HTTPServer#start: pid=14054 port=4567 emacsclient: invalid option -- 'v' Try `emacsclient --help' for more information 127.0.0.1 - - [18/May/2009 07:02:47] "GET /index HTTP/1.1" 200 3504 0.0816 localhost - - [18/May/2009:07:02:47 BST] "GET /index HTTP/1.1" 200 3504 http://localhost:4567/index -> /index 127.0.0.1 - - [18/May/2009 07:02:47] "GET /stylesheet.css HTTP/1.1" 200 530 0.0009 localhost - - [18/May/2009:07:02:47 BST] "GET /stylesheet.css HTTP/1.1" 200 530 http://localhost:4567/index -> /stylesheet.css Seems my emacsclient doesn't like one of the options. I am using: GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.14.1) of 2008-09-05 on vernadsky, modified by Ubuntu Ian.