From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John Wiegley" Subject: Problem with org-babel and shell scripts Date: Tue, 10 Jul 2012 12:41:53 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoeRk-0002ZF-6p for emacs-orgmode@gnu.org; Tue, 10 Jul 2012 13:42:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoeRi-0001pe-H0 for emacs-orgmode@gnu.org; Tue, 10 Jul 2012 13:41:59 -0400 Received: from mail-gg0-f169.google.com ([209.85.161.169]:38381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoeRi-0001pN-AI for emacs-orgmode@gnu.org; Tue, 10 Jul 2012 13:41:58 -0400 Received: by ggm4 with SMTP id 4so315853ggm.0 for ; Tue, 10 Jul 2012 10:41:55 -0700 (PDT) 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 I have a shell block in my todo.txt which I've been using for generating some reports for about a year. I just tried C-c C-c in that shell block today, and got the following: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (void-variable org-current-export-file) org-babel-confirm-evaluate(("sh" "..." ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "replace") (:session . "none") (:hlines . "no") (:padnewline . "yes") (:result-type . value) (:result-params "replace") (:rowname-names) (:colname-names)) "" nil 0)) org-babel-execute-src-block(nil ("sh" "..." ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "replace") (:session . "none") (:hlines . "no") (:padnewline . "yes") (:result-type . value) (:result-params "replace") (:rowname-names) (:colname-names)) "" nil 0)) org-babel-execute-src-block-maybe() org-babel-execute-maybe() org-babel-execute-safely-maybe() run-hook-with-args-until-success(org-babel-execute-safely-maybe) org-ctrl-c-ctrl-c(nil) call-interactively(org-ctrl-c-ctrl-c nil nil) --8<---------------cut here---------------end--------------->8--- I guess something changed recently? John