Aankhen <aank...@gmail.com> writes: > Hi, > > On Wed, Jul 20, 2011 at 16:36, Dirk Scharff <dirk.scha...@googlemail.com> > wrote: >> I narrowed down my problem to the following short example: >> >> * My Test Block >> This is a test >> #+source testblock >> #+begin_src python :var x=3 :exports both :results output >> print x*x >> #+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 ‘org-babel-sha1-hash’ when > it tries to run ‘copy-seq’ on ‘(x . 3)’ at line 759. It doesn’t seem > to be specific to Python—using ‘:var foo=bar’ seems 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 > -- Eric Schulte http://cs.unm.edu/~eschulte/