emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: symbol's value as vatiable is void:: result-params
Date: Mon, 20 Jun 2016 17:11:15 -0400	[thread overview]
Message-ID: <bd55a4a6-9bc1-ea7e-699f-22c1cbf03f78@verizon.net> (raw)

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

             reply	other threads:[~2016-06-20 21:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 21:11 Charles Millar [this message]
2016-06-21 11:56 ` symbol's value as vatiable is void:: result-params Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bd55a4a6-9bc1-ea7e-699f-22c1cbf03f78@verizon.net \
    --to=millarc@verizon.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).