emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aankhen <aankhen@gmail.com>
To: Dirk Scharff <dirk.scharff@googlemail.com>,
	Org mailing list <emacs-orgmode@gnu.org>
Subject: Re: Wrong type argument listp on export
Date: Thu, 21 Jul 2011 13:39:03 +0530	[thread overview]
Message-ID: <CAKXcKvfMYgnhwDoZJfjkyJEAAQzbU8NVjQHLDorieUwONcGwpA@mail.gmail.com> (raw)
In-Reply-To: <j06cs6$j0u$1@dough.gmane.org>

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.

Aankhen

  reply	other threads:[~2011-07-21  8:09 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 [this message]
2011-07-21 17:04   ` Eric Schulte
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=CAKXcKvfMYgnhwDoZJfjkyJEAAQzbU8NVjQHLDorieUwONcGwpA@mail.gmail.com \
    --to=aankhen@gmail.com \
    --cc=dirk.scharff@googlemail.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).