emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] cannot execute shell code blocks
@ 2011-07-19  7:10 Robert McIntyre
  2011-07-19  8:00 ` Robert McIntyre
  0 siblings, 1 reply; 3+ messages in thread
From: Robert McIntyre @ 2011-07-19  7:10 UTC (permalink / raw)
  To: emacs-orgmode

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

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: 1400 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bug] cannot execute shell code blocks
  2011-07-19  7:10 [bug] cannot execute shell code blocks Robert McIntyre
@ 2011-07-19  8:00 ` Robert McIntyre
  2011-07-19 13:27   ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: Robert McIntyre @ 2011-07-19  8:00 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bug] cannot execute shell code blocks
  2011-07-19  8:00 ` Robert McIntyre
@ 2011-07-19 13:27   ` Eric Schulte
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Schulte @ 2011-07-19 13:27 UTC (permalink / raw)
  To: Robert McIntyre; +Cc: emacs-orgmode

Robert McIntyre <rlm@mit.edu> writes:

> 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
>

I introduced this problem when I pushed up the fix for your previous
cache related bug report.  I've just pushed up a fix for this new issue.

Please let me know if you experience any continued problems.

Thanks -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-19 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-19  7:10 [bug] cannot execute shell code blocks Robert McIntyre
2011-07-19  8:00 ` Robert McIntyre
2011-07-19 13:27   ` Eric Schulte

Code repositories for project(s) associated with this 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).