all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ista Zahn <izahn@psych.rochester.edu>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil
Date: Tue, 2 Nov 2010 12:09:17 -0400	[thread overview]
Message-ID: <AANLkTim1=ZmZ6SDTBSrTOWHNSm790iupUhGw1cvQzBvc@mail.gmail.com> (raw)

Hi,
I recently upgraded to version 7.3 (from 7.01), and discovered that
org-babel-execute-buffer no longer works, returning "Wrong type
argument: consp, nil". This behavior is exists even with the simplest
of examples, such as

#+begin_src R
2+2
#+end_src

and persists even when I reduce my .emacs file down to a bare minimum of

;;Set up org mode
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
;; Enable R, latex, lisp support
(org-babel-do-load-languages
 'org-babel-load-languages
 '((R . t)
   (latex . t)))

org-babel-execute-src_block works. If all blocks have been evaluated,
then running org-babel-execute-buffer  works (even if  a block has
changed), although it returns a message saying "Invalid function:
org-babel-map-src-blocks" (I don't know if this is related or not). In
other words, org-babel-execute-buffer works to update blocks that have
previously been evaluated, but fails when the buffer contains
unevaluated blocks.

This is with org version 7.3, and I get the same behavior using emacs
version 23.2.1 and emacs version 24.0.50.1

Any help will be appreciated.

Best,
-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org

             reply	other threads:[~2010-11-02 16:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-02 16:09 Ista Zahn [this message]
2010-11-08 13:35 ` Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil Konrad Hinsen
2010-11-08 13:49   ` Eric Schulte
2010-11-08 13:58     ` Konrad Hinsen
2010-11-08 14:21       ` Eric S Fraga
2010-11-08 14:45       ` Nick Dokos
2010-11-08 14:53         ` Konrad Hinsen
2010-11-14 19:13         ` David Maus
2010-11-18  0:07           ` Eric Schulte
2010-11-18 18:58             ` Konrad Hinsen
2010-11-19  7:46             ` Nick Dokos
2010-11-19  8:19               ` Eric Schulte
2010-11-19  8:48                 ` Konrad Hinsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTim1=ZmZ6SDTBSrTOWHNSm790iupUhGw1cvQzBvc@mail.gmail.com' \
    --to=izahn@psych.rochester.edu \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.