From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: [babel] Error when exporting a trivial org file to HTML: Wrong type argument: stringp, (results . "") Date: Thu, 29 Sep 2011 14:57:02 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9Ln6-00078a-SS for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 14:57:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9Ln5-0000P4-T4 for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 14:57:04 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:61178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9Ln5-0000P0-Qc for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 14:57:03 -0400 Received: by yxi19 with SMTP id 19so1101169yxi.0 for ; Thu, 29 Sep 2011 11:57:02 -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 Here is what's in my org file: ------------------------8<-------- #+title: My org file #+babel: :session *R-babel* :tangle yes * The problem ** The code This is going to fail on export: #+source: test_code #+BEGIN_SRC R :results output silent :exports none :var foo bar <- foo #+END_SRC Why does this fail? #+call: test_code(foo=200) #+results: test_code(foo=200) ------------------------8<-------- Simple, right? Yet, when I try to do org-export-as-html, I get: executing R code block (test_code)... result is "" "" executing Emacs-Lisp code block... (results (quote "")) Code block produced no output. org-babel-exp-code: Wrong type argument: stringp, (results . "") This happens with the latest org-mode from trunk, as well as my few-months-old version. What's going on?