From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Wrong type argument listp on export Date: Thu, 21 Jul 2011 11:04:38 -0600 Message-ID: <874o2f1qzy.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjx4V-0000kd-CU for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 13:30:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qjx4U-0004i3-5l for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 13:30:03 -0400 Received: from mail-pz0-f49.google.com ([209.85.210.49]:53016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjx4T-0004hT-TY for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 13:30:02 -0400 Received: by pzk33 with SMTP id 33so1910509pzk.8 for ; Thu, 21 Jul 2011 10:29:57 -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: Aankhen Cc: Org mailing list Aankhen writes: > Hi, > > On Wed, Jul 20, 2011 at 16:36, Dirk Scharff = wrote: >> I narrowed down my problem to the following short example: >> >> * My Test Block >> =C2=A0This is a test >> =C2=A0#+source testblock >> =C2=A0#+begin_src python :var x=3D3 :exports both :results output >> =C2=A0print x*x >> =C2=A0#+end_src >> >> executing the source-bock yields the correct result. When exporting this >> file however I get the folowing error: >> >> Wrong type argument: listp, 3 > > I can confirm this using Org-mode from git (d8bd43e). Enabling > debugging shows that the problem occurs in =E2=80=98org-babel-sha1-hash= =E2=80=99 when > it tries to run =E2=80=98copy-seq=E2=80=99 on =E2=80=98(x . 3)=E2=80=99 a= t line 759. It doesn=E2=80=99t seem > to be specific to Python=E2=80=94using =E2=80=98:var foo=3Dbar=E2=80=99 s= eems to be what > triggers it. > Thanks Dirk for pointing out this problem and thanks Aankhen for isolating the offending line in the code. I've just pushed up a fix -- Eric > > Aankhen > --=20 Eric Schulte http://cs.unm.edu/~eschulte/