From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: batch exporting Date: Mon, 21 Dec 2009 09:25:08 -0500 Message-ID: <23292.1261405508@gamaville.dokosmarshall.org> References: <19518.1261336145@gamaville.dokosmarshall.org> <24751328-FAA8-44CF-896B-BC2552DB9132@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMjEI-0002W7-TA for emacs-orgmode@gnu.org; Mon, 21 Dec 2009 09:27:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMjEE-0002VC-BB for emacs-orgmode@gnu.org; Mon, 21 Dec 2009 09:27:22 -0500 Received: from [199.232.76.173] (port=39084 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMjEE-0002V7-5w for emacs-orgmode@gnu.org; Mon, 21 Dec 2009 09:27:18 -0500 Received: from vms173015pub.verizon.net ([206.46.173.15]:43376) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NMjED-0001AW-NX for emacs-orgmode@gnu.org; Mon, 21 Dec 2009 09:27:17 -0500 Received: from gamaville.dokosmarshall.org ([173.76.32.106]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KV000CJRAPYIFTX@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Mon, 21 Dec 2009 08:25:23 -0600 (CST) In-reply-to: Message from andrea of "Mon, 21 Dec 2009 08:27:54 +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: andrea Cc: emacs-orgmode@gnu.org andrea wrote: > Carsten Dominik writes: > > > On Dec 20, 2009, at 11:43 PM, andrea wrote: > > > >> Nick Dokos writes: > >> > >>> See the thread at > >>> > >>> http://thread.gmane.org/gmane.emacs.orgmode/17059 > >> > >> I also tried the scripts from that thread (but it's actually the same > >> thing), I always get the same error. > >> What could that mean: > >> > >> "converting file euler.org > >> Wrong type argument: commandp, org-export-as-html-batch" > > > > Have you tried (as the installation instructions say) > > > > (require 'org-install) > > > > ?? > > > Now it goes a bit further > > emacs --batch \ > --eval "(add-to-list 'load-path \"$HOME/.emacs.d/org-mode/lisp/\")" \ > --eval "(require 'org-install)" \ > --load=$orglib/org.el \ > --visit=$1 --funcall org-export-as-html-batch > > ip116-027:euler_project andrea$ org_html.sh euler.org > converting file euler.org > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > Exporting... > Wrong type argument: stringp, nil > > How can I have more verbose errors by the way? > Further along in the thread I pointed out to you, there is a discussion of emacs --batch implying emacs -q and how to load your .emacs file. I believe that't the problem you are having. HTH, Nick