emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Charles Millar <millarc@verizon.net>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: symbol's value as vatiable is void:: result-params
Date: Tue, 21 Jun 2016 13:56:37 +0200	[thread overview]
Message-ID: <87y45yah6y.fsf@saiph.selenimh> (raw)
In-Reply-To: <bd55a4a6-9bc1-ea7e-699f-22c1cbf03f78@verizon.net> (Charles Millar's message of "Mon, 20 Jun 2016 17:11:15 -0400")

Hello,

Charles Millar <millarc@verizon.net> writes:

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

This is a bug in "ob-rec.el" from Recutils package. 

I switched Babel evaluation (ob-core.el) to lexical binding recently,
and "ob-rec.el" still uses dynamic binding (probably unwillingly in that
case) for `result-params'.

A trivial fix could be to add the binding 

  (result-params (cdr (assq :result-params params)))

in `org-babel-execute:rec'.

Since ob-rec.el is not included in Org per se, I cannot do much more
here. I suggest to report it upstream.

Thank you.


Regards,

-- 
Nicolas Goaziou

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

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

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=87y45yah6y.fsf@saiph.selenimh \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=millarc@verizon.net \
    /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).