From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar Subject: symbol's value as vatiable is void:: result-params Date: Mon, 20 Jun 2016 17:11:15 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF6Tt-0000AO-Br for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 17:11:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF6Tp-0006IU-2e for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 17:11:40 -0400 Received: from vms173023pub.verizon.net ([206.46.173.23]:53793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF6To-0006Hj-U3 for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 17:11:37 -0400 Received: from vz-proxy-m007.mx.aol.com ([64.236.83.14]) by vms173023.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O9300J5Y9ISH440@vms173023.mailsrvcs.net> for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 16:11:16 -0500 (CDT) 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" To: "emacs-orgmode@gnu.org" When I evaluate the following the above error results (this source blosk and all others that are similar evaluated successfully a few days ago) #+NAME: SCHEDAP #+begin_src rec :data foo.rec :type Finance :fields AccountDate,Description,AccountAmount :results silent (File = 'RevTrust' && AccountSchedule = 'A') #+end_src degug on error - Debugger entered--Lisp error: (void-variable result-params) (member "scalar" result-params) (or (member "scalar" result-params) (member "html" result-params) (member "code" result-params) (member "verbatim" result-params) (equal (point-min) (point-max))) (let* ((in-file ((lambda (el) (or el (error "rec code block requires :data header argument"))) (cdr (assoc :data params)))) (cmdline (cdr (assoc :cmdline params))) (rec-type (cdr (assoc :type params))) (fields (cdr (assoc :fields params))) (join (cdr (assoc :join params))) (sort (cdr (assoc :sort params))) (groupby (cdr (assoc :groupby params))) (cmd (concat "recsel" (if rec-type (progn (concat " -t " rec-type " "))) " " (expand-file-name in-file) (if (> (length (org-babel-trim body)) 0) (progn (concat " -e " "\"" (replace-regexp-in-string "\"" "\\\\\"" body) "\""))) (if join (progn (concat " -j " join " "))) (if sort (progn (concat " -S " sort " "))) (if groupby (progn (concat " -G " groupby " "))) (if fields (progn (concat " -p " fields " "))))) (do-raw (or (member "scalar" result-params) (member "html" result-params) (member "code" result-params) (member "verbatim" result-params) (equal (point-min) (point-max))))) (if do-raw nil (setq cmd (concat cmd " | rec2csv"))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (shell-command cmd (current-buffer)) (if do-raw (buffer-string) (org-table-convert-region (point-min) (point-max) (quote ...)) (let (...) (cons ... ...)))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))) org-babel-execute:rec("(File = 'RevTrust' && AccountSchedule = 'A')" ((:colname-names) (:rowname-names) (:result-params "silent") (:result-type . value) (:results . "silent") (:exports . "results") (:session . "none") (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no") (:eval . "never-export") (:data . "foo.rec") (:type . "Finance") (:fields . "AccountDate,Description,AccountAmount"))) org-babel-execute-src-block(nil nil ((:results . "silent"))) #[0 "\305\302\306\307#\203l GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Org-mode version 8.3.4 (release_8.3.4-958-gf8eb0b @ /usr/local/share/emacs/site-lisp/org-mode/lisp/)