From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert McIntyre Subject: Re: [bug] cannot execute shell code blocks Date: Tue, 19 Jul 2011 04:00:58 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636ed678120ae9a04a86784ba Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj5En-0008OR-3t for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 04:01:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qj5Ei-0005lf-L5 for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 04:01:04 -0400 Received: from mail-pz0-f43.google.com ([209.85.210.43]:39805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj5Ei-0005lY-6h for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 04:01:00 -0400 Received: by pzk1 with SMTP id 1so5169739pzk.30 for ; Tue, 19 Jul 2011 01:00:58 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001636ed678120ae9a04a86784ba Content-Type: text/plain; charset=ISO-8859-1 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 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 > --001636ed678120ae9a04a86784ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable BTW, this only fails to evaluate when :cache yes is present, as shown by th= is example

#+begin_src sh
echo " Checked out revision 7881.&= quot;
#+end_src

#+results:
: Checked out revision 7881.

#+begin_src sh :cache yes
echo " Checked out revision 7881.&quo= t;
#+end_src

gives error:
progn: Symbol's function defini= tion is void: org-babel-result-hash


sorry about the confusing me= ssage earlier.

sincerely,
--Robert McIntyre



On Tue, Jul 19, 2011 at 3:10 AM, Robert McIntyre <<= a href=3D"mailto:rlm@mit.edu">rlm@mit.edu> wrote:
I can't execute any sh code blocks for this file anymore.=A0 This has t= o be a very recently introduced problem.




#+BABEL: :expor= ts both :results verbatim :noweb yes :cache yes


* Setup

Code Execution no longer works for this file.
I get instead:
progn: S= ymbol's function definition is void: org-babel-result-hash

This = must have been a very recent change -- the results blocks are
from execu= ting these blocks in the morning.

org-version gives:
release_7.6-116-g90d7
Org-mode version 7.6 (re= lease_7.6.116.g90d7)

sincerely,
Robert McIntyre

First, I c= hecked out the source to jMonkeyEngine using the following
command:

#+begin_src sh
# svn checkout http://jmonkeyengine.googlecod= e.com/svn/trunk/engine jme3
sleep 2;
echo " Checked out revi= sion 7881."
#+end_src

#+results[41b64eeb0a6cd4c98f3d52ace4342bfde961aeab]:
:= =A0 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 SUCCESS= FUL
: Total time: 11 seconds



sincerely,
--Robert McIntyre

--001636ed678120ae9a04a86784ba--