[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Wrong type argument listp on export
From: |
Eric Schulte |
Subject: |
Re: [O] Wrong type argument listp on export |
Date: |
Thu, 21 Jul 2011 11:04:38 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Aankhen <address@hidden> writes:
> Hi,
>
> On Wed, Jul 20, 2011 at 16:36, Dirk Scharff <address@hidden> 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/