From: Eric Schulte <schulte.eric@gmail.com>
To: Aankhen <aankhen@gmail.com>
Cc: Org mailing list <emacs-orgmode@gnu.org>
Subject: Re: Wrong type argument listp on export
Date: Thu, 21 Jul 2011 11:04:38 -0600 [thread overview]
Message-ID: <874o2f1qzy.fsf@gmail.com> (raw)
In-Reply-To: CAKXcKvfMYgnhwDoZJfjkyJEAAQzbU8NVjQHLDorieUwONcGwpA@mail.gmail.com
Aankhen <aankhen@gmail.com> writes:
> Hi,
>
> On Wed, Jul 20, 2011 at 16:36, Dirk Scharff <dirk.scharff@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/
next prev parent reply other threads:[~2011-07-21 17:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 11:06 Wrong type argument listp on export Dirk Scharff
2011-07-21 8:09 ` Aankhen
2011-07-21 17:04 ` Eric Schulte [this message]
2011-07-21 20:48 ` Dirk Scharff
2011-07-21 20:55 ` Nick Dokos
2011-07-21 21:02 ` Dirk Scharff
2011-07-22 1:53 ` Luke Crook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874o2f1qzy.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=aankhen@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).