emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert McIntyre <rlm@mit.edu>
To: emacs-orgmode@gnu.org
Subject: Re: [bug] cannot execute shell code blocks
Date: Tue, 19 Jul 2011 04:00:58 -0400	[thread overview]
Message-ID: <CABqqNd34de58aUXCTPuMb6az7pzgcMmUbeAgyKZAWX43QdApiA@mail.gmail.com> (raw)
In-Reply-To: <CABqqNd2s3J7STva-A6j-v4VrbhC2SVeKbbhkDhkVY+AhNrDCRw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1714 bytes --]

BTW, this only fails to evaluate when :cache yes is present, as shown by
this example

#+begin_src sh
echo " Checked out revision 7881."
#+end_src

#+results:
: Checked out revision 7881.

#+begin_src sh :cache yes
echo " Checked out revision 7881."
#+end_src

gives error:
progn: Symbol's function definition is void: org-babel-result-hash


sorry about the confusing message earlier.

sincerely,
--Robert McIntyre



On Tue, Jul 19, 2011 at 3:10 AM, Robert McIntyre <rlm@mit.edu> wrote:

> I can't execute any sh code blocks for this file anymore.  This has to be a
> very recently introduced problem.
>
>
>
>
> #+BABEL: :exports both :results verbatim :noweb yes :cache yes
>
>
> * Setup
>
> Code Execution no longer works for this file.
> I get instead:
> progn: Symbol's function definition is void: org-babel-result-hash
>
> This must have been a very recent change -- the results blocks are
> from executing these blocks in the morning.
>
> org-version gives:
> release_7.6-116-g90d7
> Org-mode version 7.6 (release_7.6.116.g90d7)
>
> sincerely,
> Robert McIntyre
>
> First, I checked out the source to jMonkeyEngine using the following
> command:
>
> #+begin_src sh
> # svn checkout http://jmonkeyengine.googlecode.com/svn/trunk/engine jme3
> sleep 2;
> echo " Checked out revision 7881."
> #+end_src
>
> #+results[41b64eeb0a6cd4c98f3d52ace4342bfde961aeab]:
> :  Checked out revision 7881.
>
> Building jMonkeyEngine is easy enough:
>
> #+begin_src sh
> #cd jme3
> #ant jar | tail -n 2
> sleep 2;
> echo "BUILD SUCCESSFUL\nTotal time: 11 seconds";
> #+end_src
>
> #+results[6f2a3e338f959eebdee983364c8c621ed0e49618]:
> : BUILD SUCCESSFUL
> : Total time: 11 seconds
>
>
>
> sincerely,
> --Robert McIntyre
>

[-- Attachment #2: Type: text/html, Size: 2293 bytes --]

  reply	other threads:[~2011-07-19  8:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19  7:10 [bug] cannot execute shell code blocks Robert McIntyre
2011-07-19  8:00 ` Robert McIntyre [this message]
2011-07-19 13:27   ` Eric Schulte

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=CABqqNd34de58aUXCTPuMb6az7pzgcMmUbeAgyKZAWX43QdApiA@mail.gmail.com \
    --to=rlm@mit.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 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).