From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Publishing problem on Worg due to babel intro Date: Fri, 19 Aug 2011 07:22:30 -0600 Message-ID: <87ei0ho39n.fsf@gmail.com> References: <8762m4104r.fsf@sbs.ch> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuQYN-0008W1-92 for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 11:00:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuQYK-0006Gz-H5 for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 11:00:11 -0400 Received: from mail-yi0-f41.google.com ([209.85.218.41]:47543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuQYK-00064t-D7 for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 11:00:08 -0400 Received: by mail-yi0-f41.google.com with SMTP id 2so2467126yib.0 for ; Fri, 19 Aug 2011 08:00:08 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org, Christian Egli tsd@tsdye.com (Thomas S. Dye) writes: > Christian Egli writes: > >> Hi all >> >> I enhanced the taskjuggler tutorial on worg. However the fix is not >> published as there is a problem with the intro page for Babel[1] (see >> also the publishing report[2]). The page also fails if I try to publish >> it locally with the following error message: >> >> mapc: Wrong type argument: consp, nil >> >> I don't understand where the problem is with this page but I'd >> appreciate if any of the authors (Eric, Dan, Tom) or anyone else could >> look into it. >> >> Thanks >> Christian >> >> Footnotes: >> [1] http://orgmode.org/worg/org-contrib/babel/intro.html >> [2] http://orgmode.org/worg/publishing.txt > > Yes, something is wrong here. > > Pressing C-c C-c on this line raises the error: > > #+call: square(x=6) > > If I change the square source block from: > > #+srcname: square(x) > #+begin_src python > return x*x > #+end_src > > to: > > #+srcname: square(x=1) > #+begin_src python > return x*x > #+end_src > > then the error goes away, but it is raised later in the export, > presumably on another code block. > When writing a code block *all* variables require a default value. I've added default values to all of the variables in this file and it now exports as expected. Cheers -- Eric > > hth, > Tom -- Eric Schulte http://cs.unm.edu/~eschulte/